GitHub Chat

v1.0.0Version Controlstable

An MCP server that enables analyzing and querying GitHub repositories through the GitHub Chat API, allowing users to index repositories and ask questions about their code, architecture and tech stack.

githubmcpmcp-server
Share:
86
Stars
0
Downloads
0
Weekly
0/5

What is GitHub Chat?

GitHub Chat is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that enables analyzing and querying github repositories through the github chat api, allowing users to index repositories and ask questions about their code, architecture and tech stack.

An MCP server that enables analyzing and querying GitHub repositories through the GitHub Chat API, allowing users to index repositories and ask questions about their code, architecture and tech stack.

This server falls under the Version Control category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An MCP server that enables analyzing and querying GitHub rep

Use Cases

Repository code search and analysis
Architecture and tech stack queries
Code understanding through chat
AsyncFuncAI

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 13, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx github-chat-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use GitHub Chat

GitHub Chat MCP is a Python-based MCP server that connects to the GitHub Chat API to let you index entire GitHub repositories and then ask questions about them in natural language. It answers questions about code architecture, tech stack choices, implementation patterns, and specific logic — without requiring you to clone or manually read the repository. Developers use it to quickly understand unfamiliar codebases, audit dependencies, or explore how a library works before adopting it.

Prerequisites

  • Python 3.10 or later installed
  • uv or pip package manager available
  • A GitHub Chat API key (GITHUB_API_KEY)
  • An MCP-compatible client such as Claude Desktop or Cursor
1

Install the github-chat-mcp package

Install via pip or uv. The uvx approach allows zero-install usage directly from the package registry.

pip install github-chat-mcp
# or with uv:
uv install github-chat-mcp
2

Obtain a GitHub Chat API key

Sign up or log in to the GitHub Chat service and generate an API key. This key is required for both indexing and querying repositories.

3

Configure your MCP client

Add github-chat-mcp to your client's MCP server configuration with the GITHUB_API_KEY environment variable set.

4

Index a repository

Ask your AI client to index the GitHub repository you want to analyze. Indexing is required before you can ask questions. This step sends the repository to GitHub Chat for processing.

5

Query the indexed repository

After indexing completes, ask natural language questions about the code. The server routes your questions to the GitHub Chat API and returns answers grounded in the actual repository content.

GitHub Chat Examples

Client configuration

Add github-chat-mcp to Claude Desktop using uvx for zero-install execution with your API key.

{
  "mcpServers": {
    "github-chat": {
      "command": "uvx",
      "args": ["github-chat-mcp"],
      "env": {
        "GITHUB_API_KEY": "your_github_chat_api_key",
        "FASTMCP_LOG_LEVEL": "ERROR"
      }
    }
  }
}

Prompts to try

Example prompts for indexing repositories and asking questions about them.

- "Index the repository at https://github.com/facebook/react"
- "What is the core tech stack used in this repository?"
- "How does this project handle state management? Which patterns are used?"
- "What are the main entry points of the application?"
- "Which dependencies have known security vulnerabilities in this repo?"

Troubleshooting GitHub Chat

Indexing fails with an authentication error

Verify that GITHUB_API_KEY is correctly set in the MCP server environment. Test the key directly with a curl request to the GitHub Chat API endpoint to confirm it is active.

Questions return no results or generic answers after indexing

Indexing can take several minutes for large repositories. Wait for the indexing tool to return a success confirmation before sending queries. Try re-indexing if results seem stale.

The server starts but no tools appear in the MCP client

Ensure you are using a compatible version of uvx or pip-installed github-chat-mcp. Run 'uvx github-chat-mcp --help' in a terminal to confirm the package is accessible, then restart your MCP client.

Frequently Asked Questions about GitHub Chat

What is GitHub Chat?

GitHub Chat is a Model Context Protocol (MCP) server that mcp server that enables analyzing and querying github repositories through the github chat api, allowing users to index repositories and ask questions about their code, architecture and tech stack. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install GitHub Chat?

Follow the installation instructions on the GitHub Chat GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with GitHub Chat?

GitHub Chat works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is GitHub Chat free to use?

Yes, GitHub Chat is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Version Control MCP Servers

Explore all version control servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "github-chat-mcp": { "command": "npx", "args": ["-y", "github-chat-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use GitHub Chat?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides