Matomo logo

Matomo

Read Matomo acquisition, content, engagement, and conversion analytics through MCP tools.

Install Matomo

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "matomo": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-matomo"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio matomo -- npx -y @pipeworx/mcp-matomo

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 4 tools correctly ().

Overview

Matomo MCP server connects AI agents to a Matomo installation through the Matomo Reporting API. Its four read-only tools summarize visits, analyze referrers, measure page performance, and report goal conversions and revenue. Hosted access uses a gateway endpoint, while an npm package provides a local stdio bridge to the same service. Reach for it when an agent needs to answer questions about website traffic or marketing performance from Matomo data.

Use cases

  • Summarize website traffic and engagement
  • Compare acquisition channels and referring sources
  • Identify pages with high entrances, exits, or time metrics
  • Review conversions and revenue by goal

Key features

  • Matomo Reporting API access over MCP
  • Read-only analytics queries
  • Visit and engagement summaries
  • Referrer and acquisition breakdowns
  • Page performance reporting
  • Goal conversion and revenue reporting

Tools4

What Matomo lets your agent do. Expand a tool for its parameters.

Verified live~952 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 67d

What it can do

From the 4 tools this server returned when we ran it; 4 declare their own safety hints.

Makes network requests · 4Read-only tools · 4
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age40 days
Maintainers1

Observed 2026-11-03 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @pipeworx/mcp-matomo (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads558Package downloads in the last 30 days.
Last commit26d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Matomo works

What Matomo does

Matomo MCP server exposes selected Matomo Reporting API queries as MCP tools for website analytics. It focuses on four areas: overall visits and engagement, acquisition sources, page-level performance, and goal outcomes. The server is read-only, so it is suited to analysis and reporting workflows rather than changing Matomo configuration or data.

The integration is provided through Pipeworx and is an independent, unofficial connection to Matomo. Agents can use the tools directly or ask the gateway to select an appropriate tool from a plain-English question.

How it works

A hosted MCP connection is available at https://gateway.pipeworx.io/matomo/mcp. The endpoint exposes the Matomo pack's tools and also includes shared Pipeworx meta-tools. Those shared tools can route questions to other catalog sources through ask_pipeworx, so the tool list may contain more entries than the four Matomo-specific tools.

The same gateway also has a general endpoint at https://gateway.pipeworx.io/mcp. The Matomo endpoint lists the Matomo pack directly, while the full endpoint lists tools from the broader catalog. Both can reach Matomo through the gateway's routing behavior.

For local MCP deployments, @pipeworx/mcp-matomo runs as a Node-based stdio bridge. It forwards requests to the hosted Matomo endpoint and therefore requires network access; it does not provide offline execution.

Setup and configuration

Add the hosted endpoint to an MCP client such as Claude Desktop, Cursor, or Windsurf:

config.json
{
  "mcpServers": {
    "matomo": {
      "url": "https://gateway.pipeworx.io/matomo/mcp"
    }
  }
}

Each Matomo tool call requires the installation URL in _baseUrl and a read-only Matomo token in _apiKey. Requests must use HTTPS, and the token is sent in the POST body.

Alternatively, run the local bridge with npm:

config.json
{
  "mcpServers": {
    "matomo": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-matomo"]
    }
  }
}

The bridge can authenticate to Pipeworx with PIPEWORX_API_KEY. Without that key, anonymous use is limited to 50 calls per day; a free account increases the limit to 200 calls per day. Set PIPEWORX_META_TOOLS=1 if the local connection should also list the shared gateway tools. When using an HTTPS proxy, newer Node versions can honor the proxy environment through NODE_USE_ENV_PROXY=1.

Tools and capabilities

  • matomo_visit_summary aggregates traffic and engagement metrics.
  • matomo_referrer_breakdown identifies acquisition channels and referring sources.
  • matomo_page_performance reports page views, entrances, exits, and time-related measures.
  • matomo_goal_performance examines conversions and revenue by goal.

The gateway's ask_pipeworx tool can accept a natural-language question and choose the relevant tool and arguments automatically.

Limitations and notes

The integration only supports read operations. It depends on a reachable Matomo installation, valid HTTPS configuration, and a read-only token. The npm bridge is not an offline package because it forwards calls over the network. Hosted and local access also pass through Pipeworx, whose authenticated calls are metered and billed according to its service terms. Pack endpoints include shared meta-tools, and there is currently no option to remove them from a hosted pack endpoint.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Matomo

Matomo is an MCP server that connects AI agents to a Matomo installation through the Matomo Reporting API. Its main tools summarize visits, break down referrers, measure page performance, and report goal conversions and revenue. It uses a read-only token and supports hosted or local stdio access.

Install it by adding the hosted MCP URL to your client, or run the local bridge with npx and @pipeworx/mcp-matomo. The hosted configuration uses https://gateway.pipeworx.io/matomo/mcp; the local configuration starts the package with the npx command.

Authenticate Matomo tool calls with the installation URL in _baseUrl and a read-only token in _apiKey. Requests require HTTPS and place the token in the POST body. The local Pipeworx bridge can additionally use PIPEWORX_API_KEY for gateway authentication.

Yes, Matomo MCP works with Cursor through the hosted MCP endpoint. Add https://gateway.pipeworx.io/matomo/mcp to Cursor's MCP server configuration, then provide the Matomo connection arguments when calling the tools.

No, Matomo MCP is read-only. Its tools retrieve traffic, referrer, page performance, conversion, and revenue analytics without providing operations for changing Matomo data or settings.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMatomo AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/matomo?style=directory)](https://allmcps.com/mcp/matomo)
HTML Embed
<a href="https://allmcps.com/mcp/matomo"><img src="https://allmcps.com/api/badge/matomo?style=directory" alt="Matomo on AllMCPs" /></a>