MCP GitHub Reader
Provides tools for reading and analyzing GitHub repositories, including retrieving file contents, repository structure, statistics, and searching for files.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP GitHub ReaderAnalyze the repository skydeckai/mcp-server-aidd"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: code-index-mcp
Installation
Global Installation (Recommended for CLI usage)
npm install -g mcp-github-readerLocal Installation
npm install mcp-github-readerUsage
Running as a Standalone Server
# If installed globally
mcp-github-reader
# If installed locally
npx mcp-github-readerIntegration with Claude
For npm installation:
Add this to your Claude Desktop tools configuration:
"github-reader": {
"runtime": "node",
"command": "npx",
"args": [
"-y",
"mcp-github-reader"
]
}For local installation:
"github-reader-test": {
"command": "node",
"args": [
"/path/to/your/repo/src/mcp-github-reader.js"
]
}Replace /path/to/your/repo with your actual repository location.
Available Tools
The MCP server provides four powerful tools for interacting with GitHub repositories:
1. get_individual_file_content
Retrieves the content of a specific file from a GitHub repository.
Parameters:
owner: Repository owner (e.g., "skydeckai")repo: Repository name (e.g., "mcp-server-aidd")path: Path to the file within the repository (e.g., "README.md")branch(optional): Branch name (defaults to the default branch)
2. get_entire_repo_contents
Get an entire repository's content with smart filtering options.
Parameters:
owner: Repository owner (e.g., "skydeckai")repo: Repository name (e.g., "mcp-server-aidd")exclude_patterns(optional): Patterns to exclude (e.g., [".test.js", "node_modules/"])include_patterns(optional): Only include files matching these patterns (e.g., [".js", ".json", "*.md"])file_size_limit(optional): Maximum total size of response (e.g., "5m")individual_file_size_limit(optional): Skip files larger than this size (e.g., "500k")max_files(optional): Maximum number of files to include (default: 50)include_contents(optional): Whether to include file contents or just list files (default: true)use_regex(optional): Treat exclude/include patterns as regular expressions
3. analyzeRepository
Analyzes a repository, providing statistics and language breakdown.
Parameters:
repository: Repository name in owner/repo format (e.g., "skydeckai/mcp-server-aidd")includeFiles(optional): Include file list in analysis (default: false)
4. searchRepository
Searches for files matching specific patterns within a repository.
Parameters:
repository: Repository name in owner/repo format (e.g., "skydeckai/mcp-server-aidd")query: Text to search for in filenames (e.g., "function")path(optional): Filter searches to a specific path (e.g., "src")
Available Prompts
The server also includes useful prompt templates to help LLMs interact with repositories:
repositoryOverview: Analyze a repository's purpose and structurecodeExplanation: Explain code from a specific filecodeSearch: Search for patterns in a repositoryfileContent: Get content of a specific filerepositoryInfo: Get repository informationrepositoryStructure: View repository file structurebranchList: List repository branches
Examples
Retrieving individual file content
{
"name": "get_individual_file_content",
"parameters": {
"owner": "skydeckai",
"repo": "mcp-server-aidd",
"path": "README.md"
}
}Getting repository contents with filtering
{
"name": "get_entire_repo_contents",
"parameters": {
"owner": "skydeckai",
"repo": "mcp-server-aidd",
"include_patterns": ["*.js", "*.json", "*.md"],
"exclude_patterns": ["*.test.js", "node_modules/*"],
"max_files": 30
}
}Analyzing a repository
{
"name": "analyzeRepository",
"parameters": {
"repository": "skydeckai/mcp-server-aidd",
"includeFiles": true
}
}Limitations
Currently only works with public GitHub repositories
No support for private repositories or authentication
Subject to GitHub API rate limits (60 requests per hour for unauthenticated requests)
License
Apache License 2.0. See LICENSE file for details.
Copyright © 2025 SkyDeck AI Inc.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for gitingest. It allows MCP clients like Claude Desktop, Cursor, Cline etc to quickly extract information about Github repositories including repository summaries, project directory structure, file contents, etcLast updated3138MIT
- AlicenseAqualityAmaintenanceA Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setupLast updated14988MIT
- AlicenseCqualityDmaintenanceA MCP server that transforms code repositories from GitHub, GitLab, or local directories into LLM-friendly formats, preserving context and structure for better AI processing.Last updated311Apache 2.0
- AlicenseCqualityAmaintenanceA MCP server that bridges LLMs with GitHub repository management, enabling automated analysis of pull requests, issue management, tag creation, and release management through natural language.Last updated246Apache 2.0
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/skydeckai/mcp-github-reader-prod'
If you have feedback or need assistance with the MCP directory API, please join our Discord server