# Matomo [Health: Active]

**Category:** 🎯 Marketing  
**Repository:** https://github.com/pipeworx-io/mcp-matomo  
**GitHub Stars:** 0  
**npm Downloads (last month):** 558  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/matomo

## Description
MCP server for matomo

## Tools
Capabilities this server exposes over MCP:

- **matomo_visit_summary** — Return Matomo visits, unique visitors, actions, bounce rate, visit duration, and conversions for a site and period. Answers how traffic volume and engagement changed.
- **matomo_referrer_breakdown** — Return bounded Matomo acquisition categories, sources, visits, actions, bounce rate, conversions, and revenue. Answers which channels and referrers drove valuable traffic.
- **matomo_page_performance** — Return bounded Matomo page URLs with views, unique views, entrances, exits, bounce rate, and time on page. Answers which content attracts, engages, or loses visitors.
- **matomo_goal_performance** — Return Matomo goal conversions, conversion rates, and revenue for a site and period. Answers which configured outcomes produced conversions and value.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## 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:

```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:

```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.

_Full upstream README: https://allmcps.com/mcp/matomo/readme_

