Git.Top

io.github.haocn-ops由 GitHub 帳號 haocn-ops 發布v0.1.1更新於 Oct 24, 2026

Evidence-backed open-source project search, recommendations, alternatives, and comparisons.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取知識與記憶開發者工具

概覽

AI 產生的概覽

Git.Top 是基於開源專案知識圖譜的遠端 MCP 伺服器,讓助理探索、比較、推薦並解釋 GitHub 儲存庫

可以做什麼
依類別、部署目標與使用情境探索開源 AI 專案,並瀏覽生態地圖與熱門專案。以決策摘要、排名訊號與取捨比較專案候選清單。尋找替代專案與相關專案,並探索相依性、部署與使用情境等關聯。解釋專案的 Git.Top Score、Agent Score、品質訊號、風險標記與依據。搜尋結構化專案知識,並取得附來源中繼資料的單一專案紀錄。
適用情境
適合助理需要篩選、比較或說明開源選型的場合,例如為特定部署目標挑選瀏覽器自動化或 RAG 專案,或解釋某個儲存庫為何排名較高。
執行需求
位於 git.top 的遠端 MCP 端點,透過 streamable HTTP 連線;README 建議首次連線使用精簡的 /mcp/core 設定。MCP 端點未宣告需要帳號、API 金鑰或環境變數。需要能連線至 git.top 的網路。
安裝前請注意
伺服器回傳第三方專案資料與評分;排名與推薦應視為有依據的建議,而非已核實的事實。README 另記錄由 SYNC_SECRET 與 GITHUB_TOKEN 保護的維運同步端點,這些僅屬營運方自建部署,使用託管 MCP 端點時無須提供。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Git.Top,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.haocn-ops%2Fgit-top/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "git-top": {
      "type": "http",
      "url": "https://git.top/mcp/core/source/mcp-registry?source=mcp-registry"
    }
  }
}

README

Git.Top

The Knowledge Graph of Open Source.

GitHub provides code. Git.Top provides knowledge.

Git.Top turns unstructured GitHub repository data into structured project knowledge that humans and AI agents can search, compare, recommend, score, and call through REST APIs or MCP tools.

The Cloudflare Worker is the only product surface. It serves the human HTML pages, REST APIs, MCP endpoint, GitHub sync, and D1-backed knowledge data.

Production: git.top

Repository: github.com/haocn-ops/git-top

Connect An Agent

Use the focused MCP profile for the shortest first connection:

sh
codex mcp add git-top --url https://git.top/mcp/coreclaude mcp add --transport http --scope user git-top https://git.top/mcp/core

Then ask your agent:

text
Use Git.Top to recommend three open-source browser-agent projects for Docker, then cite the data source and one caveat for each.

Full setup, client status, and REST alternatives: git.top/connect.

Dated compatibility evidence and the distinction between configuration verification and real-client support: git.top/compatibility.

Registry-ready copy, profiles, privacy boundaries, campaign links, and submission status: git.top/distribution.json. An installable REST-first Agent Skill is available at skills/git-top-project-selection.

What Git.Top Does

  • Discover open-source AI projects by category, deployment target, and use case.
  • Compare projects with decision summaries, ranking signals, and tradeoffs.
  • Find alternatives with similarity signals and comparison-ready shortlists.
  • Explore project relationships across alternatives, related projects, dependencies, deployments, and use cases.
  • Explain Git.Top Score, Agent Score, quality signals, risk flags, and evidence.
  • Serve agent-native REST, OpenAPI, llms.txt, llms-full.txt, and MCP surfaces.

