loading…
Search for a command to run...
loading…
Enables searching torrents, fetching metadata, and downloading torrent files from c411.org. It provides tools for accessing torrent comments and detailed infoHa
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.
An MCP (Model Context Protocol) server for searching torrents on c411.org, fetching torrent metadata and comments, and downloading .torrent files.
infoHashinfoHash.torrent files by infoHashinfoHash when availablenpm install
The server uses stdio transport by default:
npm run dev
Or build and run:
npm run build
npm start
C411.org requires authentication to access torrent listings. To enable login:
Set the following environment variables:
C411_USERNAME: Your c411.org usernameC411_PASSWORD: Your c411.org passwordThe server will automatically log in and maintain the session.
Without credentials, the server may not be able to retrieve search results.
The server tries to return a more specific error when authentication fails:
C411_USERNAME and C411_PASSWORDHTTP requests time out after 10 seconds.
To use this server with an MCP client (like Claude Desktop), add to your client configuration:
{
"mcpServers": {
"c411": {
"command": "node",
"args": ["/path/to/c411-mcp-server/build/index.js"],
"env": {
"C411_USERNAME": "your_username",
"C411_PASSWORD": "your_password"
}
}
}
}
For OpenCode, configure the server in your OpenCode config under mcp using a local MCP entry:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"c411": {
"type": "local",
"command": ["node", "/path/to/c411-mcp-server/build/index.js"],
"enabled": true,
"environment": {
"C411_USERNAME": "your_username",
"C411_PASSWORD": "your_password"
}
}
}
}
OpenCode documents MCP servers under the mcp key, with local servers using type: "local", a command array, and environment for env vars.
You can also add it from the OpenCode CLI:
opencode mcp add
Then choose a local MCP server and enter the equivalent values:
c411localnode /path/to/c411-mcp-server/build/index.jsC411_USERNAME=your_usernameC411_PASSWORD=your_passwordAfterward, you can verify it was added with:
opencode mcp list
Search for torrents on c411.org.
Parameters:
query (string, required): Search query, trimmed, 1 to 200 characterscategory (string, optional): Category filter. One of 1, 2, 3, 4, 5, 6, 7, 10.subcat (string, optional): Sub-category filter. Only valid when category is 1.sortBy (string, optional): Sort criteria. One of relevance, seeders, leechers, size, createdAt, name, completions, comments, category. Defaults to relevance.sortOrder (string, optional): Sort order. One of asc, desc. Defaults to desc.page (number, optional): Result page number. Defaults to 1.perPage (number, optional): Number of results per page. Defaults to 25, maximum 100.Returns: List of torrent results with titles, sizes, seed counts, and infoHash when available.
List torrents uploaded by the current authenticated c411.org user.
Parameters:
query (string, optional): Search query, trimmed, 1 to 200 characters.category (string, optional): Category filter. One of 1, 2, 3, 4, 5, 6, 7, 10.subcat (string, optional): Sub-category filter. Only valid when category is 1.sortBy (string, optional): Sort criteria. One of relevance, seeders, leechers, size, createdAt, name, completions, comments, category. Defaults to relevance.sortOrder (string, optional): Sort order. One of asc, desc. Defaults to desc.page (number, optional): Result page number. Defaults to 1.perPage (number, optional): Number of results per page. Defaults to 100, maximum 100.Returns: List of torrent results for the current user's uploads, using the same structure as search_c411.
Get detailed metadata for a torrent on c411.org.
Parameters:
infoHash (string, required): The 40-character hex infoHash of the torrentReturns: Structured torrent metadata including title, category, size, seeder and leecher counts, completion count, uploader, creation date, file list, TMDB data when available, and trust information.
Get paginated comments for a torrent on c411.org.
Parameters:
infoHash (string, required): The 40-character hex infoHash of the torrentpage (number, optional): Comment page number. Defaults to 1.limit (number, optional): Number of comments per page. Defaults to 20, maximum 100.Returns: Structured comment results with pagination metadata and normalized comment entries, including HTML content, plain-text content, author info, timestamps, and reply targets when present.
Download a .torrent file from c411.org and save it to disk.
Parameters:
infoHash (string, required): The 40-character hex infoHash of the torrentoutputDir (string, optional): Directory where the .torrent file should be saved. Defaults to /tmp.Returns: The full path of the saved .torrent file.
Example:
infoHash: "178a3516f248e45f9857abbc2cbc8a8b20f29815"
outputDir: "/tmp"
src/index.ts: bootstrap only; creates the MCP server and starts stdiosrc/c411-client.ts: c411 auth, retries, search, torrent info, comments, and download logicsrc/register-tools.ts: MCP tool registrationsrc/formatters.ts: formatting and normalization helpers for search, torrent info, and commentssrc/http-response-utils.ts: response parsing and maintenance detection helperssrc/http-client.ts: isolated Axios + cookie-jar setupsrc/schemas.ts: Zod tool schemassrc/types.ts: shared TypeScript typesnpm run dev: Run in development mode with hot reloadnpm run build: Compile TypeScript to JavaScriptnpm start: Run the compiled serverДобавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"c411-mcp-server": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.