Memory MCP Server
SQLite-backed MCP server for persistent memory, full-text retrieval, and graph traversal.
0 stars58 downloads/wk
Reviews
Write oneNobody has reviewed Memory MCP Server yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Memory MCP Server tools (13, 5 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
create_relationshipwrite actionCreate directed edge. Idempotent. Errors if endpoints missing.
delete_memorieswrite actionDelete 1-50 memories atomically. Cascade deletes. Rolls back on error.
delete_memorywrite actionDelete memory by hash. Cascade deletes relationships. Idempotent.
delete_relationshipwrite actionDelete edge. Exact match required. Idempotent (deleted: false if missing).
get_memoryRetrieve memory by SHA-256 hash. Returns E_NOT_FOUND if missing.
get_relationshipsGet relationships for memory. Filter direction. Inlines related memory.
memory_statsGet global stats: counts, timestamps, importance.
recallFTS search + BFS traversal (depth hops). Returns memories+edges. Emits progress. Aborts on limit.
retrieve_contextFTS search within token budget. Sorts by relevance/importance/recency. Supports importance and type filters. Returns truncated: true if limit hit.
search_memoriesFull-text search (content+tags). Ranked, paginated. Alphanumeric/underscore only. Implicit AND.
store_memoriesStore 1-50 memories atomically. Idempotent. Rolls back on error.
store_memoryStore single memory. Returns hash. Idempotent (created: false if exists). Prefer store_memories.
update_memorywrite actionUpdate content and/or tags (at least one required). Returns old+new hash. Cascade updates relationships.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan93 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 210 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Memory MCP Server compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 35% of 802 Databases servers
- Tools
- 13
- the typical Databases server has 8
- Tools that change things
- 38%
- typical: 10%. Fewer write tools means less an agent can break
- Downloads a week
- 58
- more than 41% of 328 Databases servers with a package
What its tools let an agent do: 8 read · 1 create · 1 change · 3 delete
Install Memory MCP Server in Claude Code, Cursor or VS Code
Runs npx -y @j0hanz/memory-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add memory-mcp -- npx -y @j0hanz/memory-mcp
What the publisher says
From the Memory MCP Server repository's README, as published. We do not edit it. Read it on GitHub
Memory MCP
<!-- markdownlint-disable MD033 -->
A SQLite-backed MCP server for persistent memory storage, full-text retrieval, and relationship graph traversal.
Overview
Memory MCP provides a local, persistent memory layer for MCP-enabled assistants. It stores SHA-256-addressed memory items in SQLite with FTS5-powered full-text search, a directed relationship graph, BFS recall traversal, and token-budget-aware context retrieval — all accessible over stdio transport with no external dependencies.
Key Features
- 13 MCP tools for CRUD, batch operations, FTS5 search, BFS graph recall, token-budget context retrieval, relationships, and stats.
- Full-text search over content and tags via SQLite FTS5 with importance and type filters.
- Graph recall with BFS traversal, bounded frontier, and MCP progress notifications per hop.
- Token-budget retrieval (retrieve_context) selects memories that fit a caller-specified token budget — no manual pagination needed.
- Strict Zod input validation with typed output envelopes and SHA-256 hash addressing.
- Resource support with internal://instructions (Markdown guide) and memory://memories/{hash} URI template with hash auto-completion.
- stdio transport with clean shutdown handling (SIGINT, SIGTERM) and no HTTP endpoints. |
Requirements
- Node.js >=24.
- SQLite with FTS5 support (verified at startup).
- Any MCP client that supports stdio command servers.
Quick Start
Use the npm package directly with npx — no installation required:
{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": ["-y", "@j0hanz/memory-mcp@latest"]
}
}
}[!TIP]
The server uses stdio transport only; no HTTP endpoint is exposed. Stdout must not be polluted by custom logging.
Or run with Docker:
docker run --rm -i ghcr.io/j0hanz/memory-mcp:latestClient Configuration
Install in VS Code
Workspace file .vscode/mcp.json:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Memory MCP Server: common questions
- Is Memory MCP Server safe?
- Mostly: it is graded B (75/100). Read the Memory MCP Server safety report
- How do I install Memory MCP Server?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Memory MCP Server need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Memory MCP Server maintained?
- The last commit was 248 days ago (2026-03-01). The latest release is v1.7.0.
- What can I use instead of Memory MCP Server?
- Servers from other publishers that do the same job: SAME - Stateless Agent Memory Engine MCP server, hmem — Humanlike Memory for AI Agents MCP server and sqlite-graph-memory MCP server.
- How does Memory MCP Server compare with other Databases MCP servers?
- safety score 75/100 (higher than 35% of 802 Databases servers); tools 13 (the typical Databases server has 8); tools that change things 38% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Memory MCP Server
Same job from other publishers: the closest match first, then the best rated.
- SAME - Stateless Agent Memory EnginePersistent memory for AI coding agents. Local-first SQLite + vector search. 17 MCP tools.not reviewedGrowingB
- hmem — Humanlike Memory for AI AgentsPersistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded.not reviewedGrowingA
- sqlite-graph-memoryRecall over your markdown notes: vector search plus your [[wikilinks]] as a graph, in SQLite.not reviewedGrowingA
- TinycontextToken-light local memory with SQLite hybrid retrieval for MCP agents.not reviewedGrowingB
- LoreConvoLocal-first persistent session memory for Claude Code and other agents. SQLite + FTS5, no cloud.not reviewedGrowingB