# dep-rank

> dep-rank is an open-source MCP server for developer tools. Rank the repositories that depend on a GitHub project, and search their code. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/j7an/dep-rank
- **MCP Registry name:** io.github.j7an/dep-rank
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
claude mcp add dep-rank --env DEP_RANK_TOKEN='<DEP_RANK_TOKEN>' -- uvx dep-rank
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "dep-rank": {
      "command": "uvx",
      "args": [
        "dep-rank"
      ],
      "env": {
        "DEP_RANK_TOKEN": "<DEP_RANK_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "dep-rank": {
      "command": "uvx",
      "args": [
        "dep-rank"
      ],
      "env": {
        "DEP_RANK_TOKEN": "<DEP_RANK_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "dep-rank": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "dep-rank"
      ],
      "env": {
        "DEP_RANK_TOKEN": "<DEP_RANK_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "dep-rank": {
      "command": "uvx",
      "args": [
        "dep-rank"
      ],
      "env": {
        "DEP_RANK_TOKEN": "<DEP_RANK_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "dep-rank": {
      "command": "uvx",
      "args": [
        "dep-rank"
      ],
      "env": {
        "DEP_RANK_TOKEN": "<DEP_RANK_TOKEN>"
      }
    }
  }
}
```

## Tools

- `get_dependents`: Ranks a repository's dependents by stars or trust.
- `search_dependents`: Searches code across the top dependents.

## 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.

## Alternatives

- [Dep Diff MCP](https://ai-powered.com/mcp/dep-diff-mcp): Dep Diff MCP is an open-source MCP server for developer tools.
- [dotrepo](https://ai-powered.com/mcp/dotrepo): dotrepo is an open-source MCP server for developer tools.
- [GitHub Hot Board](https://ai-powered.com/mcp/github-hot-board): GitHub Hot Board is a free MCP server for developer tools.
- [Deeprepo](https://ai-powered.com/mcp/deeprepo): Deeprepo is an open-source MCP server for developer tools.
- [Git.Top](https://ai-powered.com/mcp/git-top): Git.Top is a free MCP server for developer tools.
- [Depsonar](https://ai-powered.com/mcp/depsonar): Depsonar is an MCP server for developer tools.
- [Repowise](https://ai-powered.com/mcp/repowise): Repowise is a freemium MCP server for developer tools.
- [RepoTrending](https://ai-powered.com/mcp/repotrending): RepoTrending is a free MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/dep-rank
