Skip to main content
Glama
kazuph
by kazuph

Pera1 用 GitHub MCP サーバー

GitHubコードをClaude.aiに接続するモデルコンテキストプロトコルサーバー。このサーバーはPera1サービスを利用してGitHubリポジトリからコードを抽出し、Claudeに適切なコンテキストを提供します。

設定

MCP 構成ファイル ( ~/Library/Application Support/Claude/claude_desktop_config.json ) に次の内容を追加します。

{ "mcpServers": { "github": { "command": "npx", "args": ["-y", "@kazuph/mcp-github-pera1"] } } }

これで、Claude に GitHub コード リポジトリについて質問できるようになりました。

パラメータ

  • url : GitHubリポジトリのURL(必須)

  • dir : ディレクトリパス(カンマ区切り)でファイルをフィルタリングする

  • ext : 拡張子でファイルをフィルタリングする(カンマ区切り)

  • mode : 表示モード (例: treeディレクトリ構造と README ファイルのみを表示します)

  • branch : 取得するブランチを指定する

  • file : 取得するファイルを1つ指定する

使用例

クロードに次のような質問をすることができます:

Tell me about the implementation of GitHub repository https://github.com/username/repository

特定のディレクトリの場合:

Explain the components in https://github.com/username/repository?dir=src/components

特定のファイルの場合:

Show me the Button component from https://github.com/username/repository?file=src/components/Button.tsx

README ファイルのみを含むディレクトリ構造の場合:

Show me the structure of https://github.com/username/repository?mode=tree

特定のブランチの場合:

Analyze the develop branch of https://github.com/username/repository?branch=develop

ライセンス

マサチューセッツ工科大学

著者

カズフ( https://x.com/kazuph

One-click Deploy
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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/kazuph/mcp-github-pera1'

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