Feedback

MCP GitHub Reader

@skydeckai Claim

Basic information

Runtime
node
Category
License
Apache-2.0
Transports
stdio
Author
skydeckai
Submitted by
Community
Quality
35
Stars
6

About MCP GitHub Reader Server

Bring github repos into context using this mcp server

MCP GitHub Reader is a MCP server in the Version Control category listed in the AddMCP.net directory, published by skydeckai. It exposes 4 tools, including get_individual_file_content, get_entire_repo_contents, analyzeRepository, searchRepository. Supported transport: stdio. Runtime: node. License: Apache-2.0. The repository has 6 GitHub stars. Source code is hosted on github.com. Related topics: api, github, mcp-server.

Setup

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

MCP GitHub Reader config

Add this server to your MCP-compatible client using the configuration below.

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

MCP GitHub Reader tools

  • get_individual_file_content
    owner:string*, repo:string*, path:string*, branch:string
  • get_entire_repo_contents
    owner:string*, repo:string*, exclude_patterns:array, include_patterns:array, file_size_limit:string, individual_file_size_limit:string, max_files:number, include_contents:boolean, use_regex:boolean
  • analyzeRepository
    repository:string*, includeFiles:boolean
  • searchRepository
    repository:string*, query:string*, path:string

Overview

What is MCP GitHub Reader?

MCP GitHub Reader is a lightweight Model Context Protocol (MCP) server that brings GitHub repositories into context for large language models. It works directly with GitHub’s API, requires no local cloning, and is compatible with any LLM client supporting MCP.

How to use MCP GitHub Reader?

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.

Key features of MCP GitHub Reader

  • 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

Use cases of MCP GitHub Reader

  • Analyze a public repository’s structure and purpose
  • Retrieve the content of a specific file without cloning
  • Search for files matching a pattern within a repository
  • Get repository statistics and language breakdown
  • Filter repository contents to include or exclude certain files

Frequently asked questions

1 What is MCP GitHub Reader?

It is an MCP server that provides tools and prompts for LLMs to access and analyze public GitHub repositories via the GitHub API.

2 Can I use MCP GitHub Reader with private repositories?

No, currently it only works with public GitHub repositories and does not support authentication or private repos.

3 What are the rate limits?

Unauthenticated requests are subject to GitHub’s default rate limit of 60 requests per hour.

4 Do I need to install extra software?

You need Node.js and npm. The server is installed via npm and runs as a standalone process.

5 Does MCP GitHub Reader clone repositories?

No, it works entirely through the GitHub API and does not perform any local cloning.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