1. Conduid
  2. Developer Tools
  3. Fr Torrent Search MCP
MCP server · Developer Tools

Fr Torrent Search MCP

Python API & MCP server to find french torrents programmatically

59Fair

Scored 2 days ago · breakdown

About Fr Torrent Search MCP

Fr Torrent Search MCP is an MCP server published by philogicae in the Developer Tools category: python API & MCP server to find french torrents programmatically.

The repository has 2 stars and 0 forks, with the last commit 3 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/philogicae/fr-torrent-search-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Fr Torrent Search MCP

Powered by Claude · Grounded in docs

I know everything about Fr Torrent Search MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

3 checks have not been run yet.

Releases

1.4.01.4.0 · 13 Jul 2026[1.4.0] - 2026-07-13 Full Changelog**: https://github.com/philogicae/fr-torrent-search-mcp/compare/1.3.3...1.4.0 ⚙️ Miscellaneous Tasks Chore: Update CHANGELOG Chore: Remove La Cale support, update Python to 3.14, and improve CI workflow
1.3.31.3.3 · 30 Apr 2026[1.3.3] - 2026-04-30 Full Changelog**: https://github.com/philogicae/fr-torrent-search-mcp/compare/1.3.2...1.3.3 ⚙️ Miscellaneous Tasks Chore: Update CHANGELOG Chore: Update deps
1.3.21.3.2 · 18 Apr 2026[1.3.2] - 2026-04-18 Full Changelog**: https://github.com/philogicae/fr-torrent-search-mcp/compare/1.3.1...1.3.2 🐛 Bug Fixes Fix: Update version to 1.3.2 and switch YggTorrent API image, fix test mocks to use CaseInsensitiveDict for…
1.3.11.3.1 · 8 Mar 2026[1.3.1] - 2026-03-08 Full Changelog**: https://github.com/philogicae/fr-torrent-search-mcp/compare/1.3.0...1.3.1 ⚙️ Miscellaneous Tasks Chore: Update CHANGELOG version from 1.2.1 to 1.3.0 Chore: Update version from 1.3.0 to 1.3.1 and…
1.3.01.3.0 · 6 Mar 2026[1.3.0] - 2026-03-06 Full Changelog**: https://github.com/philogicae/fr-torrent-search-mcp/compare/1.2.1...1.3.0 🚀 Features Feat: Re-enable YggTorrent support via local bridge API with magnet link functionality ⚙️ Miscellaneous Tasks…

README

FR Torrent MCP Server & Wrapper

uv Python PyPI Actions status Ask DeepWiki

This repository provides a Python wrapper for the FR Torrent websites and an MCP (Model Context Protocol) server to interact with them programmatically. This allows for easy integration of FR Torrent functionalities into other applications or services.

Quickstart

How to use it with MCP Clients

Run it with Docker to bypass common DNS issues

Table of Contents

Features

  • API aggregator for multiple French torrent providers:
    • YggTorrent (now ygg.gratis): Support via local bridge UwUDev/ygege Fork
    • La Cale: Native support (requires apikey).
  • MCP server interface for standardized communication (stdio, sse, streamable-http)
  • FastAPI server interface for alternative HTTP access (e.g., for direct API calls or testing)
  • Tools:
    • Search for torrents across all providers
    • Get torrent
      • Get magnet link
      • Download torrent file

Setup

Prerequisites

  • Python 3.10+ (required for PyPI install).
  • uv (for local development)
  • Docker and Docker Compose (for Docker setup)
  • Passkey for LaCale (Optional). Create your apikey on https://la-cale.space/settings/api-keys

Configuration (Optional)

This application requires credentials if you want to interact with La Cale.

  1. La Cale: Find your API key on the La Cale website.
  2. Set Environment Variables: The application reads configuration from environment variables. The recommended way to set them is by creating a .env file in your project's root directory. The application will load it automatically. See .env.example for all available options.

Installation

Choose one of the following installation methods.

Install from PyPI (Recommended)

This method is best for using the package as a library or running the server without modifying the code.

  1. Install the package from PyPI:
pip install fr-torrent-search-mcp
  1. Create a .env file in the directory where you'll run the application and add your configuration:
LA_CALE_API_KEY=your_la_cale_passkey
#FOLDER_TORRENT_FILES=/path/to/target/folder
  1. Run the MCP server (default: stdio):
python -m fr_torrent_search

For Local Development

This method is for contributors who want to modify the source code. Using uv:

  1. Clone the repository:
git clone https://github.com/philogicae/fr-torrent-search-mcp.git
cd fr-torrent-search-mcp
  1. Install dependencies using uv:
uv sync --locked
  1. Create your configuration file by copying the example and add your apikey:
cp .env.example .env
  1. Run the MCP server (default: stdio):
uv run -m fr_torrent_search

For Docker

This method uses Docker to run the server in a container.

compose.yaml is configured to bypass DNS issues (using quad9 DNS).

  1. Clone the repository (if you haven't already):
git clone https://github.com/philogicae/fr-torrent-search-mcp.git
cd fr-torrent-search-mcp
  1. Create your configuration file by copying the example and add your apikey:
cp .env.example .env
  1. Build and run the container using Docker Compose (default port: 8000):
docker compose up --build -d
  1. Access container logs:
docker logs fr-torrent-search-mcp -f

Usage

As Python Wrapper

from fr_torrent_search import fr_torrent_api

results = fr_torrent_api.search_torrents('...', max_items=10)
for torrent in results:
    print(f"{torrent.filename} | {torrent.size} | {torrent.seeders} SE | {torrent.leechers} LE | {torrent.downloads} DL | {torrent.date}")

As MCP Server

from fr_torrent_search import fr_torrent_mcp

fr_torrent_mcp.run(transport="sse")

As FastAPI Server

This project also includes a FastAPI server as an alternative way to interact with the FR Torrent functionalities via a standard HTTP API. This can be useful for direct API calls, integration with other web services, or for testing purposes.

Running the FastAPI Server:

# With Python
python -m fr_torrent_search --mode fastapi
# With uv
uv run -m fr_torrent_search --mode fastapi
  • --host <host>: Default: 0.0.0.0.
  • --port <port>: Default: 8000.
  • --reload: Enables auto-reloading when code changes (useful for development).
  • --workers <workers>: Default: 1.

The FastAPI server will then be accessible at http://<host>:<port>

Available Endpoints: The FastAPI server exposes similar functionalities to the MCP server. Key endpoints include:

  • GET /: Health check endpoint. Returns {"status": "ok"}.
  • POST /torrent/search: Search for torrents (params: query, max_items).
  • GET /torrent/{torrent_id}: Get torrent (returns magnet link or .torrent file).
  • GET /torrent/{torrent_id}/magnet: Get magnet link for a torrent.
  • GET /torrent/{torrent_id}/file: Download .torrent file.
  • GET /docs: Interactive API documentation (Swagger UI).
  • GET /redoc: Alternative API documentation (ReDoc).

Environment variables are configured the same way as for the MCP server.

Via MCP Clients

Usable with any MCP-compatible client. Available tools:

  • search_torrents: Search for torrents.
  • get_torrent: Get torrent data (magnet or file).
  • get_magnet_link: Get the magnet link for a torrent.
  • download_torrent_file: Download the .torrent file for a torrent.

Example with Windsurf

Configuration:

{
  "mcpServers": {
    ...
    # with sse transport (requires installation)
    "fr-torrent-search-mcp": {
      "serverUrl": "http://127.0.0.1:8000/sse"
    }
    # with streamable-http transport (requires installation)
    "fr-torrent-search-mcp": {
      "serverUrl": "http://127.0.0.1:8000/mcp" # not yet supported by every client
    }
    ...
  }
}

Changelog

See CHANGELOG.md for a history of changes to this project.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Fr Torrent Search MCP

How do I install Fr Torrent Search MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Fr Torrent Search MCP safe to use with an AI agent?

Its trust score is 59 out of 100 (fair). It passes 2 of the 3 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Fr Torrent Search MCP still maintained?

Yes — the latest release is 1.4.0 (13 Jul 2026), and the last commit was 3 months ago. The repository has 2 stars.