Matomo MCP Server

Matomo MCP Server

matomo-js•bymj-kiwi

A Model Context Protocol server that bridges AI agents with Matomo analytics by exposing Matomo Reporting API functionality as MCP tools.

License: MIT•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Exposes Matomo Reporting API functionality to AI agents as MCP tools.
  • •Implements the Model Context Protocol specification.
  • •Provides AI agents with direct access to Matomo data and is configurable via environment variables.
  • •Currently implements four of 47 Matomo API modules: SitesManager, TagManager, Tour, and UserId.

BEST FOR

  • •Giving AI agents access to Matomo analytics data such as sites, tags, tours, and user IDs.
  • •Querying Matomo Reporting API modules through MCP tools from an LLM-based workflow.

ABOUT MATOMO-JS

Matomo MCP Server is cataloged as an MCP server attributed to mj-kiwi. A Model Context Protocol server that bridges AI agents with Matomo analytics by exposing Matomo Reporting API functionality as MCP tools. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Matomo MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which Matomo API modules does the MCP server currently implement?

It has implemented 4 out of 47 Matomo API modules: SitesManager, TagManager, Tour, and UserId.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 4f1cf2cc5e55 · 采集于 2026-11-13 10:17:17 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Matomo JS

A modern JavaScript/TypeScript client library for Matomo Analytics.

Project Status

⚠️ This project is still under construction. APIs may change in the future as we continue to develop and refine the library. Please use with caution in production environments.

Overview

This monorepo contains JavaScript/TypeScript libraries for interacting with Matomo Analytics. Built with TypeScript and structured as an Nx monorepo for optimal development experience.

Packages

Reporting Client (@mj-kiwi/matomo-client)

A TypeScript client for the Matomo Reporting API with strongly typed interfaces. This package provides a convenient way to interact with Matomo's Reporting API endpoints.

Features

  • Modern, Promise-based API
  • TypeScript support with full type definitions
  • Modular design for flexible usage
  • Tree-shakable (import only what you need)

Available Modules

The reporting client includes modules for all major Matomo API endpoints, including:

  • Core - Core reporting functionality (core)
  • API - General API operations (api)
  • SitesManager - Methods for managing sites (sitesManager)
  • AbTesting - Methods for A/B testing features (abTesting)
  • Actions - Page views, content tracking (actions)
  • ActivityLog - User activity logs (activityLog)
  • AdvertisingConversionExport - Advertising conversion exports (advertisingConversionExport)
  • Annotations - Managing annotations (annotations)
  • ConnectAccounts - Integration with other platforms (connectAccounts)
  • Contents - Content interaction data (contents)
  • CoreAdminHome - Administrative tasks (coreAdminHome)
  • CrashAnalytics - JavaScript error tracking (crashAnalytics)
  • CustomAlerts - Custom alert definitions (customAlerts)
  • CustomDimensions - Custom dimensions tracking (customDimensions)
  • CustomJsTracker - Custom JS tracker functionality (customJsTracker)
  • CustomReports - Custom report management (customReports)
  • CustomVariables - Custom variables data (customVariables)
  • Dashboard - Dashboard management (dashboard)
  • DevicePlugins - Browser plugin statistics (devicePlugins)
  • DevicesDetection - Visitor device reports (devicesDetection)
  • Events - Event tracking and analysis (events)
  • Feedback - User feedback submission (feedback)
  • FormAnalytics - Form interaction data (formAnalytics)
  • Funnels - Conversion funnel analysis (funnels)
  • Goals - Conversion goals and ecommerce (goals)
  • HeatmapSessionRecording - Heatmaps and session recordings (heatmapSessionRecording)
  • ImageGraph - Static PNG graph generation (imageGraph)
  • Insights - Analytical insights generation (insights)
  • LanguagesManager - Translations and language settings (languagesManager)
  • Live - Real-time visitor data (live)
  • Login - Authentication methods (login)
  • MarketingCampaignsReporting - Marketing campaign data (marketingCampaignsReporting)
  • MediaAnalytics - Media engagement stats (mediaAnalytics)
  • MobileMessaging - Mobile messaging integration (mobileMessaging)
  • MultiChannelConversionAttribution - Multi-channel attribution (multiChannelConversionAttribution)
  • MultiSites - Multi-site summary data (multiSites)
  • Overlay - Page overlay reports (overlay)
  • PagePerformance - Page load metrics (pagePerformance)
  • PrivacyManager - Data privacy management (privacyManager)
  • Referrers - Traffic sources (referrers)
  • Resolution - Screen resolution reports (resolution)
  • RollUpReporting - Roll-up reporting features (rollUpReporting)
  • ScheduledReports - Scheduled report management (scheduledReports)
  • SearchEngineKeywordsPerformance - SEO keywords (searchEngineKeywordsPerformance)
  • SegmentEditor - Segment management (segmentEditor)
  • Seo - SEO ranking reports (seo)
  • TagManager - Tag manager functionality (tagManager)
  • Tour - Guided tour features (tour)
  • Transitions - Visitor navigation paths (transitions)
  • TwoFactorAuth - Two-factor authentication management (twoFactorAuth)
  • UserCountry - Geographic data (userCountry)
  • UserId - User ID tracking (userId)
  • UserLanguage - Visitor language reports (userLanguage)
  • UsersFlow - User flow visualization (usersFlow)
  • UsersManager - User management (usersManager)
  • VisitFrequency - Visitor frequency metrics (visitFrequency)
  • VisitTime - Visitor time reports (visitTime)
  • VisitorInterest - Engagement metrics (visitorInterest)
  • VisitsSummary - Visit metrics and statistics (visitsSummary)

And many more modules for comprehensive Matomo API coverage.

MCP Server (@mj-kiwi/matomo-mcp-server)

A Model Context Protocol (MCP) server that acts as a bridge between AI agents (like large language models) and Matomo analytics. This package exposes Matomo Reporting API functionalities as MCP tools.

Features

  • Implements the Model Context Protocol specification
  • Provides AI agents with direct access to Matomo data
  • Easy configuration via environment variables
  • Modular design mirroring the Matomo API structure

Implementation Status

Currently, the MCP server has implemented 4 out of 47 Matomo API modules (8.5% complete):

  • SitesManager
  • TagManager
  • Tour
  • UserId

More modules are being actively implemented.

Getting Started

Prerequisites

  • Node.js (v18 or later recommended)
  • npm, yarn, or pnpm

Installation

# Install the reporting client
npm install @mj-kiwi/matomo-client

# Or with yarn
yarn add @mj-kiwi/matomo-client

# Or with pnpm
pnpm add @mj-kiwi/matomo-client

Basic Usage

import { ReportingClient } from '@mj-kiwi/matomo-client';

// Create a reporting client instance
const client = new ReportingClient({
  baseUrl: 'https://your-matomo-instance.com',
  apiKey: 'your-api-key', // if using token-auth
});

// Fetch site analytics data
const siteData = await client.core.getVisits({
  idSite: 1,
  period: 'day',
  date: 'yesterday',
});

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Matomo MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/matomo-js)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage