Skip to main content
Glama
repo-summary-mcp

repo-summary-mcp

by nameluqman

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

get_repo_context

Overview, README and structure in one call (best for summaries)

get_repo_overview

Description, topics, language mix, stars, forks, license, last push

get_repo_readme

README text, trimmed to 6,000 characters

get_repo_structure

Top-level folders and files, plus key files (package.json, pyproject.toml, Dockerfile, ...)

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]"
pytest

License

MIT

Available Tools

4 tools
get_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

    A3.6/5.0

    Scored across 4 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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 npm
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to perform GitHub analytics and management tasks, including repository analysis, PR summarization, issue triage, release notes generation, and contributor statistics.
      47 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
    • A
      license
      A
      quality
      C
      maintenance
      Enables 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.
      4
      39 npm
      1
      MIT