pt-toolsAutomation for private trackers
Download, brush and cross-seed with IYUU, follow shows into your media library, and keep every site's statistics and your qBittorrent and Transmission in one place, from the web, the app, QQ or Telegram.
- Runs on
- Docker, Linux, Windows; amd64 and arm64
- Your data
- On your own server; cookies encrypted
- Docs version
- The 1.0 preview; stable is still 0.48.0
Follow a show, locked to one release


Each new episode is filed into the TV library


What pt-tools does
Features marked Preview ship in the 1.0 preview releases and are not in the 0.48.0 stable release yet; see What's new in the 1.0 preview. Each card's title opens its guide.
- Preview
Following shows and filing them
Subscribe to a film or follow a season. Each episode is searched on your sites as it airs, keeping to one release, and upgrades swap in better ones; finished downloads are hard-linked into your library by a naming template, with NFO files and artwork, and Emby, Jellyfin or Plex is asked to scan. One page per title shows the episodes in your library and whether the torrents seeding can be deleted, and the calendar lists the updates day by day.
The Long Night (2025)/Season 02/The Long Night - S02E07 - The Missing.mkv - Available
Sites and statistics
72 built-in sites. The statistics page totals each site's upload, ratio, seeding and progress to the next class; you can search across sites and hear about a site before an inactive account is disabled.
- Cookie
- API key
- Passkey
- Available
Automatic RSS downloads
Feeds are fetched on a schedule, and a feed without filter rules downloads freeleech torrents only. Rules can limit the size, and a torrent still downloading when its free period ends is paused or deleted, as its subscription chooses.
- Keywords
- Wildcards
- Regular expressions
- Preview
Brushing and cross-seeding
Brush tasks pick fresh freeleech torrents from a site's list by your conditions and remove them by seeding time, ratio and upload speed. IYUU cross-seeding adds torrents with the same data on other sites to the same downloader, and they seed only after a 100% check.
list 50, matching 4, added 2 - Available
Downloaders
Add several qBittorrent and Transmission instances; a torrent goes to the one bound to its RSS feed, then its site, then the default. Free space and the site's seeding limit are checked before every push, and auto-delete keeps H&R torrents.
- qBittorrent
- Transmission
- Preview
Mobile app and remote access
The Android app shows the overview, torrents, sites and subscriptions away from home. Pair it by scanning a QR code; it tries a direct connection first and falls back to a relay. The connection is end-to-end encrypted, no port has to be opened to the internet, and you can run the relay yourself.
pt-tools relay serve - Preview
AI assistant and MCP
Connect an OpenAI-compatible model and ask in plain language, in the web interface, the mobile app, Telegram or QQ, to look up data, search and push torrents and manage subscriptions; MCP clients such as Claude and Cursor can connect too. Every change waits for your confirmation.
- DeepSeek
- Qwen
- Kimi
- SiliconFlow
- Google AI Studio
- Groq
- OpenRouter
- Ollama
- OpenAI
- Available
QQ, Telegram and notifications
Check status and torrents from QQ or Telegram, pause, resume or delete torrents and add RSS feeds, with every command recorded in the audit log. New-torrent notifications support quiet hours, digests and an hourly limit.
- /status
- /tasks
- /torrents
- /addrss
- Preview
Home page and NAS monitoring
The home page puts today's episodes, what needs attention, downloaders and storage in one place. The NAS overview reads CPU, memory, network and storage from the local host, TrueNAS or Glances, with Synology and fnOS as experimental sources.
- Local
- TrueNAS
- Glances
- Synology
- fnOS
- Preview
Upgrades and backups
The database is backed up every day, and once more before the first start on a new version; you can back up, download and restore from the web interface. Binary installs also upgrade from the web interface.
pt-tools db backup
Brush tasks
Pick fresh freeleech torrents from a site's list by your conditions, seed them, and remove them by seeding time, ratio and upload speed. Each run records what it read and why each torrent was skipped.
Freeleech only by default
Only free and 2x free torrents are taken and H&R is excluded; when a site has site-wide H&R, every torrent from it counts as H&R.
The same checks as RSS
Disk reserve and the site's seeding capacity are checked before a torrent is added, and removal only touches torrents the task added.
Earnings by period
Upload and download by day, week, month, quarter or year, with one bar per day for the last 30 days.


Mobile app
Once paired by QR code, the Android app shows the overview, torrents, sites and subscriptions away from home, and pauses, deletes and pushes torrents or manages subscriptions within the permissions given at pairing.
No open port
The app tries a direct connection first and falls back to a relay; the connection is end-to-end encrypted, and the relay only forwards data it cannot read.
Permissions per device
Choose Full control or Read only when pairing, then change the permission or revoke the device at any time.
Released with the server
The app's installers ship in the same GitHub release as the server.


