
ContextGraph
by AllenMaxi·★ 21·Score 43
MCP server implementing a shared memory bus with permissions, subscriptions, and optional payments for multi-agent teams.
Overview
ContextGraph provides a durable memory backend for coding agents and multi-agent teams, featuring governed shared memory, context compilation, and reactive delta compaction. It enables agents to survive context pressure without losing state through structured checkpoints and maintains visible state in repository-local directories. The server implements the MCP protocol to expose these memory management capabilities.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose ContextGraph when you need shared memory for multiple coding agents with access controls and structured state preservation.
When NOT to choose this
Avoid if you only need personal memory for a single chatbot or if you require hosted agent runtime with enterprise IAM capabilities.
Tools this server exposes
11 tools extracted from the READMEcontextgraph_compile_contextCompile a governed, token-budgeted context pack from mixed agent memory
contextgraph_storeStore a claim in agent memory with provenance and access controls
contextgraph_recallRetrieve memories matching a query with relevance scoring
contextgraph_register_agentRegister a new agent with the memory system
contextgraph_create_sessionCreate a new session for an agent to record events
contextgraph_record_session_eventRecord an event (decision, constraint, task, etc.) in a session
contextgraph_checkpoint_sessionCreate a checkpoint from a session to save its current state
contextgraph_fork_sessionCreate a new session that inherits from an existing checkpoint
contextgraph_sync_memory_directorySync session state to a local .contextgraph/ directory
contextgraph_get_context_packRetrieve a previously compiled context pack
contextgraph_explain_context_packGet explanations for why claims were included or excluded in a context pack
Comparable tools
Installation
pip install contextgraphFor Claude Desktop integration, add to your claude_desktop_config.json:
{
"mcpServers": {
"contextgraph": {
"command": "python",
"args": ["-m", "contextgraph.server"],
"env": {}
}
}
}FAQ
- What makes ContextGraph different from vector memory?
- ContextGraph provides structured memory with provenance, freshness, access control, and explainable retrieval rather than just raw text storage.
- How does reactive delta compaction work?
- Instead of collapsing sessions into summaries, it records structured events as checkpoints and compiles delta packs that preserve decisions, tasks, and state across context boundaries.
Compare ContextGraph with
Last updated · Auto-generated from public README + GitHub signals.