
X402 Repohealth Mcp
io.github.liminalpepe由 GitHub 账号 liminalpepe 发布v0.1.0更新于 Oct 24, 2026
Free MCP server: compute a GitHub repo maintenance/abandonment health score from live data.
概览
根据 GitHub 实时公开数据,计算仓库维护或弃用状况的 0-100 健康评分。
- 可以做什么
- 提供一个工具 check_repo_health,输入 GitHub 的 owner 和 repo,返回 0-100 评分以及结论:已归档、维护活跃、维护放缓或可能已弃用。评分由四个各占 25 分的维度加权组成:提交新近度、提交活跃度、issue 与 PR 响应情况、发布节奏。返回内容包含评分明细、计算出的指标(如距上次提交天数、最近 90 天提交数)以及根据实际数据生成的 reasoning 说明列表。
- 适用场景
- 适合助手在挑选依赖、库或工具时,快速判断某个仓库是否仍在维护。更适合在 MCP 客户端内进行偶尔、低频率的查询,而不是生产环境或高频使用。
- 运行要求
- 以 stdio 方式在本地运行,通常通过 npx x402-repohealth-mcp 启动,或写入 MCP 客户端配置。需要 Node.js 以及访问 GitHub 公开 REST API 的外网连接。未声明需要 API 密钥、账号或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 X402 Repohealth Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
x402-repohealth-mcp
A free MCP (Model Context Protocol) server that computes a GitHub repo maintenance/abandonment health score from live GitHub data: is a repo actively maintained, slowing down, likely abandoned, or archived? No API key, no payment, no rate-limit games — just an MCP tool any MCP client can call.
This is the open funnel twin of a paid, x402-gated HTTP API:
x402-repohealth-poc.theliminalguy.workers.dev
— GET /repo-health/:owner/:repo, $0.01 USDC on Base per call via the
x402 payment protocol, for production/high-volume or
non-MCP (plain HTTP) / agent-automated use. Same scoring logic, same
output, just billed per call instead of free-via-MCP.
Why this exists
Agents that pick dependencies, tools, or libraries need to know whether a repo is safe to depend on — actively maintained vs. slowing down vs. effectively dead — and GitHub's own API only gives raw signals (commits, issues, releases), not the decision computed from them. This MCP server is the free/local half of filling that gap — try it for nothing via MCP; reach for the paid HTTP endpoint when you need it at volume or outside an MCP client.
What it does
One tool, check_repo_health, takes a GitHub owner + repo and computes
a 0-100 health score across four weighted dimensions (commit recency,
commit activity, issue/PR responsiveness, release cadence, each 0-25
points), plus a verdict:
archived— GitHub's ownarchivedflag is true (overrides the score)actively maintained— score >= 75slowing down— score 45-74likely abandoned— score < 45
The response includes the full score breakdown, computed metrics (days
since last commit, commits in last 90 days, issue close ratio, etc.), and a
human-readable reasoning array built from the actual numbers — nothing is
hardcoded per-repo, it's fetched from GitHub's real public REST API and
scored at call time.
Install & run
Or add it to an MCP client config (e.g. Claude Desktop's
claude_desktop_config.json):
Tool: check_repo_health
Input:
Output (MCP tool text content, JSON-stringified):
Scoring detail
archived: true from GitHub overrides the score-derived verdict entirely —
an archived repo is confirmed dead by the maintainer's own action, not
merely "likely abandoned."
What's real vs. limited
- Real: every GitHub API call, the scoring math, and the MCP tool response are computed live at call time from that repo's actual GitHub data — nothing is hardcoded or mocked.
- No auth against GitHub: uses GitHub's unauthenticated public REST API
(60 requests/hour/IP shared across whoever runs this MCP server locally).
A
check_repo_healthcall costs ~3-4 GitHub requests. Fine for free/local/low-volume MCP use; the paid Worker adds aGITHUB_TOKEN(5,000 req/hr) server-side. - No caching: every call re-fetches GitHub live.
Local development
src/github.ts, src/score.ts, src/health.ts, and src/types.ts are
the same GitHub-fetch + scoring logic as the paid Worker — this MCP server
is a thin src/index.ts wrapper around getRepoHealth().
When to use the paid HTTP twin instead
Use GET /repo-health/:owner/:repo
on the paid Worker instead of this MCP server when:
- You're calling from outside an MCP client (plain HTTP, any language).
- You need production/high-volume use and want to pay per call rather than share this MCP server's unauthenticated 60 req/hr GitHub budget.
- Your agent already speaks x402 (e.g. via
x402-fetch/x402-axios) and can pay $0.01 USDC on Base per request.
Both routes call the exact same scoring function — output is identical.
License
MIT
来源:README.md,提交 fbf476b
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分