GitHub Chat — Claude Code MCP server: what it does and setup
MCP server linking the GitHub Chat API to AI assistants for indexing public repositories and querying their codebase.
no license updated 2026-10-29
Open on GitHubWhat GitHub Chat does
The server equips AI assistants with two specific tools: indexing a selected GitHub repository and running targeted queries against the parsed codebase. It allows the assistant to map project components and analyze architectural choices without cloning trees locally.
Execution relies on Python and the uv toolchain. You can invoke it dynamically via uvx github-chat-mcp or install it with pip install github-chat-mcp. Developers can also inspect endpoints locally at http://localhost:5173 via MCP Inspector.
A valid GitHub Chat API key is mandatory before making calls. Log verbosity can be altered using the FASTMCP_LOG_LEVEL environment variable.
What it helps with
- index a remote GitHub repository without local cloning
- inspect technical architecture of an unfamiliar codebase
- query core dependencies and code layout using AI
Example prompts for the agent
- Index the GitHub repository at
https://github.com/username/repo - Use github-chat-mcp to inspect the project layout and architecture
How to install GitHub Chat
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about GitHub Chat
How to run GitHub Chat?
Install it using pip install github-chat-mcp or launch it directly inside your client configuration via uvx github-chat-mcp.
What does GitHub Chat do?
It connects to the GitHub Chat API to index remote repositories and answer specific questions about their codebase.
Is an API key required?
Yes, accessing the indexing and query service requires a GitHub Chat API key defined in GITHUB_API_KEY.