Skip to main content
Glama

GitHub チャット MCP

GitHub Chat APIを使用してGitHubリポジトリを分析およびクエリするためのモデルコンテキストプロトコル(MCP)。公式サイト: https://github-chat.com

インストール

# Install with pip
pip install github-chat-mcp

# Or install with the newer uv package manager
uv install github-chat-mcp
  1. クロードと一緒に使い始めましょう!

プロンプトの例:

  • 「github-chat-mcp を使用して React リポジトリを分析する」

  • 「github-chat-mcp で TypeScript リポジトリをインデックスし、そのアーキテクチャについて質問してください」

GitHub チャット MCP サーバー

鍛冶屋のバッジ

Related MCP server: GitHub MCP Server Plus

セットアップ手順

まず最初に、GitHub Chat APIキーをお持ちであることを確認してください。これはサービスを利用するために必要です。

まずuvをインストールします。

MacOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

ウィンドウズ:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

カーソルを使ったセットアップ(推奨)

mcp.json の場合:

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

上記はフリーミアムリリースなので、envs は必要ありません。

Claude Desktopでのセットアップ

# claude_desktop_config.json
# Can find location through:
# Hamburger Menu -> File -> Settings -> Developer -> Edit Config
# Must perform: brew install uv
{
  "mcpServers": {
    "github-chat": {
      "command": "uvx",
      "args": ["github-chat-mcp"],
      "env": {
      }
    }
  }
}

Smithery経由でインストール

Smithery 経由で Claude Desktop 用の GitHub Chat を自動的にインストールできます。

npx -y @smithery/cli install github-chat-mcp --client claude

ClaudeとGitHub Chatを使う

  1. まず GitHub リポジトリをインデックスします:「 https://github.com/username/repoで GitHub リポジトリをインデックスします」

  2. 次に、リポジトリについて質問します。「このリポジトリで使用されているコア技術スタックは何ですか?」

デバッグ

走る:

npx @modelcontextprotocol/inspector uvx github-chat-mcp

ローカル/開発環境のセットアップ手順

クローンリポジトリ

git clone https://github.com/yourusername/github-chat-mcp.git

依存関係をインストールする

まずuvをインストールします。

MacOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

ウィンドウズ:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

次に、MCP サーバーの依存関係をインストールします。

cd github-chat-mcp

# Create virtual environment and activate it
uv venv

source .venv/bin/activate # MacOS/Linux
# OR
.venv/Scripts/activate # Windows

# Install dependencies
uv sync

Claude Desktopでのセットアップ

MCP CLI SDKの使用

# `pip install mcp[cli]` if you haven't
mcp install /ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp/src/github_chat_mcp/server.py -v "GITHUB_API_KEY=API_KEY_HERE"

手動で

# claude_desktop_config.json
# Can find location through:
# Hamburger Menu -> File -> Settings -> Developer -> Edit Config
{
  "mcpServers": {
    "github-chat": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp",
        "run",
        "github-chat-mcp"
      ],
      "env": {
      }
    }
  }
}

ClaudeとGitHub Chatを使う

  1. まず GitHub リポジトリをインデックスします:「 https://github.com/username/repoで GitHub リポジトリをインデックスします」

  2. 次に、リポジトリについて質問します。「このリポジトリで使用されているコア技術スタックは何ですか?」

デバッグ

走る:

# If mcp cli installed (`pip install mcp[cli]`)
mcp dev /ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp/src/github_chat_mcp/server.py

# If not
npx @modelcontextprotocol/inspector \
      uv \
      --directory /ABSOLUTE/PATH/TO/PARENT/FOLDER/github-chat-mcp \
      run \
      github-chat-mcp

次に、MCP Inspector http://localhost:5173にアクセスします。インスペクターの環境変数GITHUB_API_KEYにGitHub APIキーを追加する必要があるかもしれません。

注記

  • ログレベルは、 FASTMCP_LOG_LEVEL環境変数を通じて調整可能です(例: FASTMCP_LOG_LEVEL="ERROR"

  • この MCP サーバーは、主に 2 つのツールを提供します。

    1. リポジトリのインデックス作成 - GitHub リポジトリのインデックス作成と分析

    2. リポジトリクエリ - インデックスされたリポジトリについて質問する

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AsyncFuncAI/github-chat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server