recall-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@recall-mcp search for deployment preferences"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
recall-mcp
Persistent, searchable memory for AI agents β over the Model Context Protocol.
Give any MCP-capable agent (Claude Code, Claude Desktop, Cursor, Windsurf, ...) a long-term memory it can write to and search across sessions. Facts, preferences, decisions, and lessons survive restarts and are retrieved by relevance-ranked full-text search.
π§ Six tools: save, search, recent, get, forget, stats
π Real search: SQLite FTS5 with BM25 ranking, porter stemming, and an importance boost β not a
LIKE '%...%'scanπ¦ Zero native dependencies: uses Node's built-in
node:sqlite(Node β₯ 23.4). No compilers, no prebuilt binaries, nothing to break on installποΈ Single-file storage: one SQLite database at
~/.recall-mcp/memories.db(WAL mode), easy to back up or inspect
Quick start
git clone https://github.com/jadeleke/recall-mcp.git
cd recall-mcp
npm install
npm run buildClaude Code
claude mcp add recall -- node /path/to/recall-mcp/dist/index.jsClaude Desktop / other MCP clients
Add to your MCP config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"recall": {
"command": "node",
"args": ["/path/to/recall-mcp/dist/index.js"]
}
}
}Related MCP server: Claw Recall
Tools
Tool | What it does |
| Persist a fact with optional |
| Full-text search, BM25-ranked with importance boost. FTS5 syntax (phrases, |
| Most recently saved/updated memories, newest first |
| Fetch one memory by id |
| Permanently delete a memory by id |
| Totals, tag histogram, date range, db location and size |
Example
An agent mid-conversation:
memory_save({
content: "User deploys to Fly.io from CI only β never deploy from a laptop",
tags: ["ops", "user-preference"],
importance: 5
})Weeks later, in a fresh session:
memory_search({ query: "how does the user deploy" })returns the fact, ranked first thanks to porter stemming (deploy matches deploys) and the importance boost.
Configuration
Env var | Default | Purpose |
|
| Database file path. Set per-project paths to keep separate memory stores; |
Development
npm test # node:test suite β runs TypeScript directly via Node's type stripping
npm run build # emits dist/The codebase is small on purpose: src/store.ts is the storage layer (schema, FTS5 triggers, search), src/index.ts wires it to MCP over stdio.
Why not just a system prompt?
System prompts are per-session and hand-curated. recall-mcp lets the agent decide what's worth keeping, accumulates knowledge across every session and every MCP client that shares the database, and retrieves only what's relevant to the current task instead of stuffing everything into context.
License
MIT
Available Tools
6 toolsmemory_forgetDelete a memoryA
Permanently delete a memory by id. Use when a saved fact turns out to be wrong or obsolete.
Inputs: id (required).
memory_getGet a memory by idBRead-only
Fetch a single memory by its numeric id.
Inputs: id (required).
memory_recentList recent memoriesARead-only
List the most recently saved or updated memories, newest first.
Inputs: limit.
memory_saveSave a memoryA
Persist a fact, preference, decision, or lesson so it survives across sessions. Write one self-contained fact per memory. Use tags for later filtering and importance (1-5) to boost recall ranking.
Inputs: content (required), tags, importance.
memory_searchSearch memoriesARead-only
Full-text search over all saved memories, ranked by relevance (BM25) with an importance boost. Supports FTS5 syntax (quoted phrases, AND/OR/NEAR) but plain natural-language queries work too.
Inputs: query (required), limit.
memory_statsMemory store statisticsBRead-only
Totals, tag histogram, date range, and database location/size.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 6 tools
Each tool maps to a clearly distinct operation: write (memory_save), query by relevance (memory_search), list by time (memory_recent), fetch by id (memory_get), delete by id (memory_forget), and aggregate metrics (memory_stats). The search-vs-recent boundary is spelled out (relevance-ranked vs newest-first), so misselection is unlikely.
All six tools use a uniform snake_case 'memory_<verb>' pattern with single-word verbs (save, search, recent, get, forget, stats). The shared prefix groups the surface predictably and no mixed conventions appear.
Six tools is a well-scoped surface for a persistent memory store: one write path, three read paths with different access patterns, one delete, and one introspection tool. No tool looks redundant or gratuitous.
The lifecycle is nearly closed: create, read (by id, by query, by recency), delete, and stats are all present, and tag/importance attributes are writable at save time. The notable gap is an explicit update/amend operation for an existing memory (e.g. correcting a fact or re-tagging it) other than deleting and re-saving, plus no tag-listing tool beyond the stats histogram.
Related MCP Connectors
Persistent memory for AI agents. Search, store, and recall across sessions.
Persistent memory for AI agents: save, search and connect context across tools and sessions.
Persistent memory for AI agents. Search and store durable facts, preferences and decisions.
Persistent memory for AI agents to retain, retrieve, and recall conversation context through MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to store and retrieve persistent memories using BM25 search, allowing them to remember past conversations and context across sessions.8MIT
- AlicenseNot gradedqualityFmaintenancePersistent, searchable memory for AI agents. Enables agents to recover context after compaction by searching indexed conversations, emails, and files via MCP tools.1MIT
- AlicenseAqualityBmaintenanceA portable, self-hosted semantic memory layer for LLM agents, enabling them to search and add memories by meaning over the Model Context Protocol.52MIT
- AlicenseNot gradedqualityDmaintenancePersistent memory for AI agents over the Model Context Protocol (MCP).MIT