Back to Home
philogicae icon

torrent-search-mcp

Verified Safe

by philogicae

Overview

Provides a Python API and an MCP/FastAPI server to search for torrents programmatically across multiple sources like ThePirateBay, Nyaa, YggTorrent, and La Cale.

Installation

Run Command
docker compose up --build -d

Environment Variables

  • YGG_USERNAME
  • YGG_PASSWORD
  • LA_CALE_PASSKEY
  • FOLDER_TORRENT_FILES
  • EXCLUDE_FR_SOURCES
  • EXCLUDE_SOURCES
  • INCLUDE_LINKS
  • YGG_LOCAL_API

Security Notes

The server performs web scraping using Playwright (Chromium) and interacts with various torrent websites, which carries inherent risks of encountering untrusted content or network interactions. Credentials for YggTorrent and La Cale are managed via environment variables (e.g., .env file) which is good practice. No direct 'eval' or obvious malicious code patterns were found. The Playwright driver installation attempts to handle dependencies, but system-wide dependency installation (if run as root) is always a potential point of friction or risk if the underlying packages were compromised. The custom base62 compression for torrent IDs is used for query parameters, not code execution.

Similar Servers

Stats

Interest Score40
Security Score7
Cost ClassMedium
Avg Tokens2500
Stars20
Forks6
Last Update2026-01-18

Tags

torrent searchweb scrapingAPIMCPPython