YggTorrent

Imagine an AI assistant that can browse a massive library of shared files for you. This tool acts as a digital bridge between AI models and YggTorrent, a popular file-sharing platform. It allows users to ask an AI to find specific content, such as software or media, and the AI can then search the site and provide download details directly within a chat conversation. It simplifies the process of finding and managing torrents by making them accessible through simple, natural language requests. Under the hood, this server provides a robust set of tools including specialized functions for searching torrents, retrieving detailed descriptions, and obtaining magnet links or .torrent files. It operates as a Python-based wrapper for the YggAPI, effectively translating complex web requests into a format that AI models can easily process. A key security feature is its local passkey injection system, which ensures that a user's sensitive credentials remain private and are only added to download links on the local machine rather than being transmitted to external servers. For developers and power users, this MCP server offers incredible flexibility by supporting multiple communication standards like stdio, SSE, and FastAPI. It can be seamlessly integrated into AI-powered development environments like Windsurf or Claude, enabling the LLM to act as an automated media curator or file manager. By providing a standardized interface for file-sharing data, it allows AI systems to autonomously handle the heavy lifting of content discovery and metadata retrieval, making it a powerful utility for building automated media pipelines or intelligent search agents.

Category: Files, Documents & PDFs

Tags: file-sharing, media, search, torrents, yggtorrent

Visit YggTorrent

How to install and configure YggTorrent

1. Installation You can install the YggTorrent MCP server using one of the following methods: Method 1: Install from PyPI (Recommended) bash pip install ygg-torrent-mcp Method 2: Using uv (Local Development) 1. Clone the repository: bash git clone https://github.com/philogicae/ygg-torrent-mcp.git cd ygg-torrent-mcp 2. Install dependencies: bash uv sync --locked Method 3: Using Docker 1. Clone the repository and navigate to the folder. 2. Build and run the container: bash docker compose up --build -d ---

2. Configuration The server requires your YggTorrent Passkey. 1. Log in to YggTorrent. 2. Navigate to Mon compte -> PASSKEY field to find your key. 3. Set the environment variable YGG_PASSKEY or create a .env file in the project root: env YGG_PASSKEY=your_passkey_here

MCP Settings Configuration (Claude Desktop, Windsurf, etc.) Add the following to your MCP settings file (e.g., claude_desktop_config.json): Using stdio (Recommended for most clients): json { "mcpServers": { "ygg-torrent-mcp": { "command": "uvx", "args": ["ygg-torrent-mcp"], "env": { "YGG_PASSKEY": "your_passkey_here" } } } } Using SSE transport (If running the server separately): json { "mcpServers": { "ygg-torrent-mcp": { "serverUrl": "http://127.0.0.1:8000/sse" } } } ---

3. Available Tools * search_torrents: Search for torrents on the YggTorrent platform. * get_torrent_details: Retrieve detailed information for a specific torrent. * get_magnet_link: Retrieve the magnet link for a specific torrent (passkey is injected locally). * download_torrent_file: Retrieve the .torrent file for a specific torrent. * get_torrent_categories: Retrieve available torrent categories. ---

4. Example Prompts * "Search for 'Open Source Linux' torrents on YggTorrent." * "Find the magnet link for the top-seeded torrent in my recent search." * "Show me the details and categories for [Torrent Name/ID]." * "Download the torrent file for [Torrent ID]."

What you can do with YggTorrent

Use Case 1: Automated High-Quality Media Discovery Problem: Users often spend significant time manually filtering through search results to find specific media releases that meet high-quality standards (e.g., 4K, specific bitrates, or particular encoders) while ensuring the torrent is "healthy" with enough seeders. Solution: This MCP allows an AI assistant to programmatically search YggTorrent and filter results based on metadata like size, seeder

leecher ratios, and upload dates. The AI can analyze the "details" of multiple torrents simultaneously to recommend the best option. Example: A user asks, "Find the best 4K HDR version of 'Dune: Part Two' with more than 100 seeders." The AI searches, compares the results provided by the MCP, and returns the magnet link for the highest-rated release.

Use Case 2: Building a Remote "Watch Folder" Automation Problem: Users often find content they want while away from their home computer or while using a mobile AI client, making it difficult to start downloads on their home server. Solution: By combining the YggTorrent MCP with a Filesystem MCP, an AI assistant can search for a file, retrieve the .torrent file using the download_torrent_file tool, and save it directly into a NAS or Seedbox "watch" folder. Example: Through a chat interface like Windsurf, the user says, "I want to watch the latest episode of 'Top Chef France'. Find it on Ygg and save the torrent file to my `

home/media/watch` folder." The AI handles the search, passkey injection, and file movement in one step.

Use Case 3: Content Availability Monitoring for Niche Releases Problem: Specific niche content (like older French documentaries or specific software versions) may not be available immediately, requiring the user to check the site repeatedly. Solution: Since the MCP provides a programmatic interface, it can be used within an AI-driven workflow to periodically check for specific keywords and notify the user when a match appears. Example: A developer sets up a prompt: "Check YggTorrent every morning for any new uploads containing 'Linux Mint 22 French ISO'. If found, give me the details and the seeder count." The AI uses the search_torrents tool to perform this check.

Use Case 4: Media Library Health Audit Problem: Users with large local media libraries may have "dead" files or low-quality versions they wish to upgrade, but searching for replacements for dozens of files is tedious. Solution: An AI agent can read a local directory of file names, then…

Key facts

  • Open Source
  • https://github.com/philogicae/ygg-torrent-mcp
  • Files, Documents & PDFs, Web Search & Research
  • file-sharing, media, search, torrents, yggtorrent

Part of MCP Servers

Related MCP servers

  • MCP LaTeX Server — MCP LaTeX Server is an MCP server that provides tools for creating, editing, validating, and compiling LaTeX documents directly through…
  • MCP JSON — MCP JSON is an MCP server collection that bundles tools for file system operations, Google search, browser-based web automation, and…
  • MCP MD2PDF Server — MCP MD2PDF Server is an MCP server that enables automated conversion of Markdown documents into formatted PDF files with full…
  • MCP Media Processing Server — MCP Media Processing Server is an MCP server that connects AI assistants like Claude Desktop to local media manipulation utilities,…
  • MCP Knowledge Base — MCP Knowledge Base is an MCP server that processes local documents and answers queries based on their contents through similarity…
  • MCP Music Analysis — MCP Music Analysis is an MCP server that enables AI clients like Claude to inspect and process sound recordings using…

What can YggTorrent do?

The YggTorrent MCP server enables AI assistants to search the YggTorrent catalog, list categories, inspect torrent metadata, and fetch magnet links or torrent files. It allows users to ask natural language questions about available releases and automatically resolves queries into platform calls, injecting personal passkeys locally so authentication tokens are never exposed externally.

How do I install YggTorrent?

Installation guidelines and dependencies are maintained directly in the project repository. Users should visit the official GitHub repository at https://github.com/philogicae/ygg-torrent-mcp to find step-by-step setup guides, required runtime dependencies, and environment variable configuration instructions needed to connect the server to an MCP host.

Which MCP clients work with YggTorrent?

YggTorrent works with any client supporting the Model Context Protocol, including Claude Desktop, Cursor, and Windsurf. Once registered in the client configuration file with the proper environment settings, the AI interface can execute searches, fetch torrent metadata, and provide magnet links directly within the chat workspace.

Is YggTorrent open source?

Yes, YggTorrent is open-source software. Users can inspect the complete source code, submit pull requests, report issues, and verify security implementations directly on GitHub at https://github.com/philogicae/ygg-torrent-mcp. The codebase is maintained publicly for community review and development.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories