recall-mcp
Persistent memory MCP server for AI coding agents. Stores, searches, and retrieves context across sessions using SQLite and FTS5.
README
Recall ☁️
Persistent memory MCP server for AI coding agents.
Store, search, and retrieve context across sessions. Built on SQLite + FTS5.
Works with Claude Code, Cursor, GitHub Copilot, Gemini CLI, and any MCP-compatible agent.
Why?
AI coding agents are stateless. Every new session starts from zero. You re-explain your architecture, re-discover patterns, re-learn the same conventions.
Recall gives your agent a memory that persists. Store decisions, patterns, bug fixes, architecture notes — anything worth remembering. Next session, search and retrieve instantly.
Install
npm install -g recall-mcp
Or use directly with npx:
npx recall-mcp
Configure
Claude Code
Add to your .claude/settings.json:
{
"mcpServers": {
"recall": {
"command": "npx",
"args": ["recall-mcp"]
}
}
}
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"recall": {
"command": "npx",
"args": ["recall-mcp"]
}
}
}
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"recall": {
"command": "npx",
"args": ["recall-mcp"]
}
}
}
Tools
recall_store
Store or update a memory. If a memory with the same key exists, it gets updated.
key: "project.auth.decision"
content: "Using JWT with RS256. Public key rotated weekly via /keys endpoint."
tags: ["decision", "architecture", "auth"]
scope: "my-project"
recall_get
Retrieve a specific memory by key.
key: "project.auth.decision"
scope: "my-project" // optional
recall_search
Full-text search across all memories. Returns ranked results.
query: "authentication pattern"
limit: 10
scope: "my-project" // optional
recall_list
List recent memories, optionally filtered by scope.
scope: "my-project" // optional
limit: 20
recall_delete
Delete a memory by key.
key: "project.auth.decision"
scope: "my-project" // optional
recall_stats
Show memory statistics — total count, breakdown by scope.
How It Works
- Storage: SQLite with WAL mode. All data stored locally in
~/.recall/recall.db. - Search: FTS5 full-text search with automatic ranking. Fast even with thousands of memories.
- Scoping: Memories are scoped to
globalby default. Use project-specific scopes to keep project context separate. - Auto-indexing: Every store/update/delete automatically syncs the FTS index via SQLite triggers.
Use Cases
- Architecture decisions — "Why did we choose X over Y?" → stored and searchable
- Bug fix patterns — "This weird null pointer was caused by..." → never debug the same thing twice
- Code conventions — "In this project, we use..." → agents follow your rules automatically
- Project context — Store project structure, key files, gotchas for instant onboarding
- Cross-session learning — Agent remembers what it learned last session
Configuration
| Env Var | Default | Description |
|---|---|---|
RECALL_DB_PATH |
~/.recall/recall.db |
Path to the SQLite database file |
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.