MCP Hub
Back to servers

endiagram

12 deterministic graph-theory tools for structural analysis. Describe systems in EN syntax (subject do: action needs: inputs yields: outputs) — get topology, bottlenecks, blast radius, critical paths and lot more. No AI inside the computation.

glama
Stars
1
Forks
1
Updated
Mar 20, 2026

@endiagram/mcp

MCP server for EN Diagram — structural analysis powered by deterministic graph algorithms.

Write your system in plain text. Get back structural facts: bottlenecks, blast radius, flow landmarks, concurrency groups, and more. No AI inside the computation — every result is deterministic.

Installation

Run directly:

npx @endiagram/mcp

Or install globally:

npm install -g @endiagram/mcp

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "en-diagram": {
      "command": "npx",
      "args": ["@endiagram/mcp"]
    }
  }
}

Claude Code

claude mcp add en-diagram npx @endiagram/mcp

Environment Variables

VariableDefaultDescription
EN_API_URLhttps://api.endiagram.comAPI endpoint for the EN Diagram service

Tools

ToolDescription
analyze_systemStructural signal — computes topology, roles, antipatterns from EN source
renderRender a dependency graph as publication-quality SVG
detailDeep structural analysis — concurrency, flow landmarks, resilience, dominator tree, min-cuts
distanceShortest path between two nodes with subsystem crossing annotations
diffStructural diff between two systems — topology, role, and subsystem changes
traceFollow directed flow from node A to node B with role and subsystem annotations
extractExtract a named subsystem as standalone EN source code
impactBlast radius — remove a node and see what disconnects
evolveDry-run architectural changes — apply a patch and see the structural delta
betweenBetweenness centrality — what fraction of all shortest paths flow through a node
categorizeAuto-discover subsystem boundaries from dependency structure
composeMerge two EN graphs into one with entity linking

EN Syntax

Customer do: place order needs: menu yields: order
Kitchen do: prepare food needs: order yields: meal
Waiter do: deliver needs: meal yields: served customer

Learn more at endiagram.com.

License

MIT

Reviews

No reviews yet

Sign in to write a review