# Whichlib MCP server

> Dependency picker for coding agents: recommends, compares and scores GitHub repos with a verdict.

- Repository: https://github.com/josifb/whichlib
- Page: https://hostedmcp.org/servers/josifb/whichlib
- Transport: stdio, remote
- Stars: 0
- License: MIT
- Latest version: 0.2.4

## Install

### Claude Code

```sh
claude mcp add --env 'GITHUB_TOKEN=<YOUR_GITHUB_TOKEN>' whichlib -- npx -y whichlib
```

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

```json
{
  "mcpServers": {
    "whichlib": {
      "command": "npx",
      "args": [
        "-y",
        "whichlib"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "whichlib": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "whichlib"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"whichlib","type":"stdio","command":"npx","args":["-y","whichlib"],"env":{"GITHUB_TOKEN":"<YOUR_GITHUB_TOKEN>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "whichlib": {
      "command": "npx",
      "args": [
        "-y",
        "whichlib"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add whichlib --env 'GITHUB_TOKEN=<YOUR_GITHUB_TOKEN>' -- npx -y whichlib
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.whichlib]
command = "npx"
args = ["-y", "whichlib"]

[mcp_servers.whichlib.env]
GITHUB_TOKEN = "<YOUR_GITHUB_TOKEN>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'GITHUB_TOKEN=<YOUR_GITHUB_TOKEN>' whichlib npx -- -y whichlib
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "whichlib": {
      "command": "npx",
      "args": [
        "-y",
        "whichlib"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `GITHUB_TOKEN` | no | yes | Optional. Raises GitHub's search limit from 10 to 30 requests per minute. A fine-grained token with no permissions is enough. |
| `WHICHLIB_TELEMETRY` | no | no | Optional. Set to "off" to disable anonymous call counting (tool name, random install id, version, platform, Node major). DO_NOT_TRACK=1 also disables it. |
