Keymem MCP Server
The associative memory layer for LLM agents - recall by association, not just similarity. It runs locally over stdio via the published package.
People connecting memory tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-08-13 · ★ 3 · #90 OF 259 MAINTAINED MEMORY · VERIFIED 2026-08-25
MIT · TypeScript servers · how we verify → /methodology
01 · Install Keymem
before you install - you'll need
Set OPENAI_API_KEY, EMBEDDING_BACKEND, OPENAI_EMBEDDING_MODEL, KEYMEM_KEY_RECALL, KEYMEM_MEMORY_DEDUP, KEYMEM_RERANK_MIN_SCORE before connecting. LOCAL_EMBEDDING_MODEL, KEYMEM_RERANK, KEYMEM_DIRECT_RECALL are optional or environment-specific per the README.
Claude Code
claude mcp add donggyun112-keymem -- npx -y keymem Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"donggyun112-keymem": {
"command": "npx",
"args": [
"-y",
"keymem"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package keymem - unscoped; check the name against the project README before installing
registry namespace io.github.donggyun112 is GitHub-verified and matches the repo owner
03 · What Keymem can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
Limitations (from the README)
- Linear scan - suitable for personal use (~10k memories). FAISS/ChromaDB integration planned for larger scale. - Agentic round trips - the default recall → read_key → read_memory flow is more controllable and context-efficient, but needs more tool calls than one-shot retrieval. - Hub breadth - broad keys can connect many memories. read_key() paginates hubs; the agent must choose whether to continue paging or follow
Latest releases
v0.17.1 · 2026-07-25
Fixed · Preserve MCP sessions across transient standalone-SSE disconnects with a reconnect grace window. · Catch shim forwarding and close promise failures so rejected sends cannot terminate the stdio proxy. · Changed…
04 · Who maintains Keymem
keymem is maintained by donggyun112. We track 2 MCP servers from donggyun112 - 2 actively maintained, 5 combined GitHub stars, oldest repo from Mar 2026. Full record: all servers from donggyun112.
05 · Facts
- repository
- github.com/donggyun112/keymem
- category
- memory - ranked #90 of 259 actively-maintained memory servers as of 2026-08-25.
- release cadence
- 1 release in the last 90 days (latest 2026-07-25)
- registry
- io.github.donggyun112/keymem (active, first published 2026-06-22 · 15 versions)
- packages
- npm:keymem
06 · Keymem FAQ
What is Keymem?
The associative memory layer for LLM agents - recall by association, not just similarity. It runs locally over stdio via the published package.
Is Keymem still maintained?
Yes - as of 2026-08-25, its last commit was 2026-08-13 and it shipped 1 release in the last 90 days. We re-verify nightly.
How do I install Keymem?
Run `npx -y keymem`. The README documents 9 environment variables (OPENAI_API_KEY, EMBEDDING_BACKEND, LOCAL_EMBEDDING_MODEL…) to set first. Set OPENAI_API_KEY, EMBEDDING_BACKEND, OPENAI_EMBEDDING_MODEL, KEYMEM_KEY_RECALL, KEYMEM_MEMORY_DEDUP, KEYMEM_RERANK_MIN_SCORE before connecting. LOCAL_EMBEDDING_MODEL, KEYMEM_RERANK, KEYMEM_DIRECT_RECALL are optional or environment-specific per the README. You can also paste the ready-made client config above.
Does Keymem run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Keymem
Alternatives to Keymem
Maintained memory servers if Keymem isn't the fit.
- Codebase Memory Codebase knowledge graph for AI agents - 159 languages, sub-ms queries, 99% fewer tokens. ★ 40,198 · 2026-08-23
- Tradememory Protocol MCP memory for AI trading agents. Store trades, recall similar setups, track strategy performance. ★ 1,412 · 2026-08-11
- Superlog Open-source agent that observes and fixes your application. Query logs, traces, metrics, incidents. ★ 1,394 · 2026-08-23
- Persome Local-first personal memory and model server for trusted MCP agents on macOS. ★ 1,314 · 2026-08-21
- Neo4j Memory MCP Neo4j Knowledge Graph Memory Server ★ 979 · 2026-04-10
- Projectmem Local-first memory + judgment layer for AI coding agents - warns before repeating failed fixes. ★ 750 · 2026-08-06
Pairs well with
Servers that cover what Keymem doesn't - only shown when the pairing reason fits the companion.
More memory MCP servers · Openeye · Jprofiler · Emercoin Agent · Dbgprobe MCP Server · Audrey
More TypeScript MCP servers · Domain Search MCP · Help Scout MCP Server · Agentmako · Anything · Uploadkit · see all