Skip to main content
Glama
iptorrents MCP Server

iptorrents MCP Server

by hubbertj

iptorrents MCP サーバー

iptorrents.com からトレントを検索・ダウンロードするための MCP (Model Context Protocol) サーバーです。

機能

  • フィルタリングと並べ替えによるトレント検索

  • ブラウザのクッキーベースの認証 (Cloudflare Turnstile のため自動ログインは非対応)

  • トレントメタデータの抽出 (シード数、リーチ数、サイズ、カテゴリなど)

  • フリーリーチ検出

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>"

iptorrents.com からクッキーを取得します:

  1. ブラウザで https://iptorrents.com を開く

  2. サインインする

  3. 開発者ツール (F12) を開く

  4. 「ストレージ」→「クッキー」→「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 に触発されました。これは適切な iptorrents API インタラクションのためのリファレンス実装です。

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    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.
      -
    • A
      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
      MIT
    • 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