@kazuph/mcp-github-pera1

by kazuph

Integrations

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

GitHub MCP Server for Pera1

A Model Context Protocol server that connects GitHub code to Claude.ai. This server utilizes the Pera1 service to extract code from GitHub repositories and provide better context to Claude.

Setup

Add the following to your MCP config file (~/Library/Application Support/Claude/claude_desktop_config.json):

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

Now you can ask Claude about GitHub code repositories.

Parameters

  • url: GitHub repository URL (required)
  • dir: Filter files by directory paths (comma-separated)
  • ext: Filter files by extensions (comma-separated)
  • mode: Display mode (e.g., tree shows directory structure and README files only)
  • branch: Specify the branch to fetch from
  • file: Specify a single file to retrieve

Usage Examples

You can ask Claude questions like:

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

For specific directories:

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

For a specific file:

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

For directory structure with README files only:

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

For a specific branch:

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

License

MIT

Author

kazuph (https://x.com/kazuph)

You must be authenticated.

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

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.

A Model Context Protocol server that connects GitHub code to Claude.ai. This server utilizes the Pera1 service to extract code from GitHub repositories and provide better context to Claude.

  1. Setup
    1. Parameters
      1. Usage Examples
        1. License
          1. Author

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A server that allows AI assistants to browse and read files from specified GitHub repositories, providing access to repository contents via the Model Context Protocol.
              Last updated -
              3
              JavaScript
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI agents to retrieve and understand entire codebases at once, providing tools to analyze local workspaces or remote GitHub repositories.
              Last updated -
              9
              TypeScript
              MIT License
              • Linux
              • Apple
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that enables AI models to interact with GitHub's API, allowing for repository creation and management with descriptions, topics, and website URLs through natural language commands.
              Last updated -
              1
              JavaScript
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.
              Last updated -
              129
              Python

            View all related MCP servers

            ID: m2sd6ew3wf