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.
README
@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
| Variable | Default | Description |
|---|---|---|
EN_API_URL |
https://api.endiagram.com |
API endpoint for the EN Diagram service |
Tools
| Tool | Description |
|---|---|
analyze_system |
Structural signal — computes topology, roles, antipatterns from EN source |
render |
Render a dependency graph as publication-quality SVG |
detail |
Deep structural analysis — concurrency, flow landmarks, resilience, dominator tree, min-cuts |
distance |
Shortest path between two nodes with subsystem crossing annotations |
diff |
Structural diff between two systems — topology, role, and subsystem changes |
trace |
Follow directed flow from node A to node B with role and subsystem annotations |
extract |
Extract a named subsystem as standalone EN source code |
impact |
Blast radius — remove a node and see what disconnects |
evolve |
Dry-run architectural changes — apply a patch and see the structural delta |
between |
Betweenness centrality — what fraction of all shortest paths flow through a node |
categorize |
Auto-discover subsystem boundaries from dependency structure |
compose |
Merge 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.