
Github Repo Mcp
io.github.thedhruv-07Published by GitHub account thedhruv-07v0.1.0Updated Oct 24, 2026
MCP server for GitHub repo health, commit summaries, issue triage, and RAG Q&A.
Overview
Lets an assistant assess a public GitHub repository's health, recent commits, beginner issues, and answer questions about its docs.
- What you can do
- Provides four tools for reasoning about a public GitHub repo. get_repo_health returns a deterministic 0-100 score from commit recency, issue-triage ratio, and contributor count, flagging archived repos. summarize_recent_commits groups commits from the last N days by type. find_good_first_issues finds beginner-labeled issues, scores their clarity, and flags likely mislabeled ones. ask_repo answers free-text questions over the README, docs files, and top issue threads using embeddings-based semantic search.
- When to use it
- Useful when evaluating an unfamiliar repository: checking whether it is actively maintained, what changed recently, whether an issue is genuinely beginner-friendly, or asking questions about its documentation without reading everything manually.
- Requirements
- Runs locally as an npm package via stdio, so Node.js is needed. GITHUB_TOKEN is optional but raises the GitHub rate limit from 60/hr to 5000/hr. ask_repo additionally requires QDRANT_URL, QDRANT_API_KEY, and VOYAGE_API_KEY. Network access to GitHub, Voyage AI, and Qdrant Cloud is required.
Installation
In SourceWeft
- Open Github Repo Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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
Setup
Running locally with Claude Desktop
Add this to your Claude Desktop MCP config (claude_desktop_config.json):
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:
- 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) - Embed each chunk with Voyage AI (
voyage-3.5-lite) - Store vectors in Qdrant Cloud, one collection per repo (
repo_<owner>_<name>) - On every query: embed the question, cosine-similarity search top-5 chunks
- 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}/commentsif 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_atcheck against the stored index if content goes stale.
License
MIT
Source: README.md at commit c57f171
Tools
0Version history
1- v0.1.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts