fleapit
Search torrents, download them, stream video files to VLC while downloading, and manage active downloads via the BitTorrent protocol.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fleapitFind me Big Buck Bunny and play it"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fleapit
The seediest cinema in your terminal.
A fleapit is British slang for the scruffy neighborhood picture-house — sticky floors, creaky seats, but it played everything and everyone secretly loved it. This fleapit is an MCP server that lets any terminal AI agent find torrents, download them, and stream video straight to VLC. And yes: every show here is powered by seeders.
Search — curated scrapers (vendored from torlink, MIT): YTS, The Pirate Bay, 1337x, EZTV, Nyaa, SubsPlease, FitGirl, BitTorrented. Results come back with size, seeders, and ready-to-use magnet links.
Download — WebTorrent under the hood; downloads run in the background inside the server process, saved to
~/Downloadsby default.Stream — a local HTTP server with Range support streams any video file while it downloads; VLC launches automatically and playback starts within seconds.
What it looks like
Once fleapit is hooked up, you just talk to your agent:
"Find me Big Buck Bunny and play it" → agent calls
search_torrents, picks the healthiest result, callsstream_torrent— VLC opens and playback starts while the download runs behind it.
"Download the latest SubsPlease release of that show" →
search_torrentswithcategory: "anime", thendownload_torrent; the file lands in~/Downloads.
"How are my downloads doing?" →
list_downloads— progress, speed, ETA, peers.
"That torrent has 12 episodes, play episode 3" →
list_filesto see indexes, thenstream_torrentwithfileIndex.
Related MCP server: slskd-mcp
Requirements
Node.js ≥ 20
VLC for streaming (
brew install --cask vlcon macOS) — downloads work without it, andstream_torrentstill returns a URL any player can open
Hook it up to your agent
fleapit is on npm — no clone, no build. The server speaks MCP over stdio, so it works with every MCP-capable agent.
Claude Code:
claude mcp add fleapit -- npx -y fleapitGemini CLI — ~/.gemini/settings.json:
{
"mcpServers": {
"fleapit": { "command": "npx", "args": ["-y", "fleapit"] }
}
}Codex CLI — ~/.codex/config.toml:
[mcp_servers.fleapit]
command = "npx"
args = ["-y", "fleapit"]OpenCode — opencode.json:
{
"mcp": {
"fleapit": { "type": "local", "command": ["npx", "-y", "fleapit"] }
}
}Claude Code plugin — same MCP server, but also ships the torrents usage skill that teaches Claude when to search vs. download vs. stream. No clone, no build; paste both lines into Claude Code:
/plugin marketplace add nikets40/fleapit
/plugin install fleapit@niket-toolsTools
Tool | What it does |
| Search all (or one category of) sources; sorted by seeders, deduped by infohash |
| Add a magnet/infohash and download in the background |
| Stream the (largest) video file to VLC while downloading |
| List files in a torrent, with indexes for |
| Progress, speed, ETA, peers for everything active |
| pause / resume / remove (keep files) / delete (remove files) |
Configuration
Env var | Effect |
| Default download folder (default: |
| Explicit VLC binary if it's not on the default path |
How it works
One Node process is the whole machine. The MCP server owns a lazy WebTorrent client; search_torrents fans out to the vendored scrapers in parallel (a dead source is reported, never fatal) and merges results by seeders. stream_torrent adds the magnet, waits for metadata, picks the largest video file, and starts a loopback-only HTTP server with Range support in front of file.createReadStream — WebTorrent prioritizes the pieces behind whatever byte range the player asks for, so seeking works and playback starts long before the download finishes. VLC is launched pointing at that URL (open -a VLC on macOS, VLC_PATH override anywhere).
Development
npm run dev # run from source (tsx)
npm run typecheck # tsc --noEmit
npm run build # bundle to dist/ (tsup)Layout: src/index.ts (MCP tools) → src/engine.ts (WebTorrent wrapper) → src/stream-server.ts (Range streaming) + src/vlc.ts (player launch). Search scrapers live in src/vendor/sources/, one file per source with a common Source interface — adding a source means one new file and one line in registry.ts.
Troubleshooting
"No results" — a source may be blocked on your network; the response's
sourcesOfflinesays which. Try another category or query.Metadata timeout on stream/download — weak swarm. Pick a result with more seeders.
VLC doesn't open — install VLC or set
VLC_PATH; the stream URL in the response works in any player (QuickTime, mpv, a browser).WebRTC peers — the optional
node-datachannelnative module adds WebRTC peer support. If your npm blocks its install script, everything still works over TCP/uTP/DHT.
Notes
Torrents are active only while the server runs; re-adding a magnet resumes from whatever file data is already on disk.
The stream URL binds to
127.0.0.1only.Search scrapers in
src/vendor/are vendored from torlink (MIT — seesrc/vendor/TORLINK-LICENSE); diff against upstream occasionally to pick up scraper fixes.What you download is your responsibility. Several of the indexed sources list copyrighted material.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that enables users to search for movie and TV show resources across multiple sources and validate video link playability. It supports both STDIO and SSE transport modes for seamless integration with AI applications.Last updated684MIT
- Alicense-qualityDmaintenanceAn MCP server that gives AI agents full control over slskd, a modern Soulseek client, enabling search, download, browse peers, monitor transfers, and manage the slskd instance.Last updated1MIT
- Flicense-qualityDmaintenanceAn MCP server that enables AI assistants to log into Soulseek, search the network, and download files through simple tool calls.Last updated
- Alicense-qualityAmaintenanceMCP server that enables AI agents to watch and analyze videos from 1800+ sources, with persistent indexing, OCR, transcription, and a self-verification loop for debugging.Last updatedMIT
Related MCP Connectors
MCP server for Wan AI video generation
MCP server for Google Veo AI video generation
MCP server for Grok Imagine AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/nikets40/fleapit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server