npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@emergent-wisdom/understanding-graph-mcp-server

v0.1.11

Published

MCP server for building understanding graphs - persistent AI memory that captures comprehension, not just facts

Downloads

561

Readme

@understanding-graph/mcp-server

MCP server for building Understanding Graphs — persistent AI memory that captures comprehension, not just facts.

What is this?

AI agents have no persistent memory. Each conversation starts fresh. This MCP server gives agents a way to build and maintain a living map of understanding that persists across sessions.

Unlike knowledge bases that store facts, an Understanding Graph stores:

  • Tensions — Conflicts between ideas that need resolution
  • Synthesis — How disparate concepts connect and what that means
  • Supersession — How beliefs evolve over time (never deleted, only superseded)
  • Reasoning traces — The cognitive journey, not just conclusions

Quick Start

Add the server configuration to your MCP client settings:

Configuration Example

{
  "mcpServers": {
    "understanding-graph": {
      "command": "npx",
      "args": ["@understanding-graph/mcp-server"],
      "env": {
        "PROJECT_DIR": "/path/to/your/projects"
      }
    }
  }
}

Usage

Once configured, your agent will have access to graph tools (graph_add_concept, graph_connect, etc.).

Core Concepts

Metabolic vs Crystalline

Standard databases are crystalline — they freeze information as static records. Your graph is metabolic — understanding grows, adapts, and heals. When you change your mind, you don't delete; you supersede.

Entrainment, Not Retrieval

When reading the graph, you're not looking up data. You're re-synchronizing with a rhythm of thought — inhabiting the mind of your past self to continue the thinking process.

The Five Laws

  1. Git for Cognition — Nodes are never deleted, only superseded
  2. PURE Standard — Quality gates for analysis/decision nodes
  3. Graph-First Context — Check the graph before thinking
  4. Synthesize, Don't Transcribe — Capture implications, not recordings
  5. Delegate by Default — Break tasks into sub-tasks for parallel workers

Key Tools

| Tool | Purpose | |------|---------| | project_switch | Load a project | | graph_skeleton | Quick graph overview (~150 tokens) | | graph_semantic_search | Find by meaning | | graph_batch | All mutations (requires commit_message) | | graph_add_concept | Add a node with trigger type | | graph_connect | Create edge between nodes | | graph_score | Measure graph quality | | source_load | Load text for chronological reading | | solver_delegate | Assign task to parallel worker |

Commit Workflow

Every graph_batch requires a commit_message — your commit message explaining the intent.

graph_batch({
  commit_message: "Added governance concepts, linked to fabric metaphor",
  agent_name: "Bob",  // Optional
  operations: [...]
})
1. project_list()                    # See available projects
2. project_switch("PROJECT")         # Load a project
3. graph_skeleton()                  # Orient yourself
4. graph_semantic_search({ query })  # Find relevant past thoughts
5. [do work with graph_batch]        # Include commit_message!

Triggers (Node Types)

| Type | When to Use | |------|-------------| | foundation | Core concepts, axioms | | surprise | Unexpected findings | | tension | Conflicts, trade-offs | | consequence | Implications | | question | Open questions | | decision | Choice points | | thinking | AI reasoning trace | | prediction | Forward-looking belief |

Edge Types

| Type | Use | |------|-----| | supersedes | New understanding replaces old | | contradicts | Opposing ideas (creates tension) | | refines | Adds precision | | learned_from | Cognitive lineage | | answers / questions | Resolves or raises doubt |

Quality Target

Run graph_score() periodically. Target: 70+ with 0 orphan thinking nodes.

Each thinking node should connect to 2-3 concepts minimum.

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | PROJECT_DIR | Where to store project databases | ./projects |

License

MIT

Repository

https://github.com/emergent-wisdom/understanding-graph