iptorrents MCP Server
iptorrents MCP 服务器
用于从 iptorrents.com 搜索和下载种子的 MCP (Model Context Protocol) 服务器。
功能
带有过滤和排序功能的种子搜索
基于浏览器 Cookie 的身份验证(由于 Cloudflare Turnstile 的存在,不支持自动登录)
种子元数据提取(做种数、下载数、大小、分类等)
Freeleech(免费下载)检测
安装
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 获取 Cookie:
在浏览器中打开 https://iptorrents.com
登录
打开开发者工具 (F12)
进入“存储” (Storage) → “Cookie” → iptorrents.com
复制
uid、pass和cf_clearance的值
运行服务器:
python -m iptorrents_mcp.main工具
search_iptorrents
在 iptorrents.com 上搜索种子
参数:
query(string, 必填): 搜索关键词limit(integer): 最大结果数(默认:10)sort(string): 排序字段 (seeders, leechers, size, downloads, name, age)
示例:
search_iptorrents("The Office", limit=5, sort="seeders")基于
灵感来源于 https://github.com/evanpurkhiser/iptorrents-cli - 这是实现正确 iptorrents API 交互的参考实现。
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hubbertj/openclaw-mcp-iptorrents-v2'
If you have feedback or need assistance with the MCP directory API, please join our Discord server