Skip to content
MCP server

whichlib

Scores and compares GitHub libraries so a coding agent picks dependencies on evidence

Install
Pricing
Free
Platforms
API, CLI
Runs
Locally or Remotely
Version
0.2.4
Listing updated
2 days ago

About whichlib

whichlib is a free MCP server for developer tools. It can run locally on your machine or as a hosted remote server.

whichlib answers one question for an agent about to add a package: which library should I use? It finds candidates on GitHub, then scores each from 0 to 100 using momentum (40%), maintenance (25%), adoption (25%) and licence (10%), with a tier from Strong down to Avoid and a one-line verdict. The formula is public, and the site says rank cannot be bought.

Three tools sit on top. recommend_repos takes a plain-language need and optional language and returns a ranked list by fit, meaning score multiplied by relevance. compare_repos puts two to ten owner/repo names side by side, and trending_repos lists top new repositories by day, week or month, or any-age repos rising this week. Momentum uses daily star counts for the top 1,000 repositories per language, and adoption counts npm and PyPI downloads when the registry links back to the repo.

The site reports a 20-need evaluation where the top pick was an accepted answer 75% of the time. Anonymous call counting can be switched off. A Teams plan with alerts and allow-lists is on a waitlist.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://whichlib.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "whichlib": {
      "url": "https://whichlib.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "whichlib": {
      "type": "http",
      "url": "https://whichlib.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "whichlib": {
      "serverUrl": "https://whichlib.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "whichlib": {
      "type": "http",
      "url": "https://whichlib.com/mcp"
    }
  }
}

Configuration

  • GITHUB_TOKENOptional. Raises GitHub's search limit from 10 to 30 requests per minute. A fine-grained token with no permissions is enough.
  • WHICHLIB_TELEMETRYOptional. Set to "off" to disable anonymous call counting (tool name, random install id, version, platform, Node major). DO_NOT_TRACK=1 also disables it.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

recommend_repos
Ranked repositories for a plain-language need, with downloads and a verdict.
compare_repos
Two to ten repositories side by side.
trending_repos
Most-starred new repositories by period, or rising ones.

What it does

Transparent score
Momentum, maintenance, adoption and licence shown with every result.
Plain-language recommendations
Describe the need and get ranked repositories with verdicts.
Side-by-side comparison
Compare two to ten repositories in one call.
Trending views
Day, week, month or rising repositories, optionally per language.
Hosted or local
Remote MCP endpoint or the npm package on Node 22+.
Telemetry opt-out
Set WHICHLIB_TELEMETRY=off or DO_NOT_TRACK=1.

Good for

  • Choose an HTTP client or PDF parser before adding it to a project
  • Compare two candidate libraries on maintenance and adoption
  • Spot fast-rising repositories in a language
  • Make an agent check a library before it installs one

Pricing

Free

Free: 50 calls/day hosted, unlimited with your own GitHub token

Prices change. Check whichlib.com before you buy.

whichlib FAQ

Is it free?

Yes. The pricing page lists 50 tool calls a day with no sign-up, and unlimited use if you send your own GitHub token.

How do I install it?

Run `claude mcp add --transport http whichlib https://whichlib.com/mcp`, or run locally with `npx -y whichlib`.

Does it send my queries anywhere?

Telemetry counts tool names and versions only, never queries, repository names or results, and can be disabled.

What is a Teams plan?

Planned shared limits, an allow-list and usage reports; it is waitlist-only for now.

Is whichlib free?

Yes. whichlib is free to use.

How do I add whichlib to Claude Code?

Run this command in your terminal: claude mcp add --transport http whichlib https://whichlib.com/mcp

What are the best alternatives to whichlib?

The closest alternatives to whichlib are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to whichlib

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools