# trb-torrents-mcp

An [MCP](https://modelcontextprotocol.io) server that gives Claude (Desktop, Code), Cursor, Cline and other agents the torrent search API: quality-ranked search, title lookups, where-to-watch, upcoming releases and a TV calendar.

```json
{
  "mcpServers": {
    "torrents": {
      "command": "npx",
      "args": ["-y", "trb-torrents-mcp"],
      "env": { "TRB_BASE_URL": "https://therarbg.com", "TRB_API_KEY": "" }
    }
  }
}
```

Claude Code: `claude mcp add torrents -e TRB_BASE_URL=https://therarbg.com -- npx -y trb-torrents-mcp`

Tools: `search_torrents`, `get_title`, `suggest_titles`, `where_to_watch`, `upcoming_releases`, `tv_calendar`.
`TRB_API_KEY` is optional (30 requests/minute and 10,000/day without; 60/minute and 50,000/day with the free key of a signed-in account, from `POST /api/v1/keys/`).
