@kazuph/mcp-github-pera1

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Allows to extract code from GitHub repositories and provide it as context to Claude

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

You must be authenticated.

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

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

  1. Setup
    1. Parameters
      1. Usage Examples
        1. License
          1. Author
            ID: m2sd6ew3wf