TorrentClaw-MCP
OfficialAn MCP server that lets AI assistants search TorrentClaw's movie/TV catalog and retrieve torrent, streaming, and metadata details.
Search movies and TV shows by title, genre, year, rating, quality, language, audio, HDR, season/episode, sort, and pagination.
Get type-ahead autocomplete suggestions to validate or disambiguate titles.
Retrieve popular/trending and recently added content.
Find torrent options with magnet links, quality, seeders, file size, and optional streaming availability by country.
Get direct .torrent file download URLs from info hashes.
Look up streaming providers by country and cast/director credits for a content ID.
Track magnet link, torrent download, and copy interactions.
Submit torrents for audio/video quality scans and check scan status.
Access catalog statistics via the torrentclaw://stats resource.
Use built-in prompts for movie/show search, what's new, and where to watch.
Allows checking the streaming availability of movies and TV shows on Netflix as part of content discovery and search results.
torrentclaw-mcp
Model Context Protocol server for TorrentClaw — giving AI assistants the ability to search movies and TV shows, find torrents with magnet links, check streaming availability, and explore cast/crew metadata.
torrentclaw-mcp is developed by TorrentClaw as part of its open-source ecosystem. It wraps the TorrentClaw API into the MCP standard so that any compatible AI assistant (Claude, GPT, etc.) can access the platform's search and discovery features natively.
Quick Start
TORRENTCLAW_API_KEY=your-key npx -y @torrentclaw/mcp@0.2.3The npm package is @torrentclaw/mcp (scoped). Pin the version so npx never resolves an unexpected release.
An API key is recommended: get a free one at https://torrentclaw.com/register and set it in TORRENTCLAW_API_KEY. Without it, search still works but results omit info hashes and magnet links, and rate limits are lower.
Related MCP server: Arr Suite MCP Server
What can it do?
Tools
Tool | Description |
| Search movies/shows with filters (query, type, genre, year, rating, quality, language, audio, HDR, season, episode, sort). Returns torrents, magnet links, and optional streaming info. |
| Type-ahead search suggestions (up to 8 results). Use to validate titles before a full search. |
| Get popular content ranked by user clicks |
| Get recently added content |
| Streaming availability by country (Netflix, Disney+, etc.) |
| Cast and director for a title |
| Get .torrent file download URL from info hash |
| Track user interaction with a torrent (magnet click, download, copy) |
| Submit a torrent for audio/video quality analysis via TrueSpec |
| Check the status of a torrent scan request |
Resources
URI | Description |
| Catalog statistics (content/torrent counts by source) |
Prompts
Prompt | Description |
| Search for a movie by title and get torrents + streaming |
| Search for a TV show by title and get torrents |
| Discover recently added movies and TV shows |
| Find where to stream, rent, or buy a title |
Configuration
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"torrentclaw": {
"command": "npx",
"args": ["-y", "@torrentclaw/mcp@0.2.3"],
"env": { "TORRENTCLAW_API_KEY": "your-key" }
}
}
}Claude Code
Add to .mcp.json or ~/.claude/settings.json:
{
"mcpServers": {
"torrentclaw": {
"command": "npx",
"args": ["-y", "@torrentclaw/mcp@0.2.3"],
"env": { "TORRENTCLAW_API_KEY": "your-key" }
}
}
}Environment Variables
Variable | Default | Description |
|
| Base URL of the TorrentClaw API |
| (none) | Recommended. Enables info hashes, magnet links and higher rate limits |
Project Structure
.
├── src/
│ ├── index.ts # MCP server entry point
│ ├── config.ts # Configuration & URL validation
│ ├── api-client.ts # TorrentClaw API client with caching
│ ├── types.ts # TypeScript interfaces for API responses
│ ├── prompts.ts # MCP prompt definitions
│ ├── tools/ # MCP tool implementations
│ │ ├── search-content.ts
│ │ ├── autocomplete.ts
│ │ ├── get-popular.ts
│ │ ├── get-recent.ts
│ │ ├── get-watch-providers.ts
│ │ ├── get-credits.ts
│ │ ├── get-torrent-url.ts
│ │ ├── track-interaction.ts
│ │ └── scan-request.ts
│ ├── formatters/ # Output formatting
│ │ ├── content.ts
│ │ ├── providers.ts
│ │ └── credits.ts
│ └── resources/ # MCP resources
│ └── stats.ts
├── tests/ # Test suite (vitest)
├── .github/workflows/ # CI/CD (lint, build, test, release)
├── lefthook.yml # Git hooks (commit lint, prettier, tsc)
├── Makefile # Dev workflow (build, test, lint, fmt)
├── CONTRIBUTING.md # Contribution guidelines
├── LICENSE # MIT
└── README.mdDevelopment
git clone https://github.com/torrentclaw/torrentclaw-mcp.git
cd torrentclaw-mcp
make install-tools
make hooks
make build && make testTest with MCP Inspector:
npx @modelcontextprotocol/inspector node build/index.jsAbout TorrentClaw
TorrentClaw is an open platform focused on improving the quality and reliability of torrent metadata. Our mission is to make torrent search engines more accurate and the torrent ecosystem healthier — by building tools that verify, enrich, and standardize metadata across the network.
torrentclaw-mcp is part of the TorrentClaw open-source ecosystem, alongside TrueSpec (torrent metadata verification).
Contributing
See CONTRIBUTING.md for guidelines.
License
MIT License — see LICENSE for details.
Available Tools
10 toolsautocompleteA
Get type-ahead search suggestions for movies and TV shows. Use this to validate or disambiguate a title before calling search_content. Returns up to 8 suggestions with id, title, year, and content type. Much faster than a full search.
Inputs: query (required).
get_creditsA
Get the director and top 10 cast members (with character names) for a movie or TV show. Use when the user asks about actors, cast, director, or 'who is in' a title. Requires content_id from search_content results.
Inputs: content_id (required).
get_popularA
Get trending movies and TV shows ranked by user click count. Use when the user asks for recommendations, trending titles, or 'what's popular'. Returns a paginated list with title, year, type, ratings, and content_id. Note: results do NOT include torrents — to get torrents for a title, call search_content with its name.
Inputs: limit, page, locale.
get_recentA
Get the most recently added movies and TV shows, sorted by addition date. Use when the user asks 'what's new', 'latest additions', or 'recently added'. Returns a paginated list with title, year, type, ratings, date added, and content_id. Note: results do NOT include torrents — to get torrents for a title, call search_content with its name.
Inputs: limit, page, locale.
get_scan_statusA
Check the status of a torrent audio/video scan request. Returns the current scan status (pending, scanning, completed, failed). Use after submit_scan_request.
Inputs: info_hash (required).
get_torrent_urlA
Get a direct .torrent file download URL from an info_hash. Use when the user specifically wants a .torrent file rather than a magnet link (magnet links are already in search_content results). Returns a single URL the user can open in their browser or torrent client.
Inputs: info_hash (required).
get_watch_providersA
Check where a movie or TV show is available to stream, rent, or buy (Netflix, Disney+, Amazon Prime, etc.) in a specific country. Requires content_id from search_content results. Note: if you passed country to search_content, streaming info is already in those results — use this tool only for a different country or to get more detail. Returns grouped providers: Stream (subscription), Free, Rent, Buy.
Inputs: content_id (required), country.
search_contentA
Search for movies and TV shows by title, genre, year, rating, or quality. Returns matching content with metadata (title, year, genres, IMDb/TMDB ratings) and torrent download options (magnet links, quality, seeders, file size). This is the primary tool — use it first when a user asks to find, download, or learn about a movie or TV show. Results include a content_id needed by get_watch_providers and get_credits. For TV shows, you can filter by season/episode. Season/episode can also be auto-detected from the query (e.g. 'Bluey s01e05'). IMPORTANT: When presenting results to users, make magnet links clickable using markdown format Download, include the contentUrl for browsing all seasons/episodes, and present the information in a user-friendly format rather than raw tables.
Inputs: query (required), type, genre, year_min, +15 more.
submit_scan_requestA
Submit a torrent for audio/video quality analysis (codec, tracks, resolution, HDR). Use when the user wants to know the exact media specs of a torrent before downloading. Results are not instant — use get_scan_status to check progress. Rate limited to 5 requests per hour.
Inputs: info_hash (required), email (required).
track_interactionA
Track a user interaction with a torrent (magnet link click, .torrent download, or hash copy). Use this after presenting a magnet link or torrent URL to the user, to keep popularity stats accurate. Fire-and-forget — does not block.
Inputs: info_hash (required), action (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool has a distinct, well-defined purpose with minimal overlap. For example, autocomplete provides suggestions, search_content is the primary search tool, get_credits retrieves cast info, and get_torrent_url handles .torrent file downloads. The descriptions clearly differentiate when to use each tool, preventing misselection.
All tool names follow a consistent verb_noun pattern (e.g., get_credits, search_content, submit_scan_request). The naming is uniform across all 10 tools, using snake_case and clear action-object pairs, making the set predictable and easy to understand.
With 10 tools, the server is well-scoped for its torrent and media search domain. The tools cover key workflows like searching, getting metadata, checking availability, and handling torrents, without being overwhelming. Each tool serves a specific, justified role in the overall functionality.
The toolset provides comprehensive coverage for torrent discovery and media information, including search, metadata, popularity, credits, watch providers, and torrent analysis. A minor gap is the lack of a tool for managing user preferences or saved content, but core operations are well-covered, allowing agents to handle most user requests effectively.
Maintenance
Related MCP Connectors
Track the TV and films you watch, and find more like them, by talking to your own AI.
The media memory layer for AI agents and their humans. Your AI client can search your collection, add and log what you've finished, update ratings and lists, and find patterns across everything you've read, watched, played, and listened to.
YouTube transcripts, IMDb search and podcast search as agent tools.
15 media & data tools for AI agents: search, transcribe, subtitles, voiceover, translate & more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides integration with The Movie Database (TMDB) API for searching movies, TV shows, and people, accessing detailed information, and discovering popular and trending content. Enables AI assistants to access comprehensive movie and television metadata including ratings, cast, crew, and overviews.1ISC
- AlicenseBqualityCmaintenanceEnables AI assistants to manage media automation services like Sonarr, Radarr, Prowlarr, Bazarr, Overseerr, and Plex through natural language commands.410MIT
- AlicenseAqualityCmaintenanceEnables AI agents to search and explore movies, TV shows, people, trending titles, recommendations, and streaming availability. Supports discovery by genre, year, score, runtime, language, and streaming service with compact, typed outputs.10MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to search movies and TV shows, compare ratings across multiple sources, check streaming availability, and manage lists, watchlists, ratings, and watch history through natural language.332MIT