Command Palette

Search for a command to run...

UnylyUnyly
Browse all

GitHub Repo Extractor

FreeStale (361d)

Connects to GitHub repositories, enabling natural language queries about code structure, dependencies, and development history.

GitHubEmbed

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.

@kazuph/mcp-github-pera1 MCP server

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., 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)

from github.com/kazuph/mcp-github-pera1

Install GitHub Repo Extractor in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install github-repo-extractor

Installs 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-pera1

Step-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

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