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
):
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 fromfile
: Specify a single file to retrieve
Usage Examples
You can ask Claude questions like:
For specific directories:
For a specific file:
For directory structure with README files only:
For a specific branch:
License
MIT
Author
kazuph (https://x.com/kazuph)
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.
Tools
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.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that enables AI assistants like Claude to interact with GitHub repositories, issues, and pull requests.Last updated -6Python
- -securityFlicense-qualityModel Context Protocol server that enables Claude to retrieve and analyze code from GitHub repositories through the uithub API.Last updated -815JavaScript
- -securityAlicense-qualityA Model Context Protocol server that enables seamless integration between Claude AI and development tools like VSCode, Augment, Vercel, Airtable, and Square.Last updated -TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that gives Claude access to multiple AI models (Gemini, OpenAI, OpenRouter) for enhanced code analysis, problem-solving, and collaborative development through AI orchestration with conversations that continue across tasks.Last updated -5,417Python