GitHub Chat MCP
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API. Official Site: https://github-chat.com
Installation
- Start using it with Claude!
Example prompts:
- "Use github-chat-mcp to analyze the React repository"
- "Index the TypeScript repository with github-chat-mcp and ask about its architecture"
GitHub Chat MCP server
Setup Instructions
Before anything, ensure you have a GitHub Chat API key. This is required to use the service.
Install uv first.
MacOS/Linux:
Windows:
Setup with Cursor (Recommended)
In mcp.json:
With above, no envs required since it's a freemium release.
Setup with Claude Desktop
Installing via Smithery
You can install GitHub Chat for Claude Desktop automatically via Smithery:
Using GitHub Chat with Claude
- Index a GitHub repository first: "Index the GitHub repository at https://github.com/username/repo"
- Then ask questions about the repository: "What is the core tech stack used in this repository?"
Debugging
Run:
Local/Dev Setup Instructions
Clone repo
git clone https://github.com/yourusername/github-chat-mcp.git
Install dependencies
Install uv first.
MacOS/Linux:
Windows:
Then install MCP server dependencies:
Setup with Claude Desktop
Using MCP CLI SDK
Manually
Using GitHub Chat with Claude
- Index a GitHub repository first: "Index the GitHub repository at https://github.com/username/repo"
- Then ask questions about the repository: "What is the core tech stack used in this repository?"
Debugging
Run:
Then access MCP Inspector at http://localhost:5173
. You may need to add your GitHub API key in the environment variables in the inspector under GITHUB_API_KEY
.
Notes
- Level of logging is adjustable through the
FASTMCP_LOG_LEVEL
environment variable (e.g.FASTMCP_LOG_LEVEL="ERROR"
) - This MCP server provides two main tools:
- Repository Indexing - Index and analyze a GitHub repository
- Repository Querying - Ask questions about the indexed repository
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
MCP 服务器可以通过 GitHub Chat API 分析和查询 GitHub 存储库,允许用户索引存储库并询问有关其代码、架构和技术堆栈的问题。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityMCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.Last updated -1722,57364,765TypeScriptMIT License
- AsecurityFlicenseAqualityMCP Server for the GitHub API, providing features for file operations, repository management, and advanced search, with automatic branch creation and comprehensive error handling.Last updated -1804TypeScript
- AsecurityAlicenseAqualityA MCP server that provides access to GitHub trending repositories and developers data through a simple API interface.Last updated -214PythonMIT License
- JavaScriptMIT License