Pensyve logo

Pensyve

Persistent local memory for AI agents, exposed through MCP tools for storing and retrieving facts, episodes, observations, and outcomes.

Install Pensyve

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "pensyve": {
      "command": "uvx",
      "args": [
        "pensyve"
      ],
      "env": {
        "PENSYVE_NAMESPACE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env PENSYVE_NAMESPACE=YOUR_VALUE_HERE --transport stdio pensyve -- uvx pensyve

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx pensyve

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Pensyve MCP server gives AI clients persistent memory backed by a local SQLite-based engine. Pensyve exposes tools for remembering facts, recalling relevant memories, recording observations, and inspecting stored data across sessions. It runs as a Rust stdio MCP server without an account or API key, using local embedding models for meaning-based search. Reach for it when an agent needs memory that survives separate processes or conversations.

Use cases

  • Store user preferences across agent sessions
  • Recall project facts while assisting with development
  • Record conversations and action outcomes
  • Separate memories by project or agent namespace

Key features

  • Local SQLite-backed persistent memory
  • MCP tools for remembering, recalling, observing, and inspecting
  • Embedding-based and relationship-aware retrieval
  • Entity-scoped facts and conversations
  • Optional HTTP gateway with REST and MCP access

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/26 checks healthy over the last 84d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · pensyve (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars101Stargazers on the source repository.
Last commit2d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How Pensyve works

What Pensyve MCP server does

Pensyve MCP server adds persistent memory tools to MCP-compatible AI clients. It can retain facts about users or projects, conversation episodes, observations, and action outcomes, then retrieve related records in later sessions. The stored memory remains outside the language model; an application or client asks Pensyve to save records and adds recalled results to a later prompt.

The memory model covers three commonly useful categories: semantic facts, episodic conversations, and procedural action outcomes. Observations are stored as a separate record type. Recording a conversation does not automatically convert it into a successful procedure, so the client or application remains responsible for deciding what to record and when to retrieve it.

How it works

The local MCP server uses the Rust engine and SQLite for storage. Text search, local embeddings, and entity relationships support recall by meaning and context. Reusing the same storage path and namespace allows multiple processes and later sessions to access the same memories.

Embedding models may download the first time they are loaded. Offline deployment therefore requires preparing the model files in advance. The server does not train the language model or modify its weights when it saves memory.

Pensyve can also run behind an HTTP gateway. That gateway exposes REST and MCP-over-HTTP access and can use SQLite or PostgreSQL, while TypeScript and Go SDKs connect through it. The local MCP setup is the simpler option for a client that only needs machine-local memory.

Setup and configuration

Build and install the MCP binary from the repository with Rust 1.94 or newer:

bash
git clone https://github.com/major7apps/pensyve.git
cd pensyve
cargo install --path pensyve-mcp --locked

Add a stdio MCP entry using pensyve-mcp as the command and --stdio as its argument. PENSYVE_NAMESPACE selects the namespace used by the client, such as a project-specific memory space. The binary must be available on the client’s PATH.

A local deployment does not need a Pensyve account or API key. For shared access, run the gateway and configure its API key, HTTPS, and allowed hosts according to the deployment requirements. The gateway’s MCP endpoint is /mcp.

Tools and capabilities

The MCP interface includes tools such as:

  • pensyve_remember for saving facts or other memory records.
  • pensyve_recall for finding relevant stored memories.
  • pensyve_observe for recording observations.
  • pensyve_inspect for examining memory data.

Memory records can be associated with named entities, including users and projects. Recall supports text matching, embeddings, and entity relationships. The wider Pensyve project also provides Python, TypeScript, and Go interfaces, a command-line tool, and REST access; the TypeScript and Go clients require a running gateway.

Limitations and notes

Pensyve is in maintenance mode, with releases focused on security fixes and dependency updates rather than new features. The local server stores data on the machine where it runs, while shared deployments require operating and securing the HTTP gateway. Embedding models must be cached or prepared before use in an environment without network access.

The MCP client determines the location of its configuration file. Claude Code, Cursor, and Codex have documented integration paths, and other MCP-compatible clients can use the stdio transport when configured for it.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pensyve

Pensyve is an MCP server that connects AI clients to a local persistent memory engine. Its main tools, including pensyve_remember, pensyve_recall, pensyve_observe, and pensyve_inspect, store and retrieve facts, conversations, observations, and action outcomes across sessions without requiring an API key.

Install it from the repository with Rust 1.94 or newer using cargo install --path pensyve-mcp --locked. Put Cargo’s binary directory on your PATH, then configure an MCP stdio server with pensyve-mcp and the --stdio argument.

Yes, Pensyve has a Cursor MCP setup path. Install the Rust binary, make pensyve-mcp available on PATH, and add a stdio server configuration; set PENSYVE_NAMESPACE to choose the memory namespace.

No, the local MCP server works without an account or API key. API key configuration applies when using the optional HTTP gateway, whose clients send a bearer token to the gateway.

Yes, provided the embedding model files have been prepared or cached first. Embedding models can download when initially loaded, so an offline deployment must complete model setup before the server is used.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPensyve AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pensyve?style=directory)](https://allmcps.com/mcp/pensyve)
HTML Embed
<a href="https://allmcps.com/mcp/pensyve"><img src="https://allmcps.com/api/badge/pensyve?style=directory" alt="Pensyve on AllMCPs" /></a>