Whichlib logo

Whichlib

Scores and ranks GitHub repositories for dependency selection using maintenance, adoption, momentum, and license signals.

Install Whichlib

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "whichlib": {
      "command": "npx",
      "args": [
        "-y",
        "whichlib"
      ],
      "env": {
        "GITHUB_TOKEN": "YOUR_VALUE_HERE",
        "WHICHLIB_HISTORY": "YOUR_VALUE_HERE",
        "FRESH_REPOS_DATA_DIR": "YOUR_VALUE_HERE",
        "WHICHLIB_TELEMETRY": "YOUR_VALUE_HERE",
        "DO_NOT_TRACK": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 3 tools correctly ().

Overview

whichlib helps coding agents choose dependencies by querying GitHub repositories and returning scored recommendations, comparisons, and rising or newly created projects. Its three MCP tools combine repository metadata with npm or PyPI download data when a verified package mapping exists. Results include a 0–100 score, tier, subscores, flags, structured JSON, and a readable verdict. Use it when an agent needs evidence-based library selection rather than a name-only search.

Use cases

  • Choose a dependency for a stated programming need
  • Compare candidate repositories before adding one
  • Find newly created or rising GitHub projects
  • Check maintenance and license signals for libraries

Key features

  • Plain-language repository recommendations
  • Side-by-side repository comparison
  • Day, week, month, and rising repository discovery
  • 0–100 scores with transparent subscores
  • Verified npm and PyPI download enrichment
  • Readable verdicts and structured MCP output

Tools3

What Whichlib lets your agent do. Expand a tool for its parameters.

Verified live~1.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

9/9 checks healthy over the last 34d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Handles credentials · 3Makes network requests · 3Read-only tools · 3
Network at startup3 connections
Files written at startup1
Install scriptsNone
npm provenanceSigned build
Package age36 days
Maintainers1

Observed 2026-11-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17h ago via OSV.dev · whichlib (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads832Package downloads in the last 30 days.
Last commit1d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Whichlib works

What whichlib does

whichlib exposes dependency research through MCP. Agents can ask for repositories that fit a plain-language requirement, compare several owner/repo names, or find highly starred repositories created during a selected period. The service returns ranked results with a score from 0 to 100, a tier, four component scores, flags, package information, download counts where available, and a short verdict.

The scoring model considers four areas: momentum, maintenance, adoption, and license. Momentum uses recent star history when available and falls back to stars per day. Maintenance reflects time since the last push and the relationship between open issues and stars. Adoption uses stars and forks, adding npm or PyPI downloads when a verified registry link exists. License classifications contribute the remaining portion of the score.

Repositories younger than 30 days receive a New classification and a too-new flag. Archived repositories are capped at 20 points. Missing licenses are called out in the verdict.

How it works

recommend_repos accepts a plain-language need, with optional language and result limit parameters. It searches GitHub through relevance, star, and topic queries, then ranks candidates using fit multiplied by the repository score. compare_repos accepts two to ten owner/repo identifiers and orders them using the same scoring breakdown. trending_repos accepts day, week, month, or rising periods, plus optional language, limit, and download settings.

The tools run over stdio when installed locally and are also available through the hosted MCP endpoint at https://whichlib.com/mcp. Each response includes readable text and structuredContent for programmatic handling.

Setup and configuration

The local package requires Node.js 22 or newer. Claude Code can install it with:

Terminal
claude mcp add whichlib -s user -- npx -y whichlib

Other MCP clients can use the same npx -y whichlib command in their server configuration. A remote setup uses the hosted endpoint instead, so Node.js is not needed:

Terminal
claude mcp add --transport http whichlib https://whichlib.com/mcp

GITHUB_TOKEN raises the GitHub search allowance from 10 to 30 requests per minute; a fine-grained token with no permissions is sufficient. WHICHLIB_HISTORY=off disables the background download of public star-history files. FRESH_REPOS_DATA_DIR selects a directory for daily data files when working from a clone. Anonymous call counting can be disabled with WHICHLIB_TELEMETRY=off or DO_NOT_TRACK=1.

Tools and capabilities

  • Recommend repositories for a stated development need.
  • Compare two to ten GitHub repositories side by side.
  • List scored repositories created within a day, week, or month.
  • Find rising repositories using weekly star gains.
  • Include npm or PyPI downloads only when repository ownership is verified by registry metadata.
  • Return scores, tiers, verdicts, flags, package mappings, and structured results.

Limitations and notes

GitHub does not provide repository download counts, so downloads come from npm or PyPI package metadata and are unavailable for other ecosystems such as Rust, Go, and Java. A matching package name alone is not enough to establish a mapping.

The dashboard does not have snapshot history, so its Today-tab momentum values are provisional. The MCP server uses real weekly star gains when at least two days of snapshots are available; otherwise it uses a stars-per-day fallback. GitHub rate limits also affect how frequently recommendations can be requested, especially without a token.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Whichlib

whichlib is an MCP server that connects coding agents to GitHub repository and package-download signals through three tools: recommend_repos, compare_repos, and trending_repos. It scores repositories using momentum, maintenance, adoption, and license data, then returns ranked recommendations, comparisons, trends, structured results, and one-line verdicts.

Install it locally with `npx -y whichlib` in your MCP client configuration. Claude Code supports `claude mcp add whichlib -s user -- npx -y whichlib`; the package requires Node.js 22 or newer. You can also connect to `https://whichlib.com/mcp` over HTTP without installing Node.js.

Yes, whichlib works with Cursor through the standard MCP configuration using the `npx -y whichlib` command. Cursor can run the local stdio server, while clients that support remote MCP can use the hosted `https://whichlib.com/mcp` endpoint.

whichlib scores repositories from 0 to 100 using momentum, maintenance, adoption, and license signals. It uses star history when available, repository activity, stars and forks, verified npm or PyPI downloads, and license classification, then returns the component breakdown, tier, flags, and verdict.

Set `GITHUB_TOKEN` in the server environment to raise the GitHub limit from 10 to 30 requests per minute. A fine-grained token with no permissions is sufficient. Without a token, recommendation calls are constrained because each one performs three searches.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWhichlib AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/whichlib?style=directory)](https://allmcps.com/mcp/whichlib)
HTML Embed
<a href="https://allmcps.com/mcp/whichlib"><img src="https://allmcps.com/api/badge/whichlib?style=directory" alt="Whichlib on AllMCPs" /></a>