GitHub Repository Analyzer
GitHub リポジトリ アナライザー MCP サーバー
大規模言語モデルによるGitHubリポジトリのリアルタイム分析を可能にするモデルコンテキストプロトコル(MCP)サーバー。このサーバーは、リポジトリ情報の取得、問題の分析、ドキュメントへのアクセス、アクティビティの可視化のためのツールを提供します。
特徴
リポジトリ情報ツール: GitHub リポジトリに関する基本的なメタデータを取得します
問題分析ツール: リポジトリの問題を一覧表示して分類する
README アクセスリソース: アクセスリポジトリのドキュメント
コミット履歴ツール:最近のコード変更を分析する
アクティビティ分析ツール: リポジトリアクティビティメトリックを計算する
可視化ツール: リポジトリのアクティビティを視覚的に表すチャートを作成する
Related MCP server: GitHub MCP TypeScript SDK Server
前提条件
Python 3.10以上
GitHubアカウントと個人アクセストークン
インストール
このリポジトリをクローンします:
git clone <repository-url>
cd github-repo-analyzer仮想環境を作成してアクティブ化します。
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate依存関係をインストールします:
pip install -r requirements.txtGitHub API トークンを使用して
.envファイルを作成します。
cp .env.example .env.envファイルを編集し、 your_github_token_here実際の GitHub 個人アクセス トークンに置き換えます。
使用法
サーバーの実行
MCP インスペクターを使用して開発モードでサーバーを起動するには:
mcp dev src/server.pyこれにより、ブラウザに Web インターフェイスが開き、サーバーのツールをテストできるようになります。
Claude Desktopへの登録
サーバーをClaude Desktopに登録するには:
mcp install src/server.py登録後、Claude Desktopを再起動してください。GitHubリポジトリに関する質問をClaudeに送ることで、GitHubリポジトリアナライザーとやり取りできるようになります。
クロードの例題
「GitHub リポジトリ 'modelcontextprotocol/python-sdk' を分析して、その目的とアクティビティ レベルについて教えていただけますか?」
「'openai/openai-python' リポジトリで未解決の問題のトップ 5 は何ですか?」
「'anthropics/anthropic-sdk-python' リポジトリは過去 30 日間でどの程度アクティブでしたか?」
「'microsoft/TypeScript' リポジトリの README を読んで、その主な機能について説明してください。」
「過去 60 日間の 'facebook/react' のコミット アクティビティを示すグラフを生成します。」
発達
プロジェクト構造
github-repo-analyzer/
├── src/
│ ├── github_tools.py # GitHub API client implementation
│ └── server.py # MCP server implementation
├── requirements.txt # Dependencies
├── .env.example # Example environment variables
├── .gitignore # Git ignore file
└── README.md # Project documentation新しいツールの追加
サーバーに新しいツールを追加するには、次の手順に従います。
github_tools.pyのGitHubAPIClientクラスに必要な機能を追加します。@server.toolデコレータを使用して、server.pyでツールを MCP サーバーに登録します。MCP Inspectorを使用してツールをテストする
テスト
サーバーをテストするには、「使用方法」セクションの説明に従ってMCP Inspectorを使用してください。GitHub APIクライアント機能のユニットテストを作成することもできます。
セキュリティに関する考慮事項
GitHub APIトークンをバージョン管理にコミットしないでください
GitHubトークンに必要な最小限のスコープを使用する
GitHub APIのレート制限に注意してください
ライセンス
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to analyze GitHub repository structures and read file contents with features like directory traversal, file type analysis, syntax highlighting, and code pattern detection. Supports both public and private repositories through GitHub API integration.11Apache 2.0
- FlicenseNot gradedqualityDmaintenanceProvides comprehensive access to GitHub repositories, issues, pull requests, commits, user profiles, and statistics through 10 tools with natural language query support and advanced search capabilities.
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to analyze GitHub repositories, including fetching repository details, searching, and retrieving README content.4522ISC
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with GitHub repositories, issues, pull requests, code, and more through a comprehensive set of tools.
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Repo intel for AI coding agents: overview, PRs, contributors, hot files, CI, deps. Remote MCP.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/jar285/github_mcp_analyzer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server