← Back to directory
P

Pensyve

Community
Persistent memory for AI agents.
Category
Other #133 of 678
Stars
★ 101 Popular
Transport
stdio (local process)
Runtime
Rust 1.94+ · Docker
Credentials
No credential needed
License
Apache-2.0
Last commit
Tools
10
58FMRS · C

Based on the supplied repository description and server manifest, Pensyve is a local-first persistent memory MCP server with tools for storing, hybrid-searching, tracking episodes, inspecting, and deleting memories. The Apache-2.0 project is in maintenance mode. The manifest specifies stdio transport and a Docker OCI package; the README documents MCP use with Claude Code, Cursor, and Codex.

Strongest · Documentation 13/20 Weakest · Reliability 9/20

Reliability
9/20
Security and permissions
12/20
Maintenance
12/20
Documentation
13/20
Setup experience
12/20
Why each score
Reliability 9/20
The README and manifest describe local storage, stdio transport, and memory read/write tools, making the basic path plausible. The supplied material contains no verifiable CI workflow or tests covering key server paths; error handling, dependency failures, and tool parameter details are also limited, so the initialization handshake and tool behavior cannot be confirmed.
Security and permissions 12/20
The material says local use needs no account or API key and stores data in local SQLite or a Docker volume; the gateway example uses a sample key and points to HTTPS, allowed-host, and security guidance. The manifest includes tools to delete all memories for an entity and to delete one by ID, but does not describe confirmation, permission boundaries, or data flows, which warrants deductions. No evidence provided triggers a red line.
Maintenance 12/20
The project is listed as unarchived, uses Apache-2.0, and says it is in maintenance mode with security fixes and dependency updates planned; it also provides a maintenance policy and private vulnerability reporting channel. Cloud has closed and no new features are planned, and the material gives no specific release cadence or issue-response record, so a high score is not justified.
Documentation 13/20
The README provides layered entry points for Python, MCP, the gateway, SDKs, and integrations. It discloses that local models may download on first load, that offline use requires preparing model files, and that gateway deployments need authentication and HTTPS considerations. The manifest and README omit complete MCP tool parameters, error cases, data-retention details, and deletion-confirmation behavior, so points are deducted.
Setup experience 12/20
The README gives Rust MCP server installation commands, a stdio client configuration example, and a namespace environment variable; the manifest also supplies a Docker image and volume argument. The path is fairly clear, but it requires a relatively recent Rust toolchain or Cargo setup, and the supplied material shows no cross-platform verification or verifiable server test evidence.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the networkConnects to a database

Best for

  • AI agent integrations that need persistent local memory and let the application decide what to record and retrieve.
  • Users who want memory data stored in local SQLite storage.

Not for

  • Projects that require new features or active development support; the project is in maintenance mode with no new features planned.
  • Users expecting conversation records to automatically become successful procedures or train a model; saving memory does not train the model, and recording a conversation does not automatically create a successful procedure.

Required permissions

  • Needs read and write access to the local memory storage path or configured Docker volume.
  • Embedding model files may be downloaded on first load; offline use requires preparing the model files in advance.
  • The Docker package requires access to the configured Docker volume.

Risks and side effects

  • Facts, conversations, observations, and action outcomes stored locally may be retrieved in later sessions; choose carefully what to record.
  • pensyve_forget deletes all memories for an entity, while pensyve_forget_memory deletes the memory with the specified ID.
  • Embedding models may download on first load; semantic search may not work offline unless model files were prepared in advance.

Setup

Before you start

Runtime:Rust 1.94+ · Docker

PENSYVE_API_KEYS optionalsecret Sets API keys for the HTTP gateway; choose your own key for a deployment.
Other optional settings (2)
PENSYVE_NAMESPACE optional Sets the Pensyve namespace to use; the client configuration example uses my-project.
HOST optional Sets the HTTP gateway's listening host; the documentation example uses 127.0.0.1.

From a checkout of the repository, install Rust 1.94 or newer and run cargo install --path pensyve-mcp --locked. Ensure Cargo's binary directory is on the client's PATH, then add the stdio server configuration in install_config to the client's MCP configuration. PENSYVE_NAMESPACE sets the namespace. The server manifest also provides a Docker OCI package configuration that mounts a Docker volume at /home/pensyve/data.

.mcp.json
{
  "mcpServers": {
    "pensyve": {
      "command": "pensyve-mcp",
      "args": [
        "--stdio"
      ],
      "env": {
        "PENSYVE_NAMESPACE": "my-project"
      }
    }
  }
}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "pensyve": {
      "command": "pensyve-mcp",
      "args": [
        "--stdio"
      ],
      "env": {
        "PENSYVE_NAMESPACE": "my-project"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.pensyve]
command = "pensyve-mcp"
args = ["--stdio"]

[mcp_servers.pensyve.env]
PENSYVE_NAMESPACE = "my-project"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add pensyve -e PENSYVE_NAMESPACE=my-project -- pensyve-mcp --stdio

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After connecting, confirm that pensyve_recall and pensyve_remember appear in the client's tool list. Call pensyve_status to check namespace information, memory counts, and connection health.

Troubleshooting

  1. Check that Rust 1.94 or newer is installed and pensyve-mcp is available.
  2. Confirm Cargo's binary directory is on the client PATH and the MCP configuration uses command `pensyve-mcp` with argument `--stdio`.
  3. Check that PENSYVE_NAMESPACE is set as intended and that the local storage path or Docker volume is writable.
  4. For offline issues, confirm the embedding model files were prepared in advance; use pensyve_status to check namespace, memory counts, and connection health.

Things to try

Once connected, you can ask your AI assistant things like:

  • Remember that this project uses Rust and prefers concise commit messages.
  • Find memories about this project's tech stack.
  • List the memories stored for this project.
  • Check the memory store status.

Tools 10

pensyve_recall read-only
Search memories with hybrid semantic and BM25 fusion using RRF ranking.
pensyve_remember writes
Store a fact about a named entity as semantic memory.
pensyve_observe writes
Record an observation within an active episode.
pensyve_episode_start writes
Begin tracking an interaction episode with named participants.
pensyve_episode_end writes
Close an episode and extract memories.
pensyve_forget destructive
Delete all memories for an entity.
pensyve_forget_memory destructive
Delete one memory by its exact ID.
pensyve_inspect read-only
List all memories stored for an entity.
Show 2 more tools
pensyve_status read-only
Show namespace information, memory counts, and connection health.
pensyve_account read-only
Show account mode information (local or operator-managed).

Use cases

Save and retrieve facts about named entities across sessions.
Record interaction episodes, observations, and action outcomes for later retrieval.
Search locally stored memories using hybrid semantic and text retrieval.

Supported clients

Claude Code
Cursor
Codex

Listed from the project's documentation, not tested by this site.

Overview

Pensyve is an open-source local memory runtime that exposes an MCP stdio server for AI agents to save and retrieve facts, conversations, observations, and action outcomes across sessions. Its Rust engine uses SQLite for local storage and runs embedding models locally for semantic search. It is licensed under Apache-2.0 and is in maintenance mode, with planned releases limited to security fixes and dependency updates.

Similar servers

Source revision 52a318cabcbe Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/pensyve.svg)](https://followmcp.com/en/servers/pensyve)