MCP Trakt is an MCP server that connects AI assistants like Claude to the Trakt.tv API. Built with FastMCP, it bridges language models with real-time media databases and personal viewing accounts, targeting media consumers, developers, and entertainment enthusiasts. The server enables users to query trending shows and movies, browse box office earnings, retrieve season and episode breakdowns, and check cast or crew filmographies. For authenticated users, it provides tools and resources to inspect personal watch histories, track completion progress across series, check in to episodes currently playing, manage watchlists and ratings, and clear paused playback sessions. MCP Trakt also reads community reviews, aggregates user scores, and generates personalized recommendations based on existing watch activity while allowing users to hide content they do not want to see. By exposing Trakt endpoints via standard Model Context Protocol resources and tools, the server allows AI models to directly read and update a user's entertainment record during conversation.
Category: CRM, ERP & E-commerce
Tags: entertainment, media, movies, trakt, tv
Follow these steps to set up MCP Trakt with Claude Desktop: 1. Ensure you have uv installed and obtain your TRAKT_CLIENT_ID and TRAKT_CLIENT_SECRET from Trakt.tv. 2. Open your Claude Desktop configuration file (claude_desktop_config.json). 3. Add the trakt server under mcpServers using uvx: json { "mcpServers": { "trakt": { "command": "uvx", "args": [ "--from", "git+https://github.com/wwiens/trakt_mcpserver", "trakt-mcp" ], "env": { "TRAKT_CLIENT_ID": "your_client_id", "TRAKT_CLIENT_SECRET": "your_client_secret" } } } } 4. Alternatively, run the server locally by cloning the repository from https://github.com/wwiens/trakt_mcpserver, creating a Python 3.12 virtual environment, and running python server.py.
Part of MCP Servers
MCP Trakt exposes Trakt.tv data to AI clients. It can look up trending media, box office rankings, episode details, and cast filmographies. It also handles personal user accounts, letting models read watch history, track TV series progress, add items to watchlists, log ratings, check in to shows, and generate personalized recommendations.
You can run it directly using uvx with uvx --from git+https://github.com/wwiens/trakt_mcpserver trakt-mcp. Alternatively, you can run the official Docker container from ghcr.io/wwiens/trakt_mcpserver or clone the repository to run it locally with Python 3.12 and your Trakt API credentials.
MCP Trakt works with any client supporting the Model Context Protocol, including Claude Desktop and MCPhub. You configure the server by providing your Trakt client ID and secret in your client environment settings.
MCP Trakt authenticates with Trakt via the device code flow. OAuth tokens are automatically saved locally to ~/.trakt-mcp/auth_token.json so authentication persists between sessions. The file storage path can also be modified using the TRAKT_AUTH_TOKEN_PATH environment variable.