
GitDiagram MCP Server
by ahmedkhaleel2004com.gitdiagram/gitdiagramv1.0.0
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
context tax
~864 tok/turn3 tools
security
97/100
cold start
hosted
freshness
Active28d ago
Our reading of GitDiagram, from the data
GitDiagram is a version control MCP server from ahmedkhaleel2004, listed in the official MCP Registry.
Its 3 tools add about 864 tokens to every model turn, lighter than the version control median of 1,256 tokens across 54 measured servers (measured 2026-10-19).
Maintenance is active: the last public signal was 28 days ago (2026-10-14). For comparison, 65% of version control servers are active or maintained.
With 18,313 GitHub stars it ranks #4 of 725 version control servers we index.
It runs as a hosted endpoint, so there is nothing to install.
Install GitDiagram MCP server
Install in Claude Code
claude mcp add --transport http gitdiagram https://gitdiagram.com/mcpInstall in Cursor
{
"mcpServers": {
"gitdiagram": {
"url": "https://gitdiagram.com/mcp"
}
}
}Install in Claude Desktop
{
"mcpServers": {
"gitdiagram": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://gitdiagram.com/mcp"
]
}
}
}Or add it as a custom connector under Settings → Connectors. The config above bridges via mcp-remote.
Install in VS Code
{
"servers": {
"gitdiagram": {
"type": "http",
"url": "https://gitdiagram.com/mcp"
}
}
}Install in Windsurf
{
"mcpServers": {
"gitdiagram": {
"serverUrl": "https://gitdiagram.com/mcp"
}
}
}Remote endpoints
- streamable-http
https://gitdiagram.com/mcp
Context tax
Connecting this server adds ~864 tokens of tool definitions to every model turn (lean, 3 tools). Measured 2026-10-19 via its hosted endpoint; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $3.46 | $0.173 |
| Claude Sonnet 5.5 | $1.73 | $0.173 |
| Claude Haiku 5.5 | $0.086 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (3)
get_repository_diagram298 tokGet the architecture of a public GitHub repository from GitDiagram (gitdiagram.com): a written explanation of how the codebase is organized, its main components with the source paths they live in, how those components connect, and a Mermaid flowchart of the whole system, plus a link to the interactive diagram, where every component opens its code on GitHub. Use it whenever the user wants to understand, visualize, map or explain a GitHub repository's or open-source project's architecture, structure, main modules or data flow, wants an overview before reading unfamiliar code, or asks for an arch
get_explainer_video231 tokGet GitDiagram's narrated explainer video of a public GitHub repository, if one has been made: the link to watch and share it, its title and length, and the full narration transcript, a plain-language walkthrough of what the project is for, what people do with it and how its main parts fit together. Use it when the user wants a video about a repository, something to watch or share instead of read, or a short spoken-style summary of a project. Read-only: it never makes a video; when none exists it says so and links the page where one can be made.
find_repository_diagrams230 tokSearch GitDiagram's library of ready-made architecture diagrams of public GitHub repositories by owner or repository name. Matches any part of "owner/repo" (e.g. "langchain", "vercel/", "react-native") and returns up to 10 repositories, most-starred first, each with its interactive diagram link. Use it to find a project's exact owner/repo from its name, or to list which repositories of an owner or topic already have diagrams. It searches repository names only, not code or file contents.
Security signals
97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 28d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-14 · 28d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-29 · 42d ago · official registry · v1.0.0
How it compares in Version Control
Against the most-starred version control servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| GitDiagram (this) | 18,313 | 3 | 864 | Active | hosted |
| Git | 91,356 | 12 | 1,139 | Active | local |
| PostHog | 40,338 | — | not measured | Active | local + hosted |
| GitHub | 33,740 | 46 | 11,509 | Active | local + hosted |
| Skill Seekers | 15,180 | — | not measured | Active | — |
| Plg Handler | 14,805 | — | not measured | Active | — |
FAQ
›How do I install the GitDiagram MCP server in Claude Code?
Run: claude mcp add --transport http gitdiagram https://gitdiagram.com/mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does GitDiagram require an API key?
No required environment variables are declared in its published metadata.
›Can I use GitDiagram as a remote (hosted) MCP server?
Yes. It is a hosted MCP server; connect to its URL with any client that supports remote MCP.
›Is GitDiagram in the official MCP registry?
Yes, as com.gitdiagram/gitdiagram.
›How many tokens does GitDiagram add to my context?
Its tool definitions total about 864 tokens, resent on every turn.
Sources and method
- Official MCP Registry entry
- updated 2026-09-29
- GitHub repository
- fetched 2026-10-19
- Tool list (tools/list), measured by us
- 2026-10-19
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to GitDiagram
Other version control MCP servers.