Product Surfaces

  • /discover - browse AI agents, MCP servers, RAG, browser automation, and AI IDE projects.
  • /recommend - turn use cases and constraints into explainable project shortlists.
  • /compare - compare project shortlists.
  • /alternatives and /alternatives/:project - find replacement candidates.
  • /graph/:project - inspect project knowledge graphs.
  • /score/:project - explain project score dimensions.
  • /atlas - explore ecosystem maps.
  • /api/* - consume structured knowledge.
  • /mcp - connect agents through MCP.
  • /mcp/core - connect a focused five-tool MCP profile for first-time use.

Architecture

text
GitHub API  -> Git.Top ETL  -> Cloudflare D1  -> Worker pages, REST APIs, MCP tools, sync jobs, and quality gates

The project intentionally does not ship a separate Next.js app. Keeping Worker-rendered pages, APIs, sync, D1 access, OpenAPI, and MCP in one runtime avoids split product behavior.

Documentation

Development

For maintenance agents, start with AGENTS.md. It summarizes the runtime, high-risk areas, generated data, and validation tiers.

Fast checks:

sh
pnpm docs:validatepnpm check

Agent surface checks:

sh
pnpm api:validatepnpm mcp:validatepnpm eval:explanationspnpm check

Data and local D1 checks:

sh
pnpm db:executepnpm db:seedpnpm db:integration

Release checks:

sh
pnpm validatepnpm release:check

Common development commands:

sh
pnpm installpnpm db:executepnpm db:seedpnpm seed:validatepnpm seed:coveragepnpm seed:candidatespnpm seed:live-check -- --limit 20pnpm seed:live-check -- --offset 20 --limit 20node scripts/run-governance-task.mjs daily-production-healthpnpm knowledge:validatepnpm db:seed-sqlpnpm db:validatepnpm db:integrationpnpm core:validatepnpm api:validatepnpm mcp:validatepnpm eval:qualitypnpm eval:explanationspnpm eval:localpnpm eval:rankingpnpm eval:agent-taskspnpm smoke:prodpnpm release:checkpnpm checkpnpm validatepnpm quality:checkpnpm dev

/api/health reports D1 availability and the current project count. Run pnpm db:execute and pnpm db:seed before local API checks when the D1 state is empty. pnpm db:execute prepares the local D1 schema and backfills optional columns that may be missing from older local databases. seed.sql is generated from hand-authored seed knowledge and generated eval fixtures; run pnpm db:seed-sql after changing those fixtures. pnpm db:integration seeds local D1, starts a temporary local Worker, and validates the D1-backed HTTP API path.

pnpm eval:quality is the CI-safe recommendation and classification regression gate. pnpm eval:explanations checks that agent-facing responses include source metadata, classification evidence, quality signal confidence, recommendation reasons/tradeoffs, health count semantics, and GRP reasoning. pnpm eval:agent-tasks gates complete trust, fallback, pagination, evidence, comparison, change-feed, feedback, multilingual, typo, and alias workflows and writes docs/AGENT_TASK_EVAL.md. pnpm eval:local runs broader generated category and deployment probes across the fixture-backed project set and writes docs/EVAL_LOCAL.md; use it before tuning ranking heuristics, but keep it out of the default validation path. pnpm eval:ranking compares offline ranking strategies in docs/RANKING_EXPERIMENTS.md. Runtime search keeps exact-intent ranking by default; broad scoped discovery can opt into ranking=browse.

pnpm seed:candidates discovers seed expansion candidates from live GitHub organization metadata and writes docs/SEED_CANDIDATES.md. Treat it as a review queue, not an automatic append step; candidates still need live-check and category review before entering data/seed-repositories.json.

pnpm smoke:prod validates the deployed Worker at https://git.top and requires D1-backed responses. Use pnpm smoke:prod -- --base-url http://localhost:8787 for a local or preview Worker, or add --allow-seed only when intentionally checking seed fallback behavior.

pnpm quality:check validates the production /api/quality endpoint at https://git.top by default, requires D1-backed metadata, and uses a default minimum score of 90. Use --base-url, --target, --min-score, or --allow-seed for preview and fallback checks.

Operations and data governance are exposed through /operations, /api/governance/summary, and /api/governance/runs. The Cloudflare Worker cron runs hourly maintenance plus daily, weekly, biweekly, and monthly governance checks, then records results in governance_runs.

pnpm release:check runs the public V1 release gate: local validation, local D1 integration, production quality, and production smoke. Use pnpm release:check -- --skip-prod-smoke only when validating a build before the production deployment exists; it skips production-only checks. Use pnpm release:check -- --base-url <origin> to run the same gate against a Worker preview or local origin.

When updating an existing D1 database, apply SQL files in migrations before deploying code that reads the new columns.

Sync

Git.Top can sync real repository data from the GitHub API into D1.

Required production secrets:

sh
wrangler secret put GITHUB_TOKENwrangler secret put SYNC_SECRET

For local development, copy .dev.vars.example to .dev.vars and fill in real values.

Trigger a protected local or production sync:

sh
curl -X POST http://localhost:8787/api/admin/sync \  -H "authorization: Bearer $SYNC_SECRET" \  -H "content-type: application/json" \  -d '{"limit": 40, "offset": 0, "signal_depth": "lite"}'

Use {"limit":40,"signal_depth":"lite"} for manual catch-up syncs after checking recent /api/sync/status runs. Cron uses a smaller lightweight batch size to stay under Worker subrequest limits, while manual catch-up remains capped at 50.

Run repeated production catch-up rounds:

sh
SYNC_SECRET=... pnpm sync:prod:catchup --rounds 13 --limit 40

Omit offset to use the stored seed cursor. Cron syncs use this cursor and advance through the seed list in bounded batches. Add --refresh-cycle when all seed repositories have been indexed but freshness recovery requires revisiting the full seed cursor despite remaining_count=0.

API

  • GET /api/project/:owner/:name
  • GET /api/health
  • GET /api/quality
  • GET /api/benchmark
  • GET /api/governance/summary
  • GET /api/governance/runs
  • GET /api/sync/status
  • GET /api/schema/agent-card.v1
  • GET /api/schema/project-knowledge.v1
  • GET /api/search
  • GET /api/trending
  • GET /api/category/:name
  • GET /api/recommend
  • GET /api/compare
  • GET /api/alternatives/:owner/:name
  • POST /api/grp/query
  • POST /api/admin/sync
  • POST /api/admin/alternatives
  • POST /api/admin/governance/runs

See git_top_v1.md for the V1 development spec and git_top_grp_v1.md for the GRP v1 reasoning protocol implementation spec.

License

MIT

來源:README.md,提交 070390a

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

2
  1. v0.1.1最新Oct 3, 2026
  2. v0.1.0Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分