GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
Rank a GitHub repo's dependents by stars or trust heuristic, and search their code
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
DEP_RANK_TOKEN「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
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/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"dep-rank": {
"command": "uvx",
"args": [
"dep-rank",
"mcp"
],
"env": {
"DEP_RANK_TOKEN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"dep-rank": {
"type": "stdio",
"command": "uvx",
"args": [
"dep-rank",
"mcp"
],
"env": {
"DEP_RANK_TOKEN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント j7an で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:DEP_RANK_TOKEN
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.10.2)がレジストリに届いたのは6 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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).
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.
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
dep-rank deps — List top dependentsdep-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
| Option | Default | Description |
|---|---|---|
--rows | 10 | Number of results |
--min-stars | 5 | Minimum star count filter |
--format | table | Output format: table or json |
--descriptions | off | Fetch descriptions via GitHub API (requires token) |
--packages | off | Search packages instead of repositories |
--token | DEP_RANK_TOKEN | GitHub token |
--max-pages | 200 | Maximum pages to scrape (ceiling 1000) |
--no-adaptive-stop | off | Disable adaptive early-stop; scrape continues until exhaustion or --max-pages |
--rank-by | stars | Ranking strategy: stars or trust (heuristic, requires token) |
--trust-check | off | Check sampled star history for up to 25 top results (requires --rank-by trust and token) |
--downloads | off | Show each dependent's most-downloaded registry package (ecosyste.ms / deps.dev / npm; display only) |
--package-name | GitHub's default | Scrape 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 dependentsdep-rank search https://github.com/django/django "from django.db import"
dep-rank search https://github.com/django/django "middleware" --max-repos 20
| Option | Default | Description |
|---|---|---|
--max-repos | 10 | Maximum repos to search |
--min-stars | 50 | Only search repos with this many stars |
--token | DEP_RANK_TOKEN | GitHub token (required) |
--max-pages | 200 | Maximum pages to scrape (ceiling 1000) |
--package-name | GitHub's default | Scrape 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).
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.
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 cachedep-rank cache stats # Show cache size
dep-rank cache clear # Clear all cached data
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:
complete and reason before treating counts as totals; see Partial results.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.The ghcr.io/j7an/dep-rank image runs the MCP server under Docker MCP Toolkit. You get:
--block-network;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).
~/.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:
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.
--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"
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.
--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:
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.dep-rank-cache volume keeps the cache warm between calls.docker rm -f $(docker ps -aq --filter label=docker-mcp-proxy=true).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
冒頭だけを表示しています。続きはリポジトリで読めます