GitHub Repo Extractor
FreeStale (361d)Connects to GitHub repositories, enabling natural language queries about code structure, dependencies, and development history.
About
Connects to GitHub repositories, enabling natural language queries about code structure, dependencies, and development history.
README
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)
Install GitHub Repo Extractor in Claude Desktop, Claude Code & Cursor
unyly install github-repo-extractorInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add github-repo-extractor -- npx -y @kazuph/mcp-github-pera1Step-by-step: how to install GitHub Repo Extractor
FAQ
Is GitHub Repo Extractor MCP free?
Yes, GitHub Repo Extractor MCP is free — one-click install via Unyly at no cost.
Does GitHub Repo Extractor need an API key?
No, GitHub Repo Extractor runs without API keys or environment variables.
Is GitHub Repo Extractor hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install GitHub Repo Extractor in Claude Desktop, Claude Code or Cursor?
Open GitHub Repo Extractor on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Changes
Versions and requested access over time.
- New version published
- New version published
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare GitHub Repo Extractor with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
