Matomo-MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MATOMO_URL | Yes | Matomo instance URL (required). Must point at the Matomo root containing index.php. | |
| MATOMO_TOKEN | No | API token (token_auth); view access is enough. Not needed for the public demo at demo.matomo.cloud. | |
| MATOMO_INSECURE | No | Accept self-signed TLS certificates (explicit opt-in). | false |
| MATOMO_TIMEOUT_SECS | No | Per-request timeout in seconds. | 30 |
| MATOMO_EXTRA_HEADERS | No | Extra HTTP headers (e.g., 'Name:Value') for auth proxies, Zero-Trust, etc. Repeatable/comma-separated. | |
| MATOMO_DEFAULT_SITE_ID | No | Site ID used when the model doesn't specify one (e.g., '1'). | |
| MATOMO_MAX_RESPONSE_CHARS | No | Response 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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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