MCP GitHub Reader

by skydeckai

6 stars
365 downloads
Not rated
GitHub

About

Bring github repos into context using this mcp server

Details

Author
skydeckai
GitHub stars
6
Downloads
365
Categories
Developer Tools, API

- API-based: no local repository cloning required
- Repository analysis with statistics and language breakdown
- File access: retrieve individual file contents or entire repo structures
- Smart filtering with glob and regex patterns
- Cache-enabled to help avoid GitHub API limits
- Search capabilities for files matching specific patterns
- Ready-to-use prompt templates for common analysis tasks

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP GitHub Reader
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install globally (npm install -g mcp-github-reader) or locally. Run as a standalone server with mcp-github-reader (global) or npx mcp-github-reader (local). For Claude Desktop, add a JSON entry with the appropriate command and arguments.

get_individual_file_content

get_entire_repo_contents

analyzeRepository

searchRepository

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp github reader": {
            "mcp-github-reader-prod": {
                "command": "npx",
                "args": [
                    "mcp-github-reader"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-github-reader-prod": {
        "command": "npx",
        "args": [
            "mcp-github-reader"
        ]
    }
}

MCP GitHub Reader

A lightweight Model Context Protocol (MCP) server for bringing GitHub repositories into context for large language models.

Features

- API-based: No local repository cloning required - works directly with GitHub's API
- Repository Analysis: Get overview and statistics for any GitHub repository
- File Access: Retrieve individual file contents or entire repository file structures
- Smart Filtering: Include or exclude files with glob and regex patterns
- Cache-enabled: Smart caching and optimized request patterns to avoid GitHub API limits
- Search Capabilities: Find files matching specific patterns within repositories
- MCP Compatible: Works with any LLM client supporting the Model Context Protocol
- Prompt Templates: Ready-to-use prompt templates for common repository analysis tasks

Installation

Global Installation (Recommended for CLI usage)

npm install -g mcp-github-reader

Local Installation

npm install mcp-github-reader

Usage

Running as a Standalone Server

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.