原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

dep-rank

作者:j7an版本 0.10.2i★ –i在你的电脑上运行
注册名称io.github.j7an/dep-rank

安装

概览

作者提供的说明(英文原文)

Rank a GitHub repo's dependents by stars or trust heuristic, and search their code

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具
  • 你需要填写:DEP_RANK_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "dep-rank": {
      "command": "uvx",
      "args": [
        "dep-rank",
        "mcp"
      ],
      "env": {
        "DEP_RANK_TOKEN": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add dep-rank --env DEP_RANK_TOKEN=your-value -- uvx dep-rank mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "dep-rank": {
      "command": "uvx",
      "args": [
        "dep-rank",
        "mcp"
      ],
      "env": {
        "DEP_RANK_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "dep-rank": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "dep-rank",
        "mcp"
      ],
      "env": {
        "DEP_RANK_TOKEN": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • DEP_RANK_TOKEN 机密 必填 env
    GitHub token (required) for dependents scraping, trust metadata, and code search

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 j7an 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4937 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4937 个服务器的 84% 更新
  • 基础检查结果等于或优于此分类中其他 4937 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

dep-rank 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:DEP_RANK_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.10.2)于6天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万5天前更新

电脑或云端

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er广泛使用↓ 71万/周★ 1万17天前更新

在你的电脑上运行

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare正在增长★ 444614个月前更新

在云端运行✓ mcp.cloudflare.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

dep-rank

Rank GitHub dependents by stars or trust.

dep-rank finds the most popular repositories that depend on a given GitHub project. It scrapes GitHub's dependents page, enriches results via the GraphQL API, and works as a command-line tool and as an MCP server for AI agents (see MCP server).

  • [Rank dependents by stars](#dep-rank-deps--list-top-dependents) — find the most popular projects that use a repository.
  • [Trust ranking](#trust-ranking) — a heuristic, pool-relative re-rank that weighs forks, issues and pull requests, and recent activity alongside stars. Not a fraud verdict.
  • [Search code across dependents](#dep-rank-search--search-code-in-dependents) — see how real projects use an API.
  • [MCP server](#mcp-server) — the same ranking and search as tools for AI agents, via uvx or the ghcr.io/j7an/dep-rank Docker image.

Also: JSON output, package download stats, choosing among multiple packages, local cache, Docker image, Python API.

Quick Start

pip install dep-rank

export DEP_RANK_TOKEN=ghp_your_token_here # see Authentication below dep-rank deps https://github.com/django/django --rows 5

A token is effectively required; see Authentication. Example output (numbers change over time). dep-rank also prints a scrape summary on stderr; this run stopped early, so the count is a lower bound, not a total (see Partial results):

       Top dependents of

https://github.com/django/django ┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┓ ┃ Repository ┃ Stars ┃ ┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━┩ │ makeplane/plane │ 61K │ │ scalar/scalar │ 16K │ │ jetify-com/devbox │ 12K │ │ shiaho777/web-to-app │ 7.1K │ │ WeblateOrg/weblate │ 6.1K │ └──────────────────────┴───────┘

178 dependents at or above the star threshold

CLI Reference

dep-rank deps — List top dependents
dep-rank deps https://github.com/django/django

dep-rank deps https://github.com/django/django --rows 20 --min-stars 100 dep-rank deps https://github.com/django/django --descriptions --format json dep-rank deps https://github.com/django/django --packages

OptionDefaultDescription
--rows10Number of results
--min-stars5Minimum star count filter
--formattableOutput format: table or json
--descriptionsoffFetch descriptions via GitHub API (requires token)
--packagesoffSearch packages instead of repositories
--tokenDEP_RANK_TOKENGitHub token
--max-pages200Maximum pages to scrape (ceiling 1000)
--no-adaptive-stopoffDisable adaptive early-stop; scrape continues until exhaustion or --max-pages
--rank-bystarsRanking strategy: stars or trust (heuristic, requires token)
--trust-checkoffCheck sampled star history for up to 25 top results (requires --rank-by trust and token)
--downloadsoffShow each dependent's most-downloaded registry package (ecosyste.ms / deps.dev / npm; display only)
--package-nameGitHub's defaultScrape only this package (exact name from the dependents page dropdown). Without it, GitHub's default package is scraped and any other listed packages are named in a hint

In table output (deps, search, and the live progress table), repository names are clickable links to their GitHub pages in terminals that support OSC 8 hyperlinks; piped or redirected output stays plain text.

dep-rank search — Search code in dependents
dep-rank search https://github.com/django/django "from django.db import"

dep-rank search https://github.com/django/django "middleware" --max-repos 20

OptionDefaultDescription
--max-repos10Maximum repos to search
--min-stars50Only search repos with this many stars
--tokenDEP_RANK_TOKENGitHub token (required)
--max-pages200Maximum pages to scrape (ceiling 1000)
--package-nameGitHub's defaultScrape only this package (exact name from the dependents page dropdown). Without it, GitHub's default package is scraped and any other listed packages are named in a hint

search always runs a bounded non-adaptive top-K scrape (--no-adaptive-stop is not exposed; adaptive early-stop is permanently disabled for this command).

Rate-limited code searches are retried up to twice, honoring GitHub's wait headers; if GitHub keeps limiting, the remaining repositories are reported as not searched (rate limited).

Partial results

A scrape result (deps, and the search pre-pass) reports whether it finished: results include a complete flag and a reason. complete: false means the scrape stopped early — max_pages_reached (raise --max-pages), trend_converged (the adaptive heuristic judged the top-K stable; use --no-adaptive-stop to scrape until exhaustion or --max-pages), network_failure, or rate_limited. total_count/filtered_count are then lower bounds across the pages actually scraped, not population totals.

Repositories with several packages

Some repositories publish several packages, and GitHub's dependents page lists them in a dropdown (at most 100). Without --package-name, GitHub picks the package, and dep-rank names it and the others in a hint. JSON output then also carries package (the one scraped) and packages (every listed name).

dep-rank cache — Manage cache
dep-rank cache stats    # Show cache size

dep-rank cache clear # Clear all cached data

MCP server

dep-rank mcp runs an MCP server over stdio so AI agents can call dep-rank directly. It needs the optional mcp extra:

pip install "dep-rank[mcp]"

Client configuration (the command works with any MCP client that launches stdio servers):

{

"mcpServers": { "dep-rank": { "command": "uvx", "args": ["--with", "dep-rank[mcp]", "dep-rank", "mcp"], "env": { "DEP_RANK_TOKEN": "ghp_your_token_here" } } } }

DEP_RANK_TOKEN is required: both tools fail without it. The token is read from the server's environment only, never from a tool argument.

Tools:

  • get_dependents — rank a repository's dependents by stars or trust (the dep-rank deps pipeline). Parameters mirror the CLI: url, rows, min_stars, dependent_type, descriptions, rank_by, trust_check, downloads, max_pages, adaptive_stop, package_name.
  • search_dependents — search code across the top dependents (the dep-rank search pipeline): url, query, max_repos, min_stars, max_pages, package_name.

Caveats:

  • Results can be partial. Check complete and reason before treating counts as totals; see Partial results.
  • Trust scores are pool-relative heuristics, not quality or fraud verdicts; see Trust Ranking.
  • Calls run one at a time; a call that arrives while another is running waits for it.
  • Long calls report progress, including GitHub rate-limit waits. Claude Code moves MCP calls that run longer than two minutes into the background.
  • The server honors HTTP_PROXY, HTTPS_PROXY, and NO_PROXY from its environment. A SOCKS proxy (for example ALL_PROXY=socks5://...) is not supported: tool calls fail with an error until it is removed from the server's environment.
Run the MCP server in Docker (MCP Toolkit)

The ghcr.io/j7an/dep-rank image runs the MCP server under Docker MCP Toolkit. You get:

  • container isolation, with no host filesystem access;
  • network access limited to GitHub when the gateway runs with --block-network;
  • one profile shared by every agent harness you connect.

It does not change prompt-injection risk: tool results still contain text from third-party repositories, and your agent reads it.

Prerequisites: Docker Desktop with MCP Toolkit, and profiles enabled (the MCPWorkingSets feature flag in Docker Desktop, or docker mcp feature enable profiles).

  1. Save this server definition as ~/.docker/mcp/catalogs/dep-rank.yaml. The gateway only reads file:// definitions from that directory.
   name: dep-rank

title: dep-rank type: server image: ghcr.io/j7an/dep-rank:latest description: Rank a GitHub repo's dependents by stars or trust heuristic, and search their code secrets:

  • name: dep-rank.token env: DEP_RANK_TOKEN example: ghp_your_token_here volumes:
  • dep-rank-cache:/cache allowHosts:
  • github.com:443
  • api.github.com:443

get_dependents with downloads also needs packages.ecosyste.ms:443, api.npmjs.org:443, and api.deps.dev:443 in allowHosts; without them, download stats are reported as unavailable.

  1. Create the profile. Keep --id dep-rank: without it the ID becomes dep_rank, which won't match the harness config below.
   docker mcp profile create --name dep-rank --id dep-rank \

--server "file://$HOME/.docker/mcp/catalogs/dep-rank.yaml"

  1. Store your GitHub token:
   gh auth token | docker mcp secret set dep-rank.token

If the secret is missing, the gateway passes the literal value as DEP_RANK_TOKEN, so calls fail with GitHub errors rather than a "token missing" message.

  1. Point each harness at the gateway. Write the entry by hand so it includes --block-network, which is what enforces allowHosts:
   {

"mcpServers": { "dep-rank": { "command": "docker", "args": ["mcp", "gateway", "run", "--profile", "dep-rank", "--block-network"] } } }

docker mcp client connect -p dep-rank also works, but the entry it writes omits --block-network; add it yourself.

Notes:

  • For reproducible installs, pin image to a release tag (ghcr.io/j7an/dep-rank: ) or an @sha256: digest. Verify an image's build provenance with gh attestation verify oci://ghcr.io/j7an/dep-rank: --repo j7an/dep-rank.
  • Each tool call starts a fresh container. The dep-rank-cache volume keeps the cache warm between calls.
  • The gateway can leave its proxy containers behind. Remove them with docker rm -f $(docker ps -aq --filter label=docker-mcp-proxy=true).

Python API (provisional)

Use dep_rank.core.dependents.get_dependents for the deps pipeline in Python. It returns dep_rank.core.models.DependentsResult; select repository or package dependents with dep_rank.core.models.DependentType. The API may change during 0.x.

import asyncio

import httpx2

from dep_rank.core.cache import SqliteCache from dep_rank.core.dependents import get_dependents from dep_rank.core.models import DependentsResult, DependentType

async def main(cache_dir: str | None = None) -> None: cache = SqliteCache(cache_dir) if cache_dir is not None else None try: if cache is not None: await cache.initialize() async with httpx2.AsyncClient() as session: result: DependentsResult = await get_dependents( session, "https://github

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx