Understanding Graph logo

Understanding Graph

Persistent graph memory for recording, revising, querying, and analyzing inspectable understanding across agent sessions.

Install Understanding Graph

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "understanding-graph": {
      "command": "npx",
      "args": [
        "-y",
        "understanding-graph@0.2.1"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

understanding-graph MCP server gives AI agents a persistent, typed graph for recording concepts, questions, evidence, decisions, and changing interpretations. Agents can commit related graph operations atomically in SQLite, preserve origin messages, connect concepts, and inspect revision history. Semantic search, structural analysis, paths, centrality, and workflow-oriented context help agents re-enter ongoing work without reconstructing prior reasoning. Reach for it when a project needs shared, revisable memory across sessions or multiple agents rather than a flat fact store.

Use cases

  • Record evolving research conclusions with evidence and unresolved questions
  • Share project understanding across multiple agents and sessions
  • Trace how concepts, decisions, and relationships changed over time
  • Find structural gaps, disconnected concepts, and open questions
  • Re-enter a project with focused graph context and prior reasoning

Key features

  • Atomic SQLite batches with preserved commit provenance
  • Typed concepts, questions, references, and relationships
  • Revision, supersession, metadata, and archival history
  • Semantic search, similarity lookup, and focused context
  • Structural analysis, paths, centrality, and gap detection
  • Codex and Claude Code initializer with workflow skills

Tools63

What Understanding Graph lets your agent do. Expand a tool for its parameters.

Self-reported~986 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 79d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · understanding-graph@0.2.1 (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads817Package downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Tools exposed63Callable tools this server registers over MCP.

How Understanding Graph works

What understanding-graph does

understanding-graph provides persistent graph memory for AI agents. Its nodes can represent understandings, questions, references, and other project concepts, while typed edges record relationships such as evidence or conceptual connections. The graph preserves authored updates, rationale, unresolved attention, and revisions so later work can inspect how a conclusion changed.

The design targets recursive, inspectable work across research, writing, coding, and decision-making. Multiple agents can read and extend the same project graph, leaving explicit records for subsequent sessions. It does not require storing private chain-of-thought; the intended records are externally useful understanding updates such as tensions, surprises, decisions, evidence, and remaining uncertainty.

How it works

The server exposes MCP tools backed by a project-scoped graph. Write operations cover adding an understanding, creating a question, revising or superseding a concept, attaching references, renaming or archiving nodes, managing metadata, and connecting or disconnecting concepts. A batch operation groups multiple changes into one SQLite transaction. It requires a commit message, and a failed operation rolls the whole batch back; the message is retained as provenance for the committed nodes.

Read and analysis operations provide compact or full graph context, region-level detail, semantic search, similarity lookup, trigger-based filtering, paths, centrality, and structural diagnostics. graph_understand assembles a workflow-specific re-entry packet containing prior context, resistance, evidence, and typed relations. Full context can focus on a node and automatically compact larger graphs; numbered regions can then be retrieved in detail.

The package includes an initializer and optional workflow plugins for Codex and Claude Code. These can create project MCP configuration, shared instruction files, and a reading-mode skill. The model runs in the client; the graph server makes no model API calls.

Setup and configuration

Node.js 22 or newer is required. For a project-scoped setup, run:

Terminal
npx -y understanding-graph@latest init

The initializer creates Codex and Claude Code MCP configuration, workflow guidance, reading-mode skill files, and a projects/ ignore entry. It does not create a starter graph. Sessions opened in the initialized directory share the selected project root and named graph.

For direct MCP setup, a stdio client can launch:

Terminal
claude mcp add ug -- npx -y understanding-graph@latest mcp

Claude Code can also install the bundled plugin from the Emergent Wisdom marketplace or load a local checkout with --plugin-dir. The plugin adds workflow skills including orientation, quality checks, reading mode, serendipity, web visualization, graph workflows, code work, collaborative code, and creative work.

Tools and capabilities

  • Add, revise, supersede, rename, archive, and annotate graph nodes.
  • Create questions, record answers, and attach external or cross-project references.
  • Connect concepts with typed edges, update edge explanations, and inspect relationship history.
  • Commit multiple graph changes atomically with a required provenance message.
  • Retrieve skeletons, focused or full context, regional details, and revision histories.
  • Search semantically, find similar or trigger-classified nodes, and analyze gaps, cycles, bridges, open questions, and influential concepts.
  • Follow reasoning paths and consult the advisory thermostat for convergence, continuation, or divergence signals.

Limitations and notes

Graph scores are structural proxies for chronology, revision, resolution, edge specificity, and connectivity; they are not measures of semantic quality. The raw MCP server can work with compatible MCP clients, but the bundled skills or generated project instructions are recommended for multi-step workflows because tool schemas alone may not activate the intended process. Automatic resurfacing depends on the appropriate visible-document relationship, and a provenance link by itself does not enable it.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Understanding Graph

understanding-graph is an MCP server that connects AI agents to a persistent, project-scoped understanding graph. Its main tools add, revise, supersede, connect, search, and analyze concepts, questions, evidence, and relationships, allowing multiple agents to preserve inspectable updates and re-enter ongoing work across sessions.

Install it with Node.js 22 or newer by running `npx -y understanding-graph@latest init` in the project directory. The initializer creates project configuration for Codex and Claude Code, or you can launch the stdio MCP server directly with an MCP client.

Yes, understanding-graph supports Codex and Claude Code through its initializer and bundled plugins. The setup creates client configuration and workflow guidance, and Claude Code can also install the plugin from the Emergent Wisdom marketplace or load a local plugin directory.

Yes, `graph_batch` commits multiple operations as one SQLite transaction. It requires a commit message, and if any operation fails, the complete batch is rolled back. The commit message is retained as provenance for the resulting graph updates.

Use semantic search, similarity lookup, trigger-based filtering, structural analysis, paths, centrality, and semantic-gap detection. Context tools provide a compact skeleton, focused or full graph XML, and detailed numbered regions when more information is needed.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewUnderstanding Graph AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/understanding-graph?style=directory)](https://allmcps.com/mcp/understanding-graph)
HTML Embed
<a href="https://allmcps.com/mcp/understanding-graph"><img src="https://allmcps.com/api/badge/understanding-graph?style=directory" alt="Understanding Graph on AllMCPs" /></a>