# whichlib

> whichlib is a free MCP server for developer tools. Scores and compares GitHub libraries so a coding agent picks dependencies on evidence. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, CLI
- **Website:** https://whichlib.com
- **Repository:** https://github.com/josifb/whichlib/tree/HEAD/whichlib
- **MCP Registry name:** io.github.josifb/whichlib
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

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.

## Features

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://whichlib.com/mcp
```

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

```json
{
  "mcpServers": {
    "whichlib": {
      "url": "https://whichlib.com/mcp"
    }
  }
}
```

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

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

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

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

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

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

## Tools

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

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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/whichlib
