- Explore MCP Servers
- mcp-github-pera1
Mcp Github Pera1
What is Mcp Github Pera1
mcp-github-pera1 is a Model Context Protocol server that connects GitHub code to Claude.ai, utilizing the Pera1 service to extract code from GitHub repositories and enhance context for Claude.
Use cases
Use cases include asking Claude for information about specific repositories, analyzing components in directories, retrieving specific files, and exploring directory structures.
How to use
To use mcp-github-pera1, add the specified configuration to your MCP config file. After setup, you can query Claude about GitHub repositories using various parameters such as URL, directory, file, and branch.
Key features
Key features include the ability to filter files by directory paths and extensions, specify branches, and retrieve specific files or directory structures, enhancing the interaction with GitHub repositories.
Where to use
mcp-github-pera1 can be used in software development environments where integration with GitHub repositories is necessary, particularly for enhancing AI interactions with code.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Github Pera1
mcp-github-pera1 is a Model Context Protocol server that connects GitHub code to Claude.ai, utilizing the Pera1 service to extract code from GitHub repositories and enhance context for Claude.
Use cases
Use cases include asking Claude for information about specific repositories, analyzing components in directories, retrieving specific files, and exploring directory structures.
How to use
To use mcp-github-pera1, add the specified configuration to your MCP config file. After setup, you can query Claude about GitHub repositories using various parameters such as URL, directory, file, and branch.
Key features
Key features include the ability to filter files by directory paths and extensions, specify branches, and retrieve specific files or directory structures, enhancing the interaction with GitHub repositories.
Where to use
mcp-github-pera1 can be used in software development environments where integration with GitHub repositories is necessary, particularly for enhancing AI interactions with code.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
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.,treeshows directory structure and README files only)branch: Specify the branch to fetch fromfile: 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)
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










