Skip to main content
Glama
Liohtml

Matomo-MCP

by Liohtml

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MATOMO_URLYesMatomo instance URL (required). Must point at the Matomo root containing index.php.
MATOMO_TOKENNoAPI token (token_auth); view access is enough. Not needed for the public demo at demo.matomo.cloud.
MATOMO_INSECURENoAccept self-signed TLS certificates (explicit opt-in).false
MATOMO_TIMEOUT_SECSNoPer-request timeout in seconds.30
MATOMO_EXTRA_HEADERSNoExtra HTTP headers (e.g., 'Name:Value') for auth proxies, Zero-Trust, etc. Repeatable/comma-separated.
MATOMO_DEFAULT_SITE_IDNoSite ID used when the model doesn't specify one (e.g., '1').
MATOMO_MAX_RESPONSE_CHARSNoResponse budget before truncation.50000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
matomo_list_sitesA

List all websites in Matomo that this token can access, with their ID, name and main URL. Call this first whenever the site_id is unknown.

matomo_visits_summaryA

Key traffic metrics for a site and period: visits, unique visitors, actions (pageviews), bounce rate, actions per visit, and average visit duration. The go-to tool for 'how much traffic did we get?'.

matomo_pagesA

Page-level analytics: most visited page URLs or titles, entry and exit pages, file downloads, and clicked outbound links. URLs are returned flattened (full paths), sorted by visits.

matomo_referrersB

Where traffic comes from: channel overview (direct, search, websites, social, campaigns), referring websites, search engines and keywords, social networks, campaign performance, and AI assistants (Matomo 5.1+).

matomo_eventsA

Custom event tracking reports (clicks, video plays, form interactions, ...), grouped by event category, action, or name.

matomo_goalsA

Goal conversions: overall conversion counts, rates and revenue (report=conversions), or the list of configured goals with their IDs (report=list).

matomo_ecommerceA

E-commerce performance: revenue/order overview, and best-selling products by product name, SKU, or category.

matomo_geoA

Visitor locations: visits broken down by country, continent, region, or city.

matomo_devicesB

Devices and technology used by visitors: device types (desktop, mobile, tablet), brands, models, browsers, browser versions, operating systems, and screen resolutions.

matomo_visit_timesA

When visitors come to the site: traffic by day of week, or by hour of day (server time or the visitor's local time).

matomo_site_searchA

Internal site-search analytics: what visitors searched for on the site, searches that returned no results, and search categories.

matomo_realtimeA

Real-time analytics: live visitor/action/conversion counters for the last N minutes (report=counters), or a detailed log of the most recent individual visits (report=last_visits).

matomo_page_performanceB

Page load performance: average network, server, transfer, DOM processing and rendering times across pageviews.

matomo_annotationsA

Annotations placed on the Matomo timeline (deploy markers, campaign launches, notes) for a date range — correlate traffic changes with what happened when. Defaults to the last 30 days.

matomo_apiA

Escape hatch: call ANY Matomo Reporting API method directly. Prefer the dedicated matomo_* tools; use this for reports they don't cover (custom dimensions, funnels, heatmaps, segment management, ...). Discover available methods with method='API.getReportMetadata'.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Liohtml/matomo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server