repo-summary-mcp
Provides tools to read public GitHub repositories on the user's behalf, returning repository overview metadata, README text, language mix, and top-level file/folder structure so an assistant can summarize the repository.
Click on "Deploy 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., "@repo-summary-mcp Summarize https://github.com/psf/requests in one paragraph."
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.
repo-summary-mcp
An MCP server that lets an AI assistant read any public GitHub repository and explain it in one short paragraph.
Paste a repo link into Claude (or any MCP client) and ask for a summary. The server fetches the description, README, languages and file structure from GitHub. Your assistant writes the summary.
No extra API key and no LLM cost: the server only collects facts. The assistant you already use does the summarizing.
Example
You: Summarize https://github.com/psf/requests
Assistant: (calls
get_repo_context, then answers in one paragraph)
Related MCP server: mcp-github-tools
Tools
Tool | What it returns |
| Overview, README and structure in one call (best for summaries) |
| Description, topics, language mix, stars, forks, license, last push |
| README text, trimmed to 6,000 characters |
| Top-level folders and files, plus key files ( |
There is also a summarize_repo prompt that asks for a one-paragraph summary of a link.
Accepted link formats: https://github.com/owner/repo, github.com/owner/repo, owner/repo, links ending in .git, and /tree/<branch> links.
Install
pip install repo-summary-mcp
{ "mcpServers": { "repo-summary": { "command": "uvx", "args": ["repo-summary-mcp"] } } }Claude Desktop
Add this to your Claude Desktop config file (claude_desktop_config.json):
{
"mcpServers": {
"repo-summary": {
"command": "repo-summary-mcp"
}
}
}Restart Claude Desktop, then ask: "Summarize https://github.com/owner/repo in one paragraph."
Optional: higher rate limit
GitHub allows about 60 unauthenticated requests per hour. To raise that, set a GITHUB_TOKEN environment variable. A token with no special permissions is enough, since only public data is read:
{
"mcpServers": {
"repo-summary": {
"command": "repo-summary-mcp",
"env": { "GITHUB_TOKEN": "your_token_here" }
}
}
}Privacy
Only public repositories are read, using GitHub's public API. Nothing is stored. Private repos return a "not found" error.
Development
git clone https://github.com/nameluqman/repo-summary-mcp
cd repo-summary-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytestLicense
MIT
Available Tools
4 toolsget_repo_contextA
Get everything needed to summarize a public GitHub repo in one call: overview (description, topics, languages, stars, license), README text, and file structure. Pass a link such as https://github.com/owner/repo.
Inputs: url (required).
get_repo_overviewA
Get a public GitHub repo's description, topics, language mix, stars, forks, license, last push date, and whether it is a fork or archived.
Inputs: url (required).
get_repo_readmeB
Get a public GitHub repo's README text (trimmed to a safe length).
Inputs: url (required).
get_repo_structureB
Get a public GitHub repo's top-level folders and files, plus key files such as package.json, pyproject.toml, requirements.txt or Dockerfile.
Inputs: url (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
get_repo_overview, get_repo_readme, and get_repo_structure each target a clearly distinct slice of repo data, but get_repo_context is a strict superset of all three, so an agent may be unsure whether to call the aggregate or the atomic tools (e.g., for caching or partial failures). Descriptions mitigate this by framing context as the 'one call' summarization path, keeping overlap manageable.
All four tools use the same get_repo_<noun> snake_case pattern with predictable suffixes (context/overview/readme/structure). No mixed conventions or vague verbs.
Four tools is well-scoped for a 'summarize a repo' server and each maps to a real need. The count is slightly inflated by the aggregate tool duplicating the three atomic ones, but it is a deliberate convenience layer rather than bloat.
The surface covers the core summarization lifecycle: metadata, README, and structure, plus a combined call, with no dead ends for the stated purpose. Minor gaps exist (no commit/contributor activity, releases, or individual file content fetches), which agents can work around but limit deeper summaries.
Maintenance
Related MCP Connectors
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
GitHub repo search, stats, language breakdown and comparison as agent tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to analyze GitHub repository structures and read file contents with features like directory traversal, file type analysis, syntax highlighting, and code pattern detection. Supports both public and private repositories through GitHub API integration.7 npmApache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform GitHub analytics and management tasks, including repository analysis, PR summarization, issue triage, release notes generation, and contributor statistics.47 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude to analyze any public GitHub repository through typed, focused tools that surface metadata, README content, file structure, detected tech stack, and Mermaid architecture diagrams. It lets users explore repo purpose, structure, and dependencies via natural language without manual browsing.MIT
- AlicenseAqualityCmaintenanceEnables AI agents to analyze public GitHub repositories directly through tools for repo health scoring, recent commit summaries, good first issue discovery, and semantic Q&A over docs and issues.439 npm1MIT