AI assistant
Connect an OpenAI-compatible model and ask pt-tools in plain language which episode a show is up to or how much you uploaded today, or have it search and push torrents and add subscriptions.
Changes wait for you
Pushes, deletions and subscription changes first show a confirmation card with each value before and after and the possible effects; nothing runs until you confirm.
Credentials stay out
Cookies, passkeys and passwords are never sent to the model, and the data its tools return is redacted first.
Ask from anywhere
Chat in the web interface or the mobile app, or message the assistant through the Telegram and QQ bots.


Ways to run it
Every option runs the same program with the same data folder, so you can move between them.
Docker
Available- Architectures
- amd64 and arm64
- Where to get it
- sunerpy/pt-tools on Docker Hub, or ghcr.io/sunerpy/pt-tools with a build attestation
- Data folder
- Mounted at /app/.pt-tools
Linux
Available- Architectures
- amd64 and arm64
- Where to get it
- The release archive, or an install script that checks SHA-256
- Data folder
- ~/.pt-tools
Windows
Available- Architectures
- amd64 and arm64
- Where to get it
- The release archive, or a PowerShell install script
- Data folder
- .pt-tools in your user folder
Docker Compose is the recommended way. Keep the data folder /app/.pt-tools on a volume: its secret.key is what decrypts your saved site credentials.
services:
pt-tools:
image: sunerpy/pt-tools:latest
container_name: pt-tools
environment:
TZ: Asia/Shanghai
ports:
- "8080:8080"
volumes:
- ./data:/app/.pt-tools
restart: unless-stoppedcurl -fsSL https://raw.githubusercontent.com/sunerpy/pt-tools/main/scripts/install.sh | shirm https://raw.githubusercontent.com/sunerpy/pt-tools/main/scripts/install.ps1 | iexThe install scripts download the latest release and check it against the same release's checksums.txt before unpacking.
The commands above install the 0.48.0 stable release. To use the features marked Preview, install a preview release as described in Installing a preview release; What's new in the 1.0 preview lists what it adds.
There is no macOS binary; use Docker on macOS. pt-tools listens on port 8080 by default.
Where your data goes
The core features of pt-tools depend on no hosted service. These are the things it connects to; apart from update checks on GitHub, each one is contacted only after you enable or configure it.
Private trackers
SendsA cookie, API key or passkey
Fetching feeds, searching, reading statistics and checking login status only ever contact the sites you have added.
Downloaders
SendsTorrent files and commands
Pushing torrents and reading tasks and free space only contact the qBittorrent and Transmission instances you configure.
Notification channels and GitHub
SendsNotifications and version checks
Notifications go only to the channels you enable; checking for updates and upgrading the binary reach GitHub Releases.
AI model provider
SendsThe conversation and the data its tools return
Contacted only once the AI assistant is enabled, and only the provider you chose; cookies, passkeys and passwords are never given to the model.
Remote access relay
SendsThe app's encrypted connection
Contacted only once remote access is turned on. With no relay set, the built-in hosted relay is used; it only forwards end-to-end encrypted data and cannot read it. You can run your own relay or connect directly only.
Media and cross-seeding services
SendsTitles, TMDB IDs and torrent info hashes
TMDB and Douban's public data are contacted when you use the media features; with IYUU cross-seeding on, the info hashes of finished torrents in your downloaders are sent to IYUU for lookup; CookieCloud only ever means your own server.
Questions
How do I get the features marked Preview?
They are in the 1.0 preview releases (v1.0.0-rc.N), not in the 0.48.0 stable release yet. Install a preview release as the install guide describes; previews are for testing, so back up the data folder before you upgrade.
Will the AI make changes on its own?
No. The built-in AI assistant asks you to confirm every change before it runs. An MCP write tool first returns only a preview; once you agree in your client, the client's AI calls it again with confirm=true to run it, and a token without the MCP write scope cannot use these tools at all.
Can MCP upgrade or restart pt-tools?
No. No MCP tool upgrades, restarts or otherwise interrupts the service, and the update check only reports new versions. Changing the configuration needs the token's separate Config scope, and it too returns a preview first and saves only after you confirm.
Does it work with MoviePilot, Sonarr or Seerr?
Yes, through two compatible entrances in the 1.0 preview. The qB-compatible entrance lets tools that only talk to qBittorrent treat pt-tools as one, and the torrents they add still pass the disk space and site seeding capacity checks. The Servarr-compatible entrance lets Seerr treat pt-tools as Radarr and Sonarr, turning requested films and series into subscriptions and follows.
Do I have to open a port to reach home from my phone?
No. The app tries a direct connection first and falls back to a relay; the connection is end-to-end encrypted, and the relay only forwards data it cannot read. With no relay set, the built-in hosted relay is used; you can also run your own or connect directly only.
My site is not in the list. What can I do?
Collect redacted pages with the browser extension and request the new site by following the steps; no code is needed.
Install pt-tools
A Docker image, and binaries for Linux and Windows, under the MIT License. Report problems and suggest features in GitHub Issues.
- Bug reports and feature requests: GitHub Issues
- Questions and discussion: GitHub Discussions, the Telegram group, or QQ group 274984594
- WeChat Official Account: 六月水蓝
