@kazuph/mcp-github-pera1
by kazuph
README.md
# 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.
<a href="https://glama.ai/mcp/servers/m2sd6ew3wf"><img width="380" height="200" src="https://glama.ai/mcp/servers/m2sd6ew3wf/badge" alt="@kazuph/mcp-github-pera1 MCP server" /></a>
### Setup
Add the following to your MCP config file (`~/Library/Application Support/Claude/claude_desktop_config.json`):
```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)
TDQS
A4.4/5.0
Scored across 1 tool
Disambiguation5/5
Only one tool exists, so there is no risk of confusion between tools.
Naming Consistency5/5
The single tool follows a consistent verb_noun pattern (github_get_code).
Tool Count2/5
A single tool for code retrieval is very minimal; users might expect additional GitHub operations, making the server feel incomplete.
Completeness4/5
For the stated purpose of retrieving code from a GitHub repository, the tool covers key needs with filtering by directory, extension, branch, and single file, as well as a tree mode. Minor gap: no support for private repos or authentication details in the description.
Maintenance
ActivityInactive
ResponsivenessNo issues