Provides tools for monitoring Plex media server activity, playback history, and statistics through Tautulli, including real-time stream status, library item counts, and per-user watch metrics.
mcp-tautulli
A single-file MCP server for Tautulli — Plex monitoring via Claude Code (or any MCP client).
11 read-only tools. No mutations. All configuration via environment variables.
Prerequisites
Python 3.10+
A running Tautulli instance with an API key
Claude Code (or any MCP-compatible client)
Installation
pip install fastmcp httpxOr from the repo:
git clone https://github.com/lodordev/mcp-tautulli.git
cd mcp-tautulli
pip install -r requirements.txtConfiguration
Three environment variables:
Variable | Required | Default | Description |
| Yes | — | Tautulli base URL (e.g. |
| Yes | — | Tautulli API key (Settings → Web Interface → API Key) |
| No |
| Set to |
Claude Code Setup
Add to your project's .mcp.json:
{
"mcpServers": {
"tautulli": {
"command": "python",
"args": ["/path/to/tautulli.py"],
"env": {
"TAUTULLI_URL": "http://your-tautulli-host:8181",
"TAUTULLI_API_KEY": "your-api-key-here"
}
}
}
}Or run standalone:
export TAUTULLI_URL="http://localhost:8181"
export TAUTULLI_API_KEY="your-api-key"
python tautulli.pyTools
Tool | Description |
| Current Plex streaming activity — who's watching what, progress, quality |
| Recent playback history with filters (user, media type, search, date) |
| Per-user watch statistics — plays, watch time, last seen |
| Library item counts, total plays, last played per library |
| Top content by plays or duration (TV, movies, music, users) |
| Plex server identity — name, version, platform, connection |
| Server config and reachability check |
| Direct play vs transcode breakdown by platform |
| Top platforms/devices by plays and watch time |
| Source vs delivered resolution analysis |
| Daily play counts over time by stream type |
All tools are read-only — this server does not modify any Tautulli or Plex state.
License
MIT