dep-rank
Rank the repositories that depend on a GitHub project, and search their code
dep-rank is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 0.10.3
- Listing updated
Similar MCP servers
Install
Run in a terminal
claude mcp add dep-rank --env DEP_RANK_TOKEN='<DEP_RANK_TOKEN>' -- uvx dep-rankAdd to claude_desktop_config.json
{
"mcpServers": {
"dep-rank": {
"command": "uvx",
"args": [
"dep-rank"
],
"env": {
"DEP_RANK_TOKEN": "<DEP_RANK_TOKEN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"dep-rank": {
"command": "uvx",
"args": [
"dep-rank"
],
"env": {
"DEP_RANK_TOKEN": "<DEP_RANK_TOKEN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"dep-rank": {
"type": "stdio",
"command": "uvx",
"args": [
"dep-rank"
],
"env": {
"DEP_RANK_TOKEN": "<DEP_RANK_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"dep-rank": {
"command": "uvx",
"args": [
"dep-rank"
],
"env": {
"DEP_RANK_TOKEN": "<DEP_RANK_TOKEN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"dep-rank": {
"command": "uvx",
"args": [
"dep-rank"
],
"env": {
"DEP_RANK_TOKEN": "<DEP_RANK_TOKEN>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
DEP_RANK_TOKENGitHub token (required) for dependents scraping, trust metadata, and code searchRequired
About dep-rank
dep-rank answers a practical question: who actually uses this library, and how? It scrapes a repository's GitHub dependents page, enriches the results through the GraphQL API and lists the most prominent dependents. Ranking can be by stars or by a trust heuristic that also weighs forks, issues, pull requests and recent activity; the README is explicit that trust scores are pool-relative heuristics, not fraud verdicts.
A code search mode looks across the top dependents for an API pattern so you can see real usage. Results carry a complete flag and a reason, so a scrape that stopped early is reported as a lower bound rather than a total.
It works as a command-line tool and as a stdio MCP server, with a Docker image available. A GitHub token in DEP_RANK_TOKEN is required, is read only from the environment, and calls run one at a time.
Tools this server provides (2)
Taken from the project documentation; the running server may differ.
- get_dependents
- Ranks a repository's dependents by stars or trust.
- search_dependents
- Searches code across the top dependents.
What it does
- Dependents ranking
- Lists a repo's top dependents by stars or trust heuristic.
- Code search
- Searches code across the highest-ranked dependents.
- Partial-result flags
- Reports whether a scrape finished and why it stopped.
- Package handling
- Choose a package when a repository publishes several.
- Download stats
- Optional package download figures for each dependent.
- Docker image
- MCP server also ships as a container.
Good for
- See which popular projects use your library
- Find real examples of an API call in dependents' code
- Judge adoption of a dependency before relying on it
- Prioritise breaking-change outreach to major dependents
Pricing
Open source
MIT licence
dep-rank FAQ
Is a GitHub token required?
Yes. DEP_RANK_TOKEN is effectively required and both MCP tools fail without it.
Are results always complete?
No. Check the complete flag and reason before treating counts as totals.
Is the trust ranking a fraud check?
No. It is a heuristic relative to the pool, not a quality or fraud verdict.
What licence is dep-rank?
MIT, per the README badge.
Is dep-rank free?
Yes. dep-rank is open source, so you can use and self-host it for free.
How do I add dep-rank to Claude Code?
Run this command in your terminal: claude mcp add dep-rank --env DEP_RANK_TOKEN='<DEP_RANK_TOKEN>' -- uvx dep-rank
What are the best alternatives to dep-rank?
The closest alternatives to dep-rank are Dep Diff MCP, dotrepo, GitHub Hot Board, Deeprepo and Git.Top.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.