Skip to main content
Glama
hubbertj

iptorrents MCP Server

by hubbertj

iptorrents MCP Server

MCP (Model Context Protocol) сервер для поиска и скачивания торрентов с iptorrents.com.

Функции

  • Поиск торрентов с фильтрацией и сортировкой

  • Аутентификация на основе файлов cookie браузера (автоматический вход невозможен из-за Cloudflare Turnstile)

  • Извлечение метаданных торрента (сиды, личи, размер, категория и т. д.)

  • Обнаружение freeleech

Related MCP server: RuTracker MCP Server

Установка

pip install -e .

Использование

Установите переменные окружения для аутентификации на iptorrents:

export IPTORRENTS_UID="<your_uid_cookie>"
export IPTORRENTS_PASS="<your_pass_cookie>"
export IPTORRENTS_CF_CLEARANCE="<cf_clearance_if_needed>"

Получите файлы cookie с iptorrents.com:

  1. Откройте https://iptorrents.com в браузере

  2. Войдите в систему

  3. Откройте инструменты разработчика (F12)

  4. Перейдите в Хранилище → Файлы cookie → iptorrents.com

  5. Скопируйте значения для uid, pass и cf_clearance

Запустите сервер:

python -m iptorrents_mcp.main

Инструменты

Поиск торрентов на iptorrents.com

Параметры:

  • query (строка, обязательно): Поисковый запрос

  • limit (целое число): Максимальное количество результатов (по умолчанию: 10)

  • sort (строка): Поле для сортировки (seeders, leechers, size, downloads, name, age)

Пример:

search_iptorrents("The Office", limit=5, sort="seeders")

Основано на

Вдохновлено https://github.com/evanpurkhiser/iptorrents-cli — эталонной реализацией для правильного взаимодействия с API iptorrents.

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables interaction with qBittorrent through its Web API to search for torrents using search plugins and manage downloads. Supports torrent searching, downloading via URLs/magnet links, and torrent management operations like pause, resume, and delete.
    7
    3
    -
  • F
    license
    Not graded
    quality
    B
    maintenance
    Allows 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.
    -
  • F
    license
    A
    quality
    D
    maintenance
    Enables searching torrents, fetching metadata, and downloading torrent files from c411.org. It provides tools for accessing torrent comments and detailed infoHash metadata while maintaining authenticated sessions.
    4
    4
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables searching and downloading torrents from YggTorrent via MCP tools such as search_torrents, get_torrent_details, get_magnet_link, and download_torrent_file.
    MIT