Turns a GitHub repository into an interactive AI-generated architecture diagram or a one-minute explainer video; free on gitdiagram.com, with a remote MCP server.
open sourceMITself-hostablefreeMCP
GitDiagram generates an interactive architecture diagram of any GitHub repository, public or private with a GitHub token, by replacing hub with diagram in its URL: an AI-written explanation and a Mermaid diagram whose components link to the files and directories behind them, exportable as PNG or Mermaid source. It can also make a narrated video of about a minute explaining the repository, downloadable as MP4. Agents use it through a remote MCP server at https://gitdiagram.com/mcp with no key, or the Markdown version of any diagram, and it ships a Claude Code plugin and a Gemini CLI extension. The MIT-licensed code runs yourself with Bun, Cloudflare R2, Upstash Redis and an OpenAI or OpenRouter key. Made by Ahmed Khaleel.
Problems it solves
- understand the architecture of an unfamiliar GitHub repository quickly
- get a diagram of how a codebase's parts connect without drawing it myself
- let my coding agent read a repository's architecture through MCP
Features
- interactive architecture diagram of any GitHub repository
- components link to the files and directories behind them
- private repositories with a GitHub token
- PNG export and Mermaid source
- narrated one-minute explainer videos as MP4
- remote MCP server with no key, plus Markdown diagrams for agents
Limitations
- Making new explainer videos is in early access; anyone can watch videos that already exist.1
Ways to run it
GitDiagram
free2
Only in this edition
- explainer videos (making new ones is in early access)
GitDiagram (self-hosted)
free3
Not included
- explainer videos unless you turn them on with Anthropic, OpenAI and OpenRouter keys
You arrange
- Bun
- Cloudflare R2
- Upstash Redis
- an OpenAI or OpenRouter API key
Capabilities
| Has an MCP server | plan not known |
|---|
