MCP Catalogs
HomeContextGraph screenshot

ContextGraph

by AllenMaxi·21·Score 43

MCP server implementing a shared memory bus with permissions, subscriptions, and optional payments for multi-agent teams.

knowledge-graphai-llmdeveloper-tools
7
Forks
1
Open issues
1 mo ago
Last commit
2d ago
Indexed

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:

you:Coding agents that need to survive context window pressure without losing state
you:Multi-agent teams requiring shared memory with permissions and provenance
you:Internal agent platforms needing ACLs and explainable memory layers
you:What makes ContextGraph different from vector memory?
you:How does reactive delta compaction work?

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 README
  • contextgraph_compile_context

    Compile a governed, token-budgeted context pack from mixed agent memory

  • contextgraph_store

    Store a claim in agent memory with provenance and access controls

  • contextgraph_recall

    Retrieve memories matching a query with relevance scoring

  • contextgraph_register_agent

    Register a new agent with the memory system

  • contextgraph_create_session

    Create a new session for an agent to record events

  • contextgraph_record_session_event

    Record an event (decision, constraint, task, etc.) in a session

  • contextgraph_checkpoint_session

    Create a checkpoint from a session to save its current state

  • contextgraph_fork_session

    Create a new session that inherits from an existing checkpoint

  • contextgraph_sync_memory_directory

    Sync session state to a local .contextgraph/ directory

  • contextgraph_get_context_pack

    Retrieve a previously compiled context pack

  • contextgraph_explain_context_pack

    Get explanations for why claims were included or excluded in a context pack

Comparable tools

memgraph-mcpredis-mcppost-mcp

Installation

pip install contextgraph

For 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.