# MemoryPilot

> MemoryPilot is an MCP server for knowledge and memory. Local long-term memory for coding agents: hybrid search, knowledge graph, one binary. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** macOS, Windows, Linux, CLI
- **Repository:** https://github.com/soflutionltd/memorypilot
- **MCP Registry name:** com.soflution/memorypilot
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

MemoryPilot is a single Rust binary that gives agents memory between sessions, stored locally. Recall blends keyword and embedding search with a cross-encoder rerank, covers over 100 languages and is backed by a temporal knowledge graph. New memories are auto-classified for importance, kind and expiry, and the database compacts itself.

The README reports retrieval results on LongMemEval-S: 99.1 percent R@5 with adaptive rerank at about 900 ms a query, or 98.7 percent without rerank at about 28 ms. It cautions that this is a session-level retrieval metric, not answer accuracy, that figures are self-published and that end-to-end QA has not been measured. A French benchmark with 109 memories reached 100 percent R@5 with the default reranker.

There is a one-line install for Cursor, Claude Desktop, VS Code, Windsurf, Claude Code, Codex and ChatGPT, plus an HTTP API, memory capsules and compression meant to cut context tokens 5 to 10 times.

## Features

- **Hybrid recall:** Keyword plus embedding search with optional rerank.
- **Temporal knowledge graph:** Links memories over time and enables graph retrieval.
- **Auto-classification:** Sets importance, kind and expiry on insert.
- **Self-compacting store:** Database maintains itself.
- **Memory capsules:** Compressed context loads to save tokens.
- **Single binary:** No runtime dependencies and no API calls.

## Good for

- Let a coding assistant recall decisions from earlier sessions
- Keep per-project knowledge
- Search memories in French or other languages
- Reduce tokens when loading past context
- Share memory across several AI clients

## Install

### Claude Code (Terminal)

```sh
claude mcp add memorypilot -- npx -y https://github.com/Soflutionltd/MemoryPilot/releases/download/v4.13.0/memorypilot.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "memorypilot": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Soflutionltd/MemoryPilot/releases/download/v4.13.0/memorypilot.mcpb"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "memorypilot": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Soflutionltd/MemoryPilot/releases/download/v4.13.0/memorypilot.mcpb"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "memorypilot": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Soflutionltd/MemoryPilot/releases/download/v4.13.0/memorypilot.mcpb"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "memorypilot": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Soflutionltd/MemoryPilot/releases/download/v4.13.0/memorypilot.mcpb"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "memorypilot": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Soflutionltd/MemoryPilot/releases/download/v4.13.0/memorypilot.mcpb"
      ]
    }
  }
}
```

## FAQ

### Does it send data to an API?

The README lists zero API calls and a single local binary.

### How good is retrieval?

Self-reported LongMemEval-S R@5 is 99.1 percent with adaptive rerank, a retrieval metric not answer accuracy.

### How fast is it?

About 28 ms per query with rerank off and about 900 ms with the default adaptive rerank.

### Which clients are supported?

Cursor, Claude Desktop, VS Code, Windsurf, Claude Code, Codex and ChatGPT.

### How do I add MemoryPilot to Claude Code?

Run this command in your terminal: claude mcp add memorypilot -- npx -y https://github.com/Soflutionltd/MemoryPilot/releases/download/v4.13.0/memorypilot.mcpb

### What are the best alternatives to MemoryPilot?

The closest alternatives to MemoryPilot are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/memorypilot
