# Pensyve [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/major7apps/pensyve  
**GitHub Stars:** 101  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pensyve

## Description
Universal memory runtime for AI agents — episodic, semantic, and procedural memory.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "pensyve": {
    "command": "uvx",
    "args": ["pensyve"],
    "env": {
      "PENSYVE_NAMESPACE": ""
    }
  }
}
```

**Requires environment variables:** `PENSYVE_NAMESPACE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/pensyve/readme_

