Skip to content
Skillpedia
● Free and open source☁️ RemoteπŸ”“ No API keyDesign and media

GitDiagram

Lets your AI agent read architecture diagrams, explanations and Mermaid source for public GitHub repositories.

19k stars on GitHubby Ahmed KhaleelLicense MITUpdated 19 days ago

How to install

This MCP is remote: it runs in the cloud.

Nothing to install. Copy the address and paste it into your AI app:

Server address

https://gitdiagram.com/mcp
  • β€ΊClaude (site or app): Settings β†’ Connectors β†’ Add custom connector.
  • β€ΊChatGPT: Settings β†’ Apps β†’ Create app (developer mode), and paste the address.
  • β€ΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.

Paste in the terminal:

claude mcp add --transport http gitdiagram https://gitdiagram.com/mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

How is fastapi/fastapi structured?
Give me the Mermaid source for the architecture of this GitHub repo.

What it is

GitDiagram turns a GitHub repository into an interactive architecture diagram and a short narrated video. Its remote MCP server lets an agent read a public repository's architecture explanation, components, connections and Mermaid source, search stored diagrams and get explainer videos.

What it can do

  • Read a public repo's architecture explanation
  • Get components and connections of a repo
  • Get Mermaid source of a diagram
  • Search stored diagrams
  • Get explainer videos

When to use

  • β€ΊWhen you want to understand how an unfamiliar public repository is structured.
  • β€ΊWhen you need Mermaid source of a project's architecture for your docs.
  • β€ΊWhen you want to find an existing diagram or video for a project.

What you need

Nothing to install: it is a remote MCP server at https://gitdiagram.com/mcp with no key or sign-in.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free?

The readme calls the diagrams free and says the MCP server needs no key or sign-in. Making new videos is in early access.

Does it work with private repos?

The MCP server reads public repositories. The website supports private repos with a GitHub token.

Which clients can use it?

The readme gives setup for Claude Code, Codex, Gemini CLI, GitHub Copilot CLI and Cursor, and says other clients can add a remote MCP server with the URL.

Can I run it myself?

Yes. It needs Bun, Cloudflare R2, Upstash Redis and an OpenAI or OpenRouter API key.

Is there a non-MCP way to use it?

Yes. Replace hub with diagram in any GitHub URL, or use gitdiagram.com/owner/repo.md for a Markdown version.

What is the license?

The readme shows a license badge and a LICENSE file, but does not name the license in the text.

If it does not work

  • β€ΊIf the server does not connect, check that your client supports remote HTTP MCP servers and that the URL is https://gitdiagram.com/mcp.
  • β€ΊUse a public repository, since the MCP server reads public repos.
  • β€ΊRestart your client fully after adding the server.

5 new skills a week. 1 minute to read.