braindump
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., "@braindumpCheck if openBraindump in src/db.js is stale"
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.
braindump
Persistent memory for AI coding agents, served over MCP.
Agents forget what they learned about a codebase when a session ends. braindump gives them a place to write it down — free-form notes, the code symbols they've looked at, and typed links between the two — in a local graph database that survives across sessions, repos and agents. Nothing is pre-indexed: the graph grows as agents work.
Features
Graph memory —
Notes (learnings, gotchas, decisions, …), codeEntitys (function/class/module, …) and free-form typedLinks between any two nodes (CALLS,documents,caused-by, …), stored in an embedded Ladybug graph DB.Hybrid search — BM25 (camelCase-aware) + substring + local semantic embeddings (
bge-small-en-v1.5), fused with reciprocal rank fusion and re-ranked by a cross-encoder (mxbai-rerank-xsmall-v1). Runs fully offline on CPU; falls back to keyword search if the models are unavailable.Staleness checks — every entity is tagged with the git commit it was described at;
check_staleflags descriptions whose file has changed or been deleted since.Graph traversal — walk 1–3 hops from any node to answer "what calls X" or "what documents X".
Safe under concurrency — per-project write queue, lock-wait retries across processes, and all-or-nothing multi-statement writes and imports.
Export / import — the whole graph as JSON for backup or transfer.
Related MCP server: hive-memory
Install
Developed on Node.js 22.
git clone https://github.com/mmkumar5401/braindump-mcp.git
cd braindump-mcp
npm install
npm link # puts `braindump` on your PATHThe embedding and re-ranking models (~80 MB) download on first search and are cached in
~/.agents/braindump/.models.
Use with an MCP client
Register the stdio server, e.g. in Claude Code:
claude mcp add braindump -- braindump mcpOr in any client's JSON config:
{
"mcpServers": {
"braindump": { "command": "braindump", "args": ["mcp"] }
}
}The project is auto-detected from the working directory (the git repo root's folder name);
every tool also accepts an explicit project.
Tools
Tool | Purpose |
| Create the project's database (idempotent) |
| Manage free-form notes |
| Manage code entities (upserted by |
| Manage typed links between notes and entities |
| Hybrid / keyword / semantic search |
| Regex search over node fields |
| Walk the graph around a node |
| Page through nodes with filters |
| Find entities whose file changed since they were described |
| JSON backup and merge |
CLI
Every MCP tool has a CLI equivalent:
braindump add "Ladybug rejects CONTAINS with an empty string" --kind gotcha --tags ladybug,search
braindump entity add --name openBraindump --file src/db.js --kind function \
--description "Opens the per-project graph DB, waiting on another process's lock"
braindump search "database lock"
braindump neighbors "src/db.js::openBraindump" --depth 2
braindump stale
braindump exportRun braindump --help or braindump <command> --help for all options.
Storage
One database per project at ~/.agents/braindump/<project>/graph.lbdb.
Set BRAINDUMP_MODELS=off to skip the models entirely (keyword search only).
Development
npm test # vitest
BRAINDUMP_MODELS=off npm test # skip model downloadsLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Personal wiki and memory layer for AI assistants. Persistent, structured memory across sessions.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Persistent knowledge graph for AI-augmented teams. Store decisions, findings, and standing rules across agent sessions with semantic search and typed connections. Includes cross-session memory, audit trail, workspace isolation, and secret detection. Built for teams running agents that need to remember. Free until launch with team tier as default, anon trial available.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with persistent, searchable memory using a knowledge graph stored in SQLite. Features semantic search, temporal awareness, and workflow-aware prompts for development projects.8 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides AI coding agents with persistent, graph-connected memory across projects, enabling cross-project context retrieval via synaptic connections and hybrid search.9 npm8MIT
- AlicenseNot gradedqualityAmaintenanceProvides persistent, local-first memory with knowledge graph and hybrid search for AI coding agents, reducing token usage by storing decisions, patterns, and codebase context.9MIT
- AlicenseNot gradedqualityCmaintenanceA local, persistent, semantically-aware knowledge graph for AI coding agents like Claude Code, providing efficient session memory with minimal token cost and zero runtime network calls.MIT