memory-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
memory-mcp — shared-brain MCP server
A local stdio MCP server over ~/.claude/memory.
Exposes the LLM-Wiki brain (read / search / write) so a memory written in any
agent — Claude Code, Cursor, Codex — is readable and searchable in all three.
One brain, three clients, file-backed, no external service.
Tools
Tool | What it does |
| Text + frontmatter ranking over name/description/tags/body (+ bucket filter, limit). |
| One memory by name → frontmatter + body + resolved outbound |
| List memories (name, type, description), optional bucket filter. |
| Inbound + outbound wikilink neighbours for a memory. |
| Create/update a memory, regenerate |
Related MCP server: claude-memory
Architecture
Standalone TypeScript (ESM, strict +
exactOptionalPropertyTypes), run viatsx.Reads use a strict-typed parser/scanner; a corpus-parity test asserts agreement with the real brain so frontmatter never drifts.
Writes delegate index/hot/lint to the existing
~/.claude/tools/braintoolkit (subprocess,CLAUDE_DIR-scoped) — brain's exact logic, no source coupling.Search is text + frontmatter only (no embeddings in v1).
Config
CLAUDE_DIR— brain root (default~/.claude);<CLAUDE_DIR>/memoryholds the buckets.BRAIN_DIR—tools/braincheckout (default<CLAUDE_DIR>/tools/brain).
Run
node node_modules/tsx/dist/cli.mjs src/server.ts # stdio MCP server (stdout = MCP channel)
npm test # vitest
npm run typecheckRegistration in Claude Code / Cursor / Codex: see register.md.
This server cannot be deployed
Related MCP Connectors
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Shared memory and mail for your AI agents. Verified with Claude Code; other MCP clients in testing.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Shared memory for your AI tools: tasks, notes and context every tool can read and write over MCP.
Related MCP Servers
- AlicenseAqualityCmaintenanceA local shared-memory MCP server for Claude, Codex, Hermes, and other MCP-aware agents, providing a durable memory layer with Markdown files and SQLite fact store.6MIT
- AlicenseNot gradedqualityCmaintenanceA persistent memory MCP server for Claude Code that enables long-term recall across sessions via hybrid search, code intelligence, and tools for reading/writing memory.20 npm5MIT
- AlicenseAqualityDmaintenanceA zero-dependency MCP server for cross-session memory recall in Claude Code. Provides lexical search, listing, and retrieval of past session memories to avoid re-explaining context.36 npmMIT

threadctx-mcpofficial
AlicenseAqualityDmaintenanceShared memory MCP server for AI coding agents, enabling context sharing across sessions with local SQLite or cloud-based semantic search, compatible with Claude Code and Cursor.271 npm1MIT