Plausible Analytics MCP
v0.1.6Plausible Analytics MCP: privacy-first website stats, real-time visitors, breakdowns, and trends.
Values you need
| Variable | What it is | |
|---|---|---|
PLAUSIBLE_API_KEY | optional | Plausible Analytics API token |
PLAUSIBLE_SITE_ID | optional | Default Plausible site domain / ID (e.g. yourdomain.com) |
PLAUSIBLE_BASE_URL | optional | Custom self-hosted Plausible instance URL (default: https://plausible.io) |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add plausible-mcp -- uvx --from plausible-mcp==0.1.6 plausible-analytics-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"plausible-mcp": {
"args": [
"--from",
"plausible-mcp==0.1.6",
"plausible-analytics-mcp"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"plausible-mcp": {
"args": [
"--from",
"plausible-mcp==0.1.6",
"plausible-analytics-mcp"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"plausible-mcp": {
"args": [
"--from",
"plausible-mcp==0.1.6",
"plausible-analytics-mcp"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.plausible-mcp]
command = "uvx"
args = ["--from", "plausible-mcp==0.1.6", "plausible-analytics-mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_aggregate_stats, get_breakdown, get_realtime_visitors, get_timeseries, doctor, skills_list, skill_read, check_for_updates.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json