GitHub Chat MCP
@AsyncFuncAI
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
概要
What is GitHub Chat MCP?
GitHub Chat MCP is a Model Context Protocol server that analyzes and queries GitHub repositories using the GitHub Chat API. It is intended for developers who want to ask questions about a repository’s codebase through an AI assistant.
How to use GitHub Chat MCP?
Install via pip install github-chat-mcp or uv install github-chat-mcp, then configure it in your MCP client (e.g., Cursor, Claude Desktop) using the command uvx github-chat-mcp. First index a repository (e.g., “Index the GitHub repository at https://github.com/username/repo”), then ask questions about it (e.g., “What is the core tech stack used in this repository?”).
Key features of GitHub Chat MCP
- Repository indexing – index and analyze a GitHub repository
- Repository querying – ask questions about the indexed repository
- Freemium release – no environment variables required for basic use
- Installation via pip, uv, or Smithery
- Works with Cursor, Claude Desktop, and other MCP clients
- Debugging support through MCP Inspector
Use cases of GitHub Chat MCP
- Analyze the architecture of an open-source repository
- Get answers about a repository’s tech stack or design patterns
- Quickly onboard into a new codebase by asking natural-language questions
- Automate code review or documentation generation from repository analysis
FAQ from GitHub Chat MCP
What does GitHub Chat MCP do?
It provides two main tools: Repository Indexing (index and analyze a GitHub repository) and Repository Querying (ask questions about the indexed repository). It uses the GitHub Chat API.
Do I need a GitHub API key?
Yes, a GitHub Chat API key is required to use the service. However, for the freemium release, no environment variables are needed in the configuration.
What are the runtime dependencies?
Python, pip or uv package manager, and the GitHub Chat API key. On macOS/Linux, curl is used to install uv; on Windows, a PowerShell command is provided.
Where does the data live?
The server communicates with the GitHub Chat API over the network. No data is stored locally beyond temporary indexing state in the MCP session.
Which transport does GitHub Chat MCP use?
The server uses standard MCP transport (stdin/stdout) as is typical for local MCP servers. Authentication is handled via environment variables when required.