oss-contribution-advisor-mcp
An MCP server that helps developers find open-source issues worth contributing to by semantically matching interests, scoring repository health, and ranking by real downstream impact.
README
OSS Contribution Advisor — MCP Server
An MCP server that helps developers find open-source issues genuinely worth contributing to — not just issues tagged "good first issue," but ones that match their interests, come from a healthy/responsive repo, and have real downstream impact.
Why this exists
Existing "find your first OSS issue" tools filter by label only. This server answers three questions a label can't:
- Does this match what I actually want to work on? — semantic search over open issues (local sentence-embeddings), not keyword/label matching.
- Is this repo actually a good place to spend my time? — health score based on maintainer responsiveness and first-time-contributor merge rate.
- Does this repo matter? — ranks by real downstream reach via libraries.io's dependents graph (how many other packages depend on this one) — not just GitHub stars.
Tools
| Tool | Purpose |
|---|---|
match_issues_semantically |
Free-text interest → ranked list of matching open issues, using local sentence-embeddings. |
score_repo_fit |
Given a repo, scores maintainer responsiveness, PR merge rate, doc completeness, and recent activity into a 0-100 fit score. |
find_impact_multiplier_repos |
Ranks a given repo shortlist — or self-searches by language if none given — by real downstream dependents (libraries.io), falling back to a stars/forks proxy if unconfigured. |
Caching design
Two genuinely different cache policies, because the underlying data has two different change patterns — using one TTL for everything would either waste API calls (too short) or serve stale data (too long):
| Cache | Key | Lifetime | Why |
|---|---|---|---|
Search results (match_issues_semantically) |
GitHub search query string | 20 min TTL | Open issues genuinely change often, but repeated calls in a short window shouldn't re-hit the API. |
Issue embeddings (match_issues_semantically) |
(issue_id, updated_at) |
No TTL — invalidated by updated_at changing |
Unedited issue text is embedded exactly once, ever, and reused across every user/query that pulls it into their candidate pool. If the issue is edited, updated_at changes, so the cache key changes and it's naturally recomputed — no manual invalidation logic needed. |
Repo impact data (find_impact_multiplier_repos) |
repo full_name |
24h TTL | Dependents counts / stars change slowly; no need to hit libraries.io or GitHub on every call. |
All caching is a single local SQLite file (~/.cache/oss-contribution-advisor-mcp/cache.sqlite3 by default, override with CACHE_DB_PATH) — no external cache service required, so the server stays a single downloadable package.
libraries.io integration (Tool 3)
GitHub's API only exposes stars/forks — social proof, not real usage. libraries.io aggregates package metadata across ~30 registries (PyPI, npm, crates.io, RubyGems, etc.) and tracks, for each published package, how many other packages declare it as a dependency.
find_impact_multiplier_repos calls
GET https://libraries.io/api/github/{owner}/{repo}/projects to find every
package linked to a GitHub repo and sums their dependents_count. A repo
with modest stars can still be a load-bearing dependency for tens of
thousands of other packages — that's a stronger "does my fix matter" signal
than stars, and libraries.io is the only free source for it.
If LIBRARIES_IO_API_KEY is unset, or a repo isn't published to any
registry (e.g. it's an app, not a library), the tool degrades gracefully to
a GitHub stars/forks proxy rather than failing — every result includes a
signal_source field so it's clear which one was used.
Get a free key at https://libraries.io/api (60 req/min).
Setup
git clone https://github.com/sonali1103/oss-contribution-advisor-mcp
cd oss-contribution-advisor-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e .
cp .env.example .env # add GITHUB_TOKEN and LIBRARIES_IO_API_KEY
Running
As an HTTP-streamable server (default — for remote hosting):
oss-contribution-advisor-mcp
# or: python -m oss_contribution_advisor.server
# serves on http://0.0.0.0:8000 by default (override with MCP_PORT)
Over stdio (for local Claude Desktop use):
MCP_TRANSPORT=stdio oss-contribution-advisor-mcp
# or: fastmcp run -m oss_contribution_advisor.server
Connect to Claude Desktop (stdio)
{
"mcpServers": {
"oss-contribution-advisor": {
"command": "oss-contribution-advisor-mcp",
"env": { "MCP_TRANSPORT": "stdio" }
}
}
}
Connect to a remote HTTP deployment
Once deployed (see below), point any MCP-HTTP-capable client at:
https://<your-deployment-url>/mcp
FastMCP Cloud: connect this GitHub repo directly at
fastmcp.cloud — it detects pyproject.toml and
src/oss_contribution_advisor/server.py and deploys it as an HTTP-streamable
server automatically. Set GITHUB_TOKEN and LIBRARIES_IO_API_KEY as
environment variables in the deployment dashboard.
Example queries to try
- "I'm a Python developer who likes async code and API design — find me an issue to work on."
→ chains
match_issues_semantically→score_repo_fiton the surfaced repos - "Is
encode/httpxa good repo for a first-time contributor?" → callsscore_repo_fitdirectly - "Between httpx, django, and fastapi, which has the most real-world reach?"
→ calls
find_impact_multiplier_reposwithcandidate_repos - "Give me high-impact Python repos to contribute to."
→ calls
find_impact_multiplier_reposwithlanguage="python"(self-search mode)
Known simplifications
Built as a scoped demo project, not a production tool at scale:
- Merge rate in
score_repo_fitis computed over a sample of recently closed PRs, not strictly filtered to first-time contributors (that needs a per-author commit-history lookup per PR — expensive for a 30-PR sample). - SQLite cache is fine for a single-process server; a multi-instance deployment would want Redis/Postgres instead to share cache state.
- No auth on the HTTP endpoint — fine for a personal/demo deployment, add an API key or OAuth layer before exposing this publicly at scale.
Stack
- fastmcp — MCP server framework (stdio + HTTP-streamable transport)
sentence-transformers(all-MiniLM-L6-v2) — local embeddings, no API key needed- GitHub REST API — live issue/repo data
- libraries.io API — downstream dependents data
- SQLite — local caching layer
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。