Skip to main content

GitHubChat MCP Server

Model Context Protocol (MCP) server for GitHub Chat.

Get Started

I have an MCP Client (eg. Cursor, Claude, Cline)

Run in terminal:

pip install githubchat-mcp-server && githubchat-mcp-server

Add githubchat server to your client's MCP configuration, commonly:

{
    "mcpServers": {
        "githubchat": {
            "url": "http://localhost:4651/githubchat-mcp"
        }
    }
}

Refer to your MCP client's documentation for supported configuration specifications.

I don't have an MCP Client

Looking to get an existing one? See Awesome MCP Client

Example request using FastMCP client:

import asyncio
from fastmcp import Client
import json

async def main():
    # Connect to the MCP server
    async with Client("http://localhost:4651/githubchat-mcp") as client:
        # Request completion
        print("\nRequesting completion...\n\n")
        result = await client.call_tool("githubchat_completion", {
            "query": "your query",
            "url": "https://github.com/username/repo"
        })
        print(json.dumps(json.loads(result[0].text), indent=2))

if __name__ == "__main__":
    asyncio.run(main())

Documentation

Install

pip install githubchat-mcp-server

Run

After installation, you can run the server in two ways:

  1. Using the command-line script:
# Default port (4651)
githubchat-mcp-server

# Custom port
githubchat-mcp-server --port 3000
  1. Using Python directly:
# Default port (4651)
python -m githubchat_mcp_server

# Custom port
python -m githubchat_mcp_server --port 3000

The server will run on localhost using streamable-http transport.

Available Tools

githubchat_completion

Main tool that accepts query and GitHub URL parameters.

Supported GitHub URL formats:

  • Repository URLs (e.g., https://github.com/username/repo)
  • File URLs (e.g., https://github.com/username/repo/blob/main/file.md)
  • Branch URLs (e.g., https://github.com/username/repo/tree/feat/branch)
  • Wiki URLs (e.g., https://github.com/username/repo/wiki)

License

All rights reserved, Bluera Inc..

Metadata

Release files for githubchat-mcp-server 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for githubchat-mcp-server 0.2.2
File Size Uploaded
githubchat_mcp_server-0.2.2.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for githubchat-mcp-server 0.2.2
File Interpreter ABI Platform
githubchat_mcp_server-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.5 kB

Release files / githubchat_mcp_server-0.2.2.tar.gz

Download URL githubchat_mcp_server-0.2.2.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9ce5589e2732dc37bb0c20f220ecc7bed0206f635526991e5f251e1a393c355e
BLAKE2b-256 checksum
How to use checksums
eacbddacfe80ddf45c0b1fbda3f7babc0d229f91e8a5d49f2767c0606a2049ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.6

Release files / githubchat_mcp_server-0.2.2-py3-none-any.whl

Download URL githubchat_mcp_server-0.2.2-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cedad28cd8d9c61276a309a7d17681c9c2c1ed9b179ba770629bdfe132718e61
BLAKE2b-256 checksum
How to use checksums
ce8c1bc388f553e2b1c8b927e920a5b0236d587628bb1b60785b5f3a881c37e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page