ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

dep-rank

โดย j7anรุ่น 0.10.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.j7an/dep-rank

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI
  • ต้องใส่ค่าเหล่านี้: DEP_RANK_TOKEN

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "dep-rank": {
      "command": "uvx",
      "args": [
        "dep-rank",
        "mcp"
      ],
      "env": {
        "DEP_RANK_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add dep-rank --env DEP_RANK_TOKEN='ใส่ค่าของคุณ' -- uvx dep-rank mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "dep-rank": {
      "command": "uvx",
      "args": [
        "dep-rank",
        "mcp"
      ],
      "env": {
        "DEP_RANK_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "dep-rank": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "dep-rank",
        "mcp"
      ],
      "env": {
        "DEP_RANK_TOKEN": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • DEP_RANK_TOKEN ความลับ จำเป็น env
    GitHub token (required) for dependents scraping, trust metadata, and code search

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub j7an ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7283 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 87% ของอีก 7283 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7283 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

dep-rank ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: DEP_RANK_TOKEN

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.10.2) เข้า registry 5 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต เมื่อวาน
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 21 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx