Matomo Analytics MCP Server
by liohtmlio.github.Liohtml/matomo-mcpv0.1.3
Curated read-only Matomo Analytics tools: traffic, pages, referrers, e-commerce, real-time & more.
context tax
queued
security
queued
cold start
queued
freshness
Maintained53d ago
Install Matomo Analytics MCP server
Install in Claude Code
claude mcp add matomo -e MATOMO_URL='<matomo-url>' -e MATOMO_TOKEN='<matomo-token>' -- docker run -i --rm -e MATOMO_URL -e MATOMO_TOKEN ghcr.io/liohtml/matomo-mcp:v0.1.3Install in Cursor
{
"mcpServers": {
"matomo": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MATOMO_URL",
"-e",
"MATOMO_TOKEN",
"ghcr.io/liohtml/matomo-mcp:v0.1.3"
],
"env": {
"MATOMO_URL": "<matomo-url>",
"MATOMO_TOKEN": "<matomo-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"matomo": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MATOMO_URL",
"-e",
"MATOMO_TOKEN",
"ghcr.io/liohtml/matomo-mcp:v0.1.3"
],
"env": {
"MATOMO_URL": "<matomo-url>",
"MATOMO_TOKEN": "<matomo-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"matomo": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MATOMO_URL",
"-e",
"MATOMO_TOKEN",
"ghcr.io/liohtml/matomo-mcp:v0.1.3"
],
"env": {
"MATOMO_URL": "<matomo-url>",
"MATOMO_TOKEN": "<matomo-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"matomo": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MATOMO_URL",
"-e",
"MATOMO_TOKEN",
"ghcr.io/liohtml/matomo-mcp:v0.1.3"
],
"env": {
"MATOMO_URL": "<matomo-url>",
"MATOMO_TOKEN": "<matomo-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MATOMO_URL | yes | — | Matomo instance URL, e.g. https://matomo.example.com |
| MATOMO_TOKEN | yes | yes | Matomo API token (token_auth) with view access |
| MATOMO_DEFAULT_SITE_ID | — | — | Optional default site ID so tools don't require an explicit site_id |
Freshness
Maintained — last maintenance signal 53d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-08-17 · 53d ago · GitHub
Latest release
2026-08-17 · 53d ago · GitHub · v0.1.4
Package published
no data · npm/PyPI
Registry entry updated
2026-07-17 · 3mo ago · official registry · v0.1.3
FAQ
›How do I install the Matomo Analytics MCP server in Claude Code?
Run: claude mcp add matomo -e MATOMO_URL='<matomo-url>' -e MATOMO_TOKEN='<matomo-token>' -- docker run -i --rm -e MATOMO_URL -e MATOMO_TOKEN ghcr.io/liohtml/matomo-mcp:v0.1.3. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Matomo Analytics require an API key?
Yes. It expects MATOMO_URL, MATOMO_TOKEN, of which 1 is a secret.
›Can I use Matomo Analytics as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Matomo Analytics in the official MCP registry?
Yes, as io.github.Liohtml/matomo-mcp.
Alternatives to Matomo Analytics
Other data & analytics MCP servers.