rutracker_mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rutracker_mcpsearch for 'Game of Thrones' torrents and show top results"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rutracker_mcp
MCP server for RuTracker — search for torrents and download .torrent files directly from Claude (Desktop / Code / API) and any MCP-compatible clients.
⚠️ This is a fork. Based on
CarrySauce/rutracker-mcp-server(which is itself a fork ofnotnooblord/rutracker-mcp-server), built on FastMCP +py-rutracker-client. The original MCP server (server.py) and toolset are preserved unchanged. The fork adds blocking bypass for access from Russia.
Why this fork
The original logs in with a plain POST to login.php. Under Russian conditions this doesn't work:
Cloudflare Managed Challenge. RuTracker is protected by Cloudflare's anti-bot check; a plain HTTP client (
aiohttp) can't pass it and gets a403.RKN blocking +
cf_clearancetied to IP. The site is blocked by Russian ISPs, and the Cloudflare token is tied to the IP and User-Agent.
What's been added
File | Purpose |
|
|
| Cookie harvesting ( |
| Tests "cookie login + search" |
More details in docs/USER_GUIDE_RU.md (for humans) and AGENTS.md (for AI agents).
Related MCP server: RuTracker MCP Server
How it works
get_cookies_pr.py --(patchright + настоящий Chrome через VPN)--> проходит Cloudflare, логинится
--> cookies.json (bb_session, cf_clearance, User-Agent)
server.py (MCP) --> CookieRuTrackerClient:
• вливает cookies.json в aiohttp-сессию (без login.php)
• биндит сокет к IP TAP-адаптера VPN (тот же IP, что у Chrome)
• тот же User-Agent -> cf_clearance валиденRequirements
Python 3.13+
RuTracker account
VPN with a TAP adapter (tested on ZoogVPN). Mandatory from Russia.
Google Chrome (for cookie harvesting via patchright)
Quick start
git clone https://github.com/Lqueed/rutracker_mcp.git
cd rutracker_mcp
python -m venv .venv
.venv/Scripts/python -m pip install -r requirements.txt
.venv/Scripts/python -m pip install patchright psutil
.venv/Scripts/python -m patchright install chromium
cp .env.example .env # вписать RUTRACKER_LOGIN и RUTRACKER_PASSWORD
# включить VPN, затем добыть cookie:
.venv/Scripts/python get_cookies_pr.py
# проверить:
.venv/Scripts/python test_cookie.py # -> "УСПЕХ: получено результатов: N"Connecting to Claude Code
claude mcp add rutracker --scope user \
--env HTTP_PROXY= --env HTTPS_PROXY= \
-- /abs/path/.venv/Scripts/python.exe /abs/path/server.py --transport stdioEmpty HTTP_PROXY/HTTPS_PROXY — so that python doesn't go through a possible system proxy.
MCP tools
Tool | Description |
| Keyword search on a page (50 results), with magnet links |
| Parallel search across multiple pages |
| Full torrent description (quality, codec, post text, magnet) |
| Download |
| Topic URL and direct download URL by |
The server only serves .torrent files and magnet links, not the content itself — use a BitTorrent client (qBittorrent, Transmission) for downloading.
VPN bind configuration
The client automatically looks for an adapter whose name contains zoog. Override with:
RUTRACKER_VPN_ADAPTER— adapter name substring (defaultzoog);RUTRACKER_BIND_IP— explicit IP for socket binding.
If neither is set and no adapter is found — binding is disabled (python will use the normal route).
Security
.env, cookies.json, .chrome-profile/ contain credentials/session and are excluded from git (.gitignore). Don't commit them.
Credits / license
Original MCP server and library — CarrySauce, notnooblord. License is inherited from the original project.
This server cannot be deployed
Maintenance
Related MCP Connectors
Search thousands of active YouTube sponsors and 60,000+ channels from any MCP client. Free tier.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Publish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.
Trust, freshness, policy, and discovery layer for public MCP servers.
Related MCP Servers
- AlicenseAqualityAmaintenanceA Python MCP server that allows programmatic interaction to find torrents programmatically on ThePirateBay, Nyaa and YggTorrent.630PythonMIT
- FlicenseNot gradedqualityBmaintenanceAllows users to search and browse torrents on rutracker.org, retrieving detailed metadata including magnet links and file lists. It automatically handles authentication by extracting session cookies from the Brave browser on macOS.-
- AlicenseNot gradedqualityDmaintenanceEnables searching and downloading torrents from YggTorrent via MCP tools such as search_torrents, get_torrent_details, get_magnet_link, and download_torrent_file.MIT
- AlicenseBqualityBmaintenanceMCP server for rTorrent BitTorrent automation, enabling torrent management (add/list/pause/delete), multi-source searching (Nyaa, Pirate Bay, etc.), and post-processing workflows via natural language.71MIT