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)
GitHub MCP Server for Pera1
Project Details
- kazuph/mcp-github-pera1
- @kazuph/mcp-github-pera1
- MIT License
- Last Updated: 4/3/2025
Recomended MCP Servers
这是一个针对于MySQL开发的MCP,该项目旨在帮助用户快速且精确的查询MySQL数据库中的内容
An MCP server that provides real-time access to Chainlink's decentralized on-chain price feeds.
Solana Model Context Protocol (MCP) Demo
MCP Server for Spinnaker integrations.
A minimal posthog mcp to retrive insights and add annotations
Moneybird MCP Server - AI-powered bookkeeping
🔍 Enable AI assistants to search, access, and analyze academic papers through Sci-Hub using a simple MCP interface.
A Cloudflare Worker that serves as an MCP (Model Context Protocol) server for code explanation. It analyzes and...
A Model Context Protocol (MCP) server for research and documentation assistance using Perplexity AI. Won 1st @ Cline...
A Model Context Protocol (MCP) implementation for Splunk Enterprise and Cloud integration with Cursor IDE or Claude





