whichlib

v0.2.4
io.github.josifb/whichlib Checked 14 hours ago Published 1 month ago

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

Values you need

VariableWhat it is
GITHUB_TOKENoptional secret Optional. Raises GitHub's search limit from 10 to 30 requests per minute. A fine-grained token with no permissions is enough.
WHICHLIB_TELEMETRYoptional 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.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add whichlib -- npx -y whichlib@0.2.4
Add to claude_desktop_config.json
{
  "mcpServers": {
    "whichlib": {
      "args": [
        "-y",
        "whichlib@0.2.4"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "whichlib": {
      "args": [
        "-y",
        "whichlib@0.2.4"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "whichlib": {
      "args": [
        "-y",
        "whichlib@0.2.4"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.whichlib]
command = "npx"
args = ["-y", "whichlib@0.2.4"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http whichlib https://whichlib.com/mcp --header 'X-GitHub-Token: <X-GitHub-Token>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "whichlib": {
      "args": [
        "-y",
        "mcp-remote",
        "https://whichlib.com/mcp",
        "--header",
        "X-GitHub-Token: <X-GitHub-Token>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "whichlib": {
      "headers": {
        "X-GitHub-Token": "<X-GitHub-Token>"
      },
      "url": "https://whichlib.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "whichlib": {
      "headers": {
        "X-GitHub-Token": "<X-GitHub-Token>"
      },
      "type": "http",
      "url": "https://whichlib.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.whichlib]
command = "npx"
args = ["-y", "mcp-remote", "https://whichlib.com/mcp", "--header", "X-GitHub-Token: <X-GitHub-Token>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: recommend_repos, compare_repos, trending_repos.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json