torrentclaw/torrentclaw-mcp
The official MCP by TorrentClaw.com
Installation
npx torrentclaw-mcpAsk AI about torrentclaw/torrentclaw-mcp
Powered by Claude Β· Grounded in docs
I know everything about torrentclaw/torrentclaw-mcp. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
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
npx torrentclaw-mcp
No API key required (optional for higher rate limits).
What can it do?
Tools
| Tool | Description |
|---|---|
search_content | 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. |
autocomplete | Type-ahead search suggestions (up to 8 results). Use to validate titles before a full search. |
get_popular | Get popular content ranked by user clicks |
get_recent | Get recently added content |
get_watch_providers | Streaming availability by country (Netflix, Disney+, etc.) |
get_credits | Cast and director for a title |
get_torrent_url | Get .torrent file download URL from info hash |
track_interaction | Track user interaction with a torrent (magnet click, download, copy) |
submit_scan_request | Submit a torrent for audio/video quality analysis via TrueSpec |
get_scan_status | Check the status of a torrent scan request |
Resources
| URI | Description |
|---|---|
torrentclaw://stats | Catalog statistics (content/torrent counts by source) |
Prompts
| Prompt | Description |
|---|---|
search_movie | Search for a movie by title and get torrents + streaming |
search_show | Search for a TV show by title and get torrents |
whats_new | Discover recently added movies and TV shows |
where_to_watch | 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"]
}
}
}
Claude Code
Add to .mcp.json or ~/.claude/settings.json:
{
"mcpServers": {
"torrentclaw": {
"command": "npx",
"args": ["-y", "torrentclaw-mcp"]
}
}
}
Environment Variables
| Variable | Default | Description |
|---|---|---|
TORRENTCLAW_API_URL | https://torrentclaw.com | Base URL of the TorrentClaw API |
TORRENTCLAW_API_KEY | (none) | Optional API key for authenticated access (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.md
Development
git clone https://github.com/torrentclaw/torrentclaw-mcp.git
cd torrentclaw-mcp
make install-tools
make hooks
make build && make test
Test with MCP Inspector:
npx @modelcontextprotocol/inspector node build/index.js
About 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.
