Connector guide2-minute read10 MCP tools7 languages

Matomo MCP Server: Visits, Pages and Conversions

Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.

HCBy HelpCode teamUpdated 2 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Matomo

Matomo

Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.

tools

10

Region

INTL

Category

Analytics

Authentication

Query Param Auth

Required env vars

MATOMO_URLMATOMO_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.

Guided setup

Connect Matomo to Claude, ChatGPT or Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Matomo in the guided setup, then add your MCP URL to your AI assistant. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for Matomo

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Matomo · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Matomo, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

Matomo

Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.

Setup

Getting a token

  1. Sign in to Matomo and open Administration → Personal → Security → Auth tokens, then Create new token.
  2. Leave 'Only allow secure requests' unticked only if you must — with it ticked, Matomo 4+ requires the token in a POST body rather than a query parameter. This adapter sends it as a query parameter (GET), which is Matomo's classic Reporting API shape and what the majority of installs accept.
  3. Set MATOMO_URL to your Matomo root (no trailing slash, no /index.php) and MATOMO_TOKEN to the token.

…(continued in the in-app connector instructions)

Prerequisites: MATOMO_URL, MATOMO_TOKEN

Install the connector locally

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Open http://localhost:3000/connectors/store, pick Matomo and paste in the env vars listed under Prerequisites.

Available tools

ToolWhat it does
matomo_get_versionRead the Matomo version of this instance
matomo_list_sitesList the sites this token can report on, with their id, name, main URL, timezone and currency
matomo_get_visits_summaryRead the headline numbers for a period: visits, unique visitors, actions, bounce rate, average visit duration and actions per visit
matomo_get_page_urlsRead the page report: which URLs were viewed, how often, their average time on page, bounce rate and exit rate
matomo_get_entry_pagesRead which pages visitors arrived on, with entries, bounce rate and the visits that followed — the landing-page view, not the pageview vie
matomo_get_referrersRead where the traffic came from: search engines, websites, social networks, campaigns and direct entry, with visits and actions for each
matomo_get_countriesRead the visits broken down by country, with visit counts, actions and bounce rate — the geography of the audience
matomo_get_device_typesRead the visits broken down by device type — desktop, smartphone, tablet — with visits, actions and bounce rate
matomo_get_goalsRead goal conversions for a period: conversions, conversion rate and revenue, overall or for one goal
matomo_get_last_visitsRead individual recent visits with their referrer, country, device, and the pages each one viewed in order

Next steps

Was this guide helpful?

Connect Matomo to Claude, ChatGPT or Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Matomo in the guided setup, then add your MCP URL to your AI assistant. No code and no server to run.

Related guides

Connectors

Connect Matomo to Microsoft Copilot via MCP

Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.

Connectors

Connect Matomo to Meta Muse via MCP: Analytics

Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.

Connectors

Connect Matomo to ChatGPT via MCP: Web Analytics

Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.

Connectors

Connect Matomo to Claude via MCP: Visits and Pages

Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.

Connectors

Connect Matomo to Cursor via MCP: Page Reports

Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.

Connectors

Connect Matomo to Gemini CLI via MCP: Visits

Matomo web analytics: visits, page and entry-page reports, referrers, countries and devices, goal conversions and live visitor detail. Reporting API on Matomo Cloud or your own instance, token_auth.