Mushroomdb
Embedded graph database where declared rules derive, score and retract edges
Mushroomdb is a free MCP server for databases. It runs locally on your machine and is started by your AI client.
- Pricing
- Free
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 0.10.6
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mushroomdb -- npx -y mushroomdbAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mushroomdb": {
"command": "npx",
"args": [
"-y",
"mushroomdb"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mushroomdb": {
"command": "npx",
"args": [
"-y",
"mushroomdb"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mushroomdb": {
"command": "npx",
"args": [
"-y",
"mushroomdb"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mushroomdb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mushroomdb"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mushroomdb -- npx -y mushroomdbOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mushroomdb]
command = "npx"
args = ["-y", "mushroomdb"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mushroomdb": {
"command": "npx",
"args": [
"-y",
"mushroomdb"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mushroomdb": { "command": "npx", "args": [ "-y", "mushroomdb" ] } } }Or run: gemini mcp add -s user mushroomdb npx -- -y mushroomdb
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mushroomdb": { "command": "npx", "args": [ "-y", "mushroomdb" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mushroomdb": { "command": "npx", "args": [ "-y", "mushroomdb" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mushroomdb": { "command": "npx", "args": [ "-y", "mushroomdb" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mushroomdb": { "command": "npx", "args": [ "-y", "mushroomdb" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mushroomdb": { "command": "npx", "args": [ "-y", "mushroomdb" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mushroomdb": { "command": "npx", "args": [ "-y", "mushroomdb" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mushroomdb": { "command": "npx", "args": [ "-y", "mushroomdb" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Mushroomdb
A relationship in mushroomdb is a rule you declare once: for example, connect every Person to every Org whose skills overlap by at least half. After that, each insert or property change evaluates the rule incrementally, writing the edge with a score and retracting it in the same write that makes it untrue, so there is no re-index step or batch job.
For agents, the MCP tools include remember, recall and forget for memory, plus explain_association, which names the rule, score and shared values behind a link, edges_at for past dates or commits, and what_if for previewing a change without writing it. Queries bound to a role see only what that role may see, and vector search and graph walks both obey it.
The README describes Cypher and the Bolt protocol, transactions, full-text and vector search, and queryable history. It runs embedded as a directory on disk or as an HTTP server in Docker. It is a pre-1.0 alpha, not hosted, one writer at a time, with the working graph in memory.
Tools this server provides (6)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 6 tools reads data; 5 names don't say.
From the server's own tool labels and tool names; not verified by us.
- remember
- Store a memory
- recall
- Retrieve stored memory
- forget
- Remove a memory
- explain_associationName suggests: reads
- Name the rule, score and shared values behind a relationship
- edges_at
- Edges a node had on a past date or commit
- what_if
- Edges a property change would gain and lose, without writing
What it does
- Declared rules
- Six predicate kinds derive edges automatically and can be combined.
- Explainable edges
- Each edge can show the rule, score and values behind it.
- Time travel
- Reads edges as of a past date or commit.
- What-if preview
- Computes edges a change would add or remove without writing.
- Role-scoped access
- Queries only see what the bound role may see.
- Agent memory
- Offers remember, recall and forget tools over MCP.
Good for
- Give a coding agent persistent memory
- Restrict an AI assistant's retrieval by role
- Match people to projects by overlapping skills
- Audit why two entities are linked
Pricing
Free
Self-run; no account or hosted plan mentioned
Mushroomdb FAQ
Is Mushroomdb production ready?
The README labels it a pre-1.0 alpha whose APIs and formats may change between minor versions.
Does Mushroomdb need a server?
No. Embedded, it is a directory on disk; it can also run as an HTTP server with optional Bolt.
Is Mushroomdb a vector database?
No. It has vector rules and an HNSW index, but you bring the embeddings.
What are the concurrency limits?
One writer at a time, snapshot-isolated transactions, and the working graph lives in memory.
Is Mushroomdb free?
Yes. Mushroomdb is free to use.
How do I add Mushroomdb to Claude Code?
Run this command in your terminal: claude mcp add mushroomdb -- npx -y mushroomdb
What are the best alternatives to Mushroomdb?
The closest alternatives to Mushroomdb are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Myco: Agent-First Cognitive Substrate.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.



