Skip to content
MCP server
Registry

github-repo-mcp MCP Server

MCP server for GitHub repo health, commit summaries, issue triage, and RAG Q&A.

github-repo-mcp scores 62 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 4 tools. Filed under Version control, AI and memory. GitHub shows 1 stars. Package registries report about 38 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by thedhruv-07MITTypeScript1 stars
Trust score
62Good
Trust score 62 of 100, Good

Good trust

62 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 62 comes from

22 + 15 + 1 + 10 + 4 + 10 = 62. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "thedhruv-07-github-repo-mcp": {      "command": "npx",      "args": [        "-y",        "@thedhruv07/github-repo-mcp@0.1.0"      ],      "env": {        "GITHUB_TOKEN": "YOUR_GITHUB_TOKEN",        "VOYAGE_API_KEY": "YOUR_VOYAGE_API_KEY",        "QDRANT_URL": "",        "QDRANT_API_KEY": "YOUR_QDRANT_API_KEY"      }    }  }}

Environment variables

NameRequiredNotes
GITHUB_TOKENSecretOptionalGitHub personal access token (classic, no scopes needed for public repos). Raises the rate limit from 60/hr to 5000/hr. https://github.com/settings/tokens
VOYAGE_API_KEYSecretRequiredVoyage AI API key, required for ask_repo's embeddings. Free tier at https://dashboard.voyageai.com/
QDRANT_URLRequiredQdrant Cloud cluster URL, required for ask_repo's vector storage. Free tier at https://cloud.qdrant.io/
QDRANT_API_KEYSecretRequiredAPI key for your Qdrant Cloud cluster.

Tools4Tool docs quality grade C

All capabilities
  • Free-text Q&A over README + docs/.md + top issue threads via embeddings-based semantic search (Voyage AI + Qdrant cosine similarity).

  • Finds beginner-labeled issues, scores each for genuine clarity, and flags ones that look mislabeled (e.g. touches core architecture despite the "good first issue" tag).

  • Deterministic 0–100 health score from commit recency, issue-triage ratio, and contributor count. Flags archived repos immediately.

  • Groups commits from the last N days by type (feature/fix/docs/refactor/chore) for a quick "what changed" view.

About

github-repo-mcp

An MCP (Model Context Protocol) server that lets any AI agent — Claude Desktop, Claude Code, Cursor — reason about a public GitHub repository directly, instead of the human manually reading READMEs, commit logs, and issue trackers.

Why this exists

Evaluating an unfamiliar repo ("is this actively maintained? is this issue actually beginner-friendly? what changed recently?") is repetitive manual work every developer does. This server turns that into four callable tools any MCP-compatible agent can use.

Tools

ToolWhat it does
get_repo_healthDeterministic 0–100 health score from commit recency, issue-triage ratio, and contributor count. Flags archived repos immediately.
summarize_recent_commitsGroups commits from the last N days by type (feature/fix/docs/refactor/chore) for a quick "what changed" view.
find_good_first_issuesFinds beginner-labeled issues, scores each for genuine clarity, and flags ones that look mislabeled (e.g. touches core architecture despite the "good first issue" tag).
ask_repoFree-text Q&A over README + docs/*.md + top issue threads via embeddings-based semantic search (Voyage AI + Qdrant cosine similarity).

Setup

npm install
cp .env.example .env
# Add a GitHub personal access token to .env — raises the rate limit from 60/hr to 5000/hr.
# No special scopes needed for public repo data: https://github.com/settings/tokens
#
# ask_repo also needs, both free tier:
#   VOYAGE_API_KEY  — https://dashboard.voyageai.com/ (API Keys -> Create new key)
#   QDRANT_URL, QDRANT_API_KEY — https://cloud.qdrant.io/ (create a free cluster)
npm run build

Running locally with Claude Desktop

Add this to your Claude Desktop MCP config (claude_desktop_config.json):

{
  "mcpServers": {
    "github-repo-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/github-repo-mcp/build/index.js"],
      "env": { "GITHUB_TOKEN": "your_token_here" }
    }
  }
}

Restart Claude Desktop, then try: "Use github-repo-mcp to check the health of facebook/react and find me a good first issue."

Architecture notes

  • GitHub API, not scraping — clean, documented, generously rate-limited with a token.
  • Deterministic scoring, generative explanation — get_repo_health's score is a fixed formula (recency + issue triage + contributor diversity), not an LLM guess. This keeps the number reproducible; an LLM (in the calling agent) can narrate why on top of it.
  • Mislabel detection in find_good_first_issues — real "good first issue" labels are often wrong. The tool checks body length, red-flag keywords (architecture, migration, security), and comment count to catch issues that are mislabeled, not just present them at face value.

Demo

See docs/demo.md for a real (not mocked) protocol exchange against facebook/react, including the embeddings-based ask_repo retrieving the correct answer for a query that shares no words with the source text.

How ask_repo retrieval works

ask_repo started as keyword-window retrieval over the README (see git history) and was upgraded to embeddings-based RAG, implemented in src/rag.ts:

  1. On first query for a repo, chunk README + docs/*.md (top-level, cap 15 files) + top 8 most-discussed issue threads (title + body, ~500-word chunks, 50-word overlap)
  2. Embed each chunk with Voyage AI (voyage-3.5-lite)
  3. Store vectors in Qdrant Cloud, one collection per repo (repo_<owner>_<name>)
  4. On every query: embed the question, cosine-similarity search top-5 chunks
  5. Subsequent queries for the same repo skip re-indexing (checked via the collection's points_count) — only the query itself gets embedded

Why embeddings over keyword matching: keyword overlap requires literal shared words — "how do I install React?" and a README section titled "Getting Started" share zero words and would never match. Embeddings place semantically similar text near each other in vector space regardless of exact wording, so retrieval survives paraphrasing and synonyms — the actual failure mode keyword search hits in practice.

Known simplifications (marked ponytail: in src/rag.ts), each with a stated upgrade path:

  • Issue threads index title+body only, not the full comment discussion (avoids one extra API call per issue) — fetch /issues/{n}/comments if answers need to reflect resolution discussion, not just the original report.
  • Chunk sizing uses word count as a token-count approximation, not a real tokenizer.
  • No staleness check — a repo indexed once stays indexed even if its docs change. Add a TTL or a pushed_at check against the stored index if content goes stale.

License

MIT

Frequently asked questions

What is github-repo-mcp MCP Server?

MCP server for GitHub repo health, commit summaries, issue triage, and RAG Q&A.

How do I install github-repo-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. github-repo-mcp MCP Server runs locally from the npm package @thedhruv07/github-repo-mcp with the command npx -y @thedhruv07/github-repo-mcp@0.1.0.

Is github-repo-mcp MCP Server free and open source?

Yes. github-repo-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does github-repo-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for github-repo-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does github-repo-mcp MCP Server provide?

github-repo-mcp MCP Server provides 4 tools: ask_repo, find_good_first_issues, get_repo_health, and summarize_recent_commits. See the full tool list for descriptions and parameters.

How is github-repo-mcp MCP Server's trust score calculated?

github-repo-mcp MCP Server scores 62 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server