Matomo Analytics
io.github.Liohtml/matomo-mcp
Curated read-only Matomo Analytics tools: traffic, pages, referrers, e-commerce, real-time & more.
- Repository
- github.com/Liohtml/matomo-mcp
- Website
- github.com/Liohtml/matomo-mcp
- Version
- 0.1.4
- Author
- Liohtml (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 15, 2026)
How to install it
Variables to fill in: MATOMO_URL, MATOMO_TOKEN, MATOMO_DEFAULT_SITE_ID, MATOMO_EXTRA_HEADERS, MATOMO_TIMEOUT_SECS, MATOMO_MAX_RESPONSE_CHARS, MATOMO_INSECURE.
On your machine
Claude Code
The server runs on your machine (oci package). In a terminal:
claude mcp add matomo-mcp -e MATOMO_URL=YOUR_MATOMO_URL -e MATOMO_TOKEN=YOUR_MATOMO_TOKEN -e MATOMO_DEFAULT_SITE_ID=YOUR_MATOMO_DEFAULT_SITE_ID -e MATOMO_EXTRA_HEADERS=YOUR_MATOMO_EXTRA_HEADERS -e MATOMO_TIMEOUT_SECS=YOUR_MATOMO_TIMEOUT_SECS -e MATOMO_MAX_RESPONSE_CHARS=YOUR_MATOMO_MAX_RESPONSE_CHARS -e MATOMO_INSECURE=YOUR_MATOMO_INSECURE -- docker run -i --rm -e MATOMO_URL -e MATOMO_TOKEN -e MATOMO_DEFAULT_SITE_ID -e MATOMO_EXTRA_HEADERS -e MATOMO_TIMEOUT_SECS -e MATOMO_MAX_RESPONSE_CHARS -e MATOMO_INSECURE ghcr.io/liohtml/matomo-mcp:v0.1.4Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"matomo-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MATOMO_URL",
"-e",
"MATOMO_TOKEN",
"-e",
"MATOMO_DEFAULT_SITE_ID",
"-e",
"MATOMO_EXTRA_HEADERS",
"-e",
"MATOMO_TIMEOUT_SECS",
"-e",
"MATOMO_MAX_RESPONSE_CHARS",
"-e",
"MATOMO_INSECURE",
"ghcr.io/liohtml/matomo-mcp:v0.1.4"
],
"env": {
"MATOMO_URL": "YOUR_MATOMO_URL",
"MATOMO_TOKEN": "YOUR_MATOMO_TOKEN",
"MATOMO_DEFAULT_SITE_ID": "YOUR_MATOMO_DEFAULT_SITE_ID",
"MATOMO_EXTRA_HEADERS": "YOUR_MATOMO_EXTRA_HEADERS",
"MATOMO_TIMEOUT_SECS": "YOUR_MATOMO_TIMEOUT_SECS",
"MATOMO_MAX_RESPONSE_CHARS": "YOUR_MATOMO_MAX_RESPONSE_CHARS",
"MATOMO_INSECURE": "YOUR_MATOMO_INSECURE"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"matomo-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MATOMO_URL",
"-e",
"MATOMO_TOKEN",
"-e",
"MATOMO_DEFAULT_SITE_ID",
"-e",
"MATOMO_EXTRA_HEADERS",
"-e",
"MATOMO_TIMEOUT_SECS",
"-e",
"MATOMO_MAX_RESPONSE_CHARS",
"-e",
"MATOMO_INSECURE",
"ghcr.io/liohtml/matomo-mcp:v0.1.4"
],
"env": {
"MATOMO_URL": "YOUR_MATOMO_URL",
"MATOMO_TOKEN": "YOUR_MATOMO_TOKEN",
"MATOMO_DEFAULT_SITE_ID": "YOUR_MATOMO_DEFAULT_SITE_ID",
"MATOMO_EXTRA_HEADERS": "YOUR_MATOMO_EXTRA_HEADERS",
"MATOMO_TIMEOUT_SECS": "YOUR_MATOMO_TIMEOUT_SECS",
"MATOMO_MAX_RESPONSE_CHARS": "YOUR_MATOMO_MAX_RESPONSE_CHARS",
"MATOMO_INSECURE": "YOUR_MATOMO_INSECURE"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"matomo-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MATOMO_URL",
"-e",
"MATOMO_TOKEN",
"-e",
"MATOMO_DEFAULT_SITE_ID",
"-e",
"MATOMO_EXTRA_HEADERS",
"-e",
"MATOMO_TIMEOUT_SECS",
"-e",
"MATOMO_MAX_RESPONSE_CHARS",
"-e",
"MATOMO_INSECURE",
"ghcr.io/liohtml/matomo-mcp:v0.1.4"
],
"env": {
"MATOMO_URL": "YOUR_MATOMO_URL",
"MATOMO_TOKEN": "YOUR_MATOMO_TOKEN",
"MATOMO_DEFAULT_SITE_ID": "YOUR_MATOMO_DEFAULT_SITE_ID",
"MATOMO_EXTRA_HEADERS": "YOUR_MATOMO_EXTRA_HEADERS",
"MATOMO_TIMEOUT_SECS": "YOUR_MATOMO_TIMEOUT_SECS",
"MATOMO_MAX_RESPONSE_CHARS": "YOUR_MATOMO_MAX_RESPONSE_CHARS",
"MATOMO_INSECURE": "YOUR_MATOMO_INSECURE"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.liohtml/matomo-mcp)HTML
<a href="https://lagora.dev/en/entry/io.github.liohtml/matomo-mcp"><img src="https://lagora.dev/badge/io.github.liohtml/matomo-mcp.svg?lang=en" alt="io.github.Liohtml/matomo-mcp on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
SISTRIX SEO Toolbox Local