NestDaddy

Matomo Analytics

io.github.Liohtml/matomo-mcp ยท v0.1.4

Curated read-only Matomo Analytics tools: traffic, pages, referrers, e-commerce, real-time & more.

Connect Runs on your machine

Terminal
claude mcp add matomo-mcp -e MATOMO_URL=<MATOMO_URL> -e MATOMO_TOKEN=<MATOMO_TOKEN> -e MATOMO_DEFAULT_SITE_ID=<MATOMO_DEFAULT_SITE_ID> -e MATOMO_EXTRA_HEADERS=<MATOMO_EXTRA_HEADERS> -e MATOMO_TIMEOUT_SECS=<MATOMO_TIMEOUT_SECS> -e MATOMO_MAX_RESPONSE_CHARS=<MATOMO_MAX_RESPONSE_CHARS> -e MATOMO_INSECURE=<MATOMO_INSECURE> -- matomo-mcp
claude_desktop_config.json
{
  "mcpServers": {
    "matomo-mcp": {
      "command": "matomo-mcp",
      "args": [],
      "env": {
        "MATOMO_URL": "<MATOMO_URL>",
        "MATOMO_TOKEN": "<MATOMO_TOKEN>",
        "MATOMO_DEFAULT_SITE_ID": "<MATOMO_DEFAULT_SITE_ID>",
        "MATOMO_EXTRA_HEADERS": "<MATOMO_EXTRA_HEADERS>",
        "MATOMO_TIMEOUT_SECS": "<MATOMO_TIMEOUT_SECS>",
        "MATOMO_MAX_RESPONSE_CHARS": "<MATOMO_MAX_RESPONSE_CHARS>",
        "MATOMO_INSECURE": "<MATOMO_INSECURE>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "matomo-mcp": {
      "command": "matomo-mcp",
      "args": [],
      "env": {
        "MATOMO_URL": "<MATOMO_URL>",
        "MATOMO_TOKEN": "<MATOMO_TOKEN>",
        "MATOMO_DEFAULT_SITE_ID": "<MATOMO_DEFAULT_SITE_ID>",
        "MATOMO_EXTRA_HEADERS": "<MATOMO_EXTRA_HEADERS>",
        "MATOMO_TIMEOUT_SECS": "<MATOMO_TIMEOUT_SECS>",
        "MATOMO_MAX_RESPONSE_CHARS": "<MATOMO_MAX_RESPONSE_CHARS>",
        "MATOMO_INSECURE": "<MATOMO_INSECURE>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "matomo-mcp": {
      "type": "stdio",
      "command": "matomo-mcp",
      "args": [],
      "env": {
        "MATOMO_URL": "<MATOMO_URL>",
        "MATOMO_TOKEN": "<MATOMO_TOKEN>",
        "MATOMO_DEFAULT_SITE_ID": "<MATOMO_DEFAULT_SITE_ID>",
        "MATOMO_EXTRA_HEADERS": "<MATOMO_EXTRA_HEADERS>",
        "MATOMO_TIMEOUT_SECS": "<MATOMO_TIMEOUT_SECS>",
        "MATOMO_MAX_RESPONSE_CHARS": "<MATOMO_MAX_RESPONSE_CHARS>",
        "MATOMO_INSECURE": "<MATOMO_INSECURE>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
MATOMO_URL
Required
Matomo instance URL, e.g. https://matomo.example.com
MATOMO_TOKEN
Required, secret
Matomo API token (token_auth) with view access
MATOMO_DEFAULT_SITE_ID
Optional
Optional default site ID so tools don't require an explicit site_id
MATOMO_EXTRA_HEADERS
Optional
Extra HTTP headers as comma-separated 'Name:Value' pairs (auth proxies, Zero-Trust)
MATOMO_TIMEOUT_SECS
Optional
Per-request timeout in seconds (default 30)
MATOMO_MAX_RESPONSE_CHARS
Optional
Response budget in characters before truncation (default 50000)
MATOMO_INSECURE
Optional
Set to 'true' to accept self-signed TLS certificates (explicit opt-in)

Details

Package[email protected] (CARGO, stdio)
Packageghcr.io/liohtml/matomo-mcp:v0.1.4 (OCI, stdio)
First published15 Oct 2026
Last updated15 Oct 2026
Registry nameio.github.Liohtml/matomo-mcp

More data and analytics servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.