MCP 服务器

GitDiagram

com.gitdiagram/gitdiagram
开发者工具 知识与文档 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Provides architecture diagrams, explanations, Mermaid source, and explainer videos for public GitHub repositories.

find_repository_diagrams
Search GitDiagram's architecture diagrams
Search 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.
只读 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['query'], 'properties': {'limit': {'type': 'integer', 'maximum': 10, 'minimum': 1, 'description': 'How many repositories to return (1â\x80\x9310, default 10).'}, 'query': {'type': 'string', 'maxLength': 100, 'minLength': 1, 'description': 'Part of a repository\'s "owner/repo" name, e.g. "fastapi", "microsoft/", or "next.js".'}}}
get_explainer_video
Get a GitHub repository's explainer video
Get 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.
只读 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['repository'], 'properties': {'repository': {'type': 'string', 'maxLength': 500, 'minLength': 1, 'description': 'The GitHub repository as "owner/repo" (e.g. "fastapi/fastapi") or any github.com URL inside it (e.g. "https://github.com/vercel/next.js/tree/canary/packages").'}}}
get_repository_diagram
Get a GitHub repository's architecture diagram
Get 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 architecture or system diagram of a repo. Read-only and fast: it returns the diagram GitDiagram has already made. If none exists yet, it returns a link that makes one when opened in a browser. Public repositories only. In chat apps that show interactive views, the result also appears as a zoomable diagram whose components open their code on GitHub.
只读 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['repository'], 'properties': {'repository': {'type': 'string', 'maxLength': 500, 'minLength': 1, 'description': 'The GitHub repository as "owner/repo" (e.g. "fastapi/fastapi") or any github.com URL inside it (e.g. "https://github.com/vercel/next.js/tree/canary/packages").'}}}
已添加
get_explainer_video
2026年10月1日 02:40
已添加
find_repository_diagrams
2026年10月1日 02:40
已添加
get_repository_diagram
2026年10月1日 02:40