AsanagiDB-MCP
“Stop re-explaining your codebase and decisions every time you switch AI assistants.”
A standalone Model Context Protocol server backed directly by AsanagiDB. Same low-friction native architecture from a Raspberry Pi to your developer workstation—with integrated GraphRAG, agentic notes, and shareable knowledge base topologies.
01. Cross-Assistant Continuity
Your assistants have amnesia.
Give them one shared graph.
Every conversation starts fresh. Every context window expires. And when you move between Claude Code, Codex, and Gemini, the architectural insights you built in one tool vanish in the next. You aren't collaborating with a team of assistants—you're re-briefing a new contractor every morning.
AsanagiDB-MCP solves this with both short-term continuity (memory_hottest surfaces active nodes by recency × frequency at session start) and long-term relational memory (memory_save, memory_relate, memory_context).
Because it is backed by AsanagiDB's mechanically sympathetic LMDB engine, it stands up in milliseconds on your laptop, a headless VPS, or even a Raspberry Pi serving your local network.
// Without AsanagiDB-MCP
Developer: "Continue the Layout B wire-ID migration."
Assistant B: "I don't have context from your earlier session in Claude. Which files and wire format did you decide on?"
// With AsanagiDB-MCP — fresh session, zero re-briefing
Developer: "Continue the Layout B wire-ID migration."
Assistant B: "Loaded WIP-current-topics and decision_wire_id_pair. The engine side is on feat/doc-wire-id using {_label, _id} pairs. Ready to update the Go client."
Integrated GraphRAG
Direct Graph Authoring & Document RAG
Point --rag-folder at your docs or notes. Assistants read sections, extract concepts into explicit graph edges (rag_submit_concepts), and traverse multi-hop citations via rag_search.
Agentic Notes
Structured Research & Task Notes
Built-in tools for structured agentic notes (note_create, note_update, note_link, note_list) stored directly as first-class vertices and edges inside the graph.
Shareable Topologies
Federate & Share Knowledge Graphs
Export and import portable knowledge subgraphs with memory_share and memory_fetch, or connect multiple workstations to a central team memory graph via --central and --remote.
02. Built-In MCP Toolset
Memory, GraphRAG, and Logic in One Binary
Persist entities with automatic 4 KB Rope chunking for long documents.
Load a node's immediate graph neighborhood or rank active topics by recency × frequency.
Author typed edges between concepts or supersede outdated decisions cleanly.
Index local markdown/PDF/text folders into a concept graph and retrieve grounded citations.
Package and transfer shareable knowledge base topologies across machines or teammates.
Run formal Horn-clause and syllogistic deduction directly over graph facts.
// Quick Configuration
Connect any MCP assistant in seconds
// Claude Desktop / Claude Code / Gemini / Codex MCP config
{
"mcpServers": {
"asanadb": {
"command": "/usr/local/bin/asanagidb-mcp",
"args": [
"--data-dir", "/Users/you/.asanagi/memory",
"--db", "default",
"--serve-port", "7474"
]
}
}
}
Adding --serve-port 7474 lets multiple concurrent AI assistants, AsanagiDB TUI, and AsanagiDB Desktop share the exact same live memory graph simultaneously without file-lock collisions.
AsanagiDB Desktop
“See your knowledge graph, test queries visually, and turn research into structured memory in one click.”
AsanagiDB Desktop combines a local AsanagiDB engine, an embedded MCP memory server, a visual Gremlin script studio, and a GraphRAG research workspace into a single native macOS application.
Visual Gremlin Studio
Author & Test Scripts Rapidly
Write and debug Gremlin traversals with syntax highlighting, schema browser inspection, and instant switching between tabular results and interactive graph views.
Live Structure Canvas
Visualize Your Data Topology
Explore vertices, edge labels, and semantic clusters with 60 fps force-directed physics. Watch nodes illuminate in real time as your AI assistants query memory.
GraphRAG Research Tool
Notes Written Straight to the Graph
Ingest research folders, inspect extracted concept relationships, and author rich notes that persist directly as linked graph vertices available to all your MCP assistants.
Release Status: Mac App Store Review (v1.0.0)
AsanagiDB Desktop v1.0.0 is currently in Mac App Store review. Need a visual graph console on macOS, Linux, or Windows today? Download the standalone AsanagiDB Admin UI from the downloads section, or subscribe for the App Store launch announcement.