Chat with your Matomo data and get one-click AI insights on any report, powered by Mistral AI.
Chat with your Matomo data and get one-click AI insights on any report, powered by Mistral AI or any OpenAI-compatible endpoint, plus an optional agent that queries your live reports through the Matomo MCP tools.
When the MCP Server plugin, available on the Matomo Marketplace, is installed, activated and enabled, the chat and the insights switch to agent mode:
The agent mode is optional. Without MCP Server, the chat and the insights keep working with the plugin settings.
MistralAI.getResponse, MistralAI.getStreamingResponse, MistralAI.getInsights, MistralAI.getSiteSettings, MistralAI.setSiteSettings and MistralAI.setSystemSettings.>=5.0.0,<6.0.0-b1).Then open the Mistral AI page in the main menu, or click the AI button in the header of a report.
[email] and [ip], and URL query strings are removed, in the report data and in the results of the Matomo tools. Both are on by default and can be turned off in the same Privacy card.Openmost is an official Matomo Implementation Partner. We connect Matomo to AI assistants, BI tools and the rest of your stack with Matomo integrations built on official APIs, with documented and privacy-checked data flows.
Chat with your Matomo data and get one-click AI insights on any report, powered by Mistral AI or any OpenAI-compatible endpoint.
The square AI button in the header of each report, styled like the Matomo 5 selectors, opens an insight panel. The analysis uses the full report as Matomo serves it: a compact payload with the rows, the totals, the metric names and units, and the exact API request behind the report. The active segment, the period and the compared periods or segments are taken into account. Tables, evolution graphs, goals, custom reports and the other widgets backed by a Matomo report are supported. You can ask follow-up questions in the same panel.
The panel is an accessible dialog: keyboard navigation, focus kept inside the panel, Escape to close.
The Mistral AI page of the main menu is a full chat with suggested questions. Answers stream in real time and are rendered as Markdown, with readable tables, highlighted code and copy buttons. The conversation follows the latest message while it is written, unless you scroll up.
With the MCP Server plugin (Matomo Marketplace) installed, activated and enabled, the assistant queries your real reports through the Matomo tools to answer. Each tool call appears in a step timeline under the answer.
Administration > System > Mistral AI (super user):
Card Setting Description Connection Host Chat completions endpoint, an HTTPS URL. Default:https://api.mistral.ai/v1/chat/completions
Connection
API key
Required for Mistral AI, optional for a custom host. Never displayed once saved, removed with Delete key
Connection
Model (Preset)
Latest recommended (default), Mistral Medium 3.5, Mistral Large 3, Mistral Small 4, Ministral 3 14B, 8B or 3B
Connection
Model (Custom)
Any model name, overrides the preset
Connection
Agent mode model
Model used with the Matomo tools
Privacy
Allow sending Matomo data to the AI provider
Off by default: nothing is sent until a super user checks it
Privacy
Mask e-mail and IP addresses
Replaced with [email] and [ip] before sending. On by default
Privacy
Remove URL query strings
The parameters after the ? of the URLs are removed before sending. On by default
Privacy
Exclude visitor-level data
Visits Log, visitor profiles, real-time and User ID reports are kept out. On by default
Prompts
Chat base prompt
Instructions of the chat
Prompts
Insight base prompt
Instructions of the insights
Each card is saved on its own. Reset to default fills in the default prompts in your language. A prompt equal to its default is not stored, so it follows the updates of the plugin. Default prompts saved by previous versions are upgraded automatically, custom prompts are kept.
Administration > Websites > Mistral AI (website admin) overrides the host, API key, model and prompts for one website. Leave a field empty to use the general value. Use the general prompts makes the website follow the general prompts again.
The key of the website is used first, then the general key. The general key is only sent to the general host, so a website using another host must set its own key. The plugin never uses the Matomo AI Providers plugin, which has no Mistral AI provider.
MistralAI.getResponse
view
Chat answer, not streamed
MistralAI.getStreamingResponse
view
Chat or insight answer, streamed as Server-Sent Events
MistralAI.getInsights
view
Insight answer for a report widget
MistralAI.getSiteSettings
website admin
Settings of a website, the API key replaced by a placeholder
MistralAI.setSiteSettings
website admin
Saves the settings of a website
MistralAI.setSystemSettings
super user
Saves the general settings
Each user can send 30 requests per hour and per website.
[email] and [ip], and URL query strings are removed, in the report data and in the results of the Matomo tools. Both are on by default and can be turned off in the same Privacy card.How do I install and configure the plugin?
You can create an API key in the Mistral AI console.
The chat says that data sharing is not allowed
No Matomo data leaves your instance without an explicit decision: a super user must check Allow sending Matomo data to the AI provider in Administration > System > Mistral AI, Privacy card. Other users are asked to contact a super user.
Where are the settings?
The general settings are in Administration > System > Mistral AI (super user). The settings of a website are in Administration > Websites > Mistral AI (website admin). They are no longer in Administration > General settings nor in the website edit form.
Which API key is used?
The key of the website first, then the general key. The general key is only sent to the general host: a website that uses another host must set its own key. The plugin never uses the Matomo AI Providers plugin, which has no Mistral AI provider, so the key of another provider is never sent to Mistral AI.
How do I remove a saved API key?
Click Delete key next to the API key field, on the general settings or on the website settings. A saved key is never displayed again.
What is agent mode?
With the MCP Server plugin (Matomo Marketplace) installed, activated and enabled, the assistant queries your real reports through the Matomo tools to answer, and lists each tool call in a step timeline. Without it, the chat answers from the prompt and, for insights, from the report data. The chat recommends the missing step to unlock agent mode.
Can the assistant change things in Matomo?
Only when write mode is enabled in the MCP Server settings. The assistant then always describes the change and waits for your explicit confirmation in the conversation before it creates, modifies or deletes anything. This rule is added by the plugin and cannot be removed by editing the prompts.
Which model does agent mode use?
The Agent mode model of the general settings. Calling tools needs a larger model than chatting: the default, "Latest recommended" (currently Ministral 3 14B), works with the free Mistral AI plan. "Same as the chat model" reuses the chat model, except the 3B models, which are replaced by the recommended one.
Which models are supported?
The presets are curated for conversation: Latest recommended (default, currently Ministral 3 14B), Mistral Medium 3.5, Mistral Large 3, Mistral Small 4, Ministral 3 14B, 8B and 3B. Any other model, including Codestral, Devstral, Pixtral or a self-hosted model, can be set in the Model (Custom) field.
The chat says my model is not available or not included in my plan
Mistral AI retires old models, and some plans do not include every model (Mistral AI then answers "Rate limit exceeded" with a limit of 0 requests per minute). Choose another model in the settings, for example "Latest recommended", which follows the model recommended by each plugin release.
Can I use another endpoint than Mistral AI?
Yes. Set the host to any OpenAI-compatible chat completions endpoint served over HTTPS, such as a self-hosted model served by vLLM, Ollama or LocalAI. The API key is optional for a custom host: without a key, no Authorization header is sent.
What do the insights analyse?
The full report as Matomo serves it, not only the visible rows: the rows, the totals, the metric names and units, the active segment, the period and the compared periods or segments. Evolution graphs, goals and custom reports are supported. When a widget cannot be analysed, the panel shows a clear message.
I changed the default prompts in a previous version. Are they kept?
Yes. Custom prompts are kept. Default prompts saved by previous versions are upgraded automatically to the new defaults. Reset to default restores the defaults at any time.
Is my data sent to Mistral AI?
Your messages, the prompts and, for insights, the data of the report you are looking at are sent to the configured endpoint. Raw visitor data is never sent, unless the report itself contains it, such as the Visits Log. In agent mode, the results of the Matomo tools called by the assistant are sent too. To keep all data on your infrastructure, use a self-hosted model.
Who can use the plugin?
Every user with view access to a website can use the chat and the insights for that website. Each user can send 30 requests per hour and per website.
Does the plugin support the dark theme?
Yes, the chat and the insights follow the light and dark themes of Matomo.
Which languages are supported?
Arabic, Chinese (Simplified and Traditional), Dutch, English, French, German, Italian, Japanese, Polish, Portuguese, Spanish and Swedish. The default prompts are translated too.
What are the requirements?
Matomo 5.0.0 or later, below 6.0.0. The MCP Server plugin is optional, for agent mode: MCP Server 5.x requires Matomo 5.8 and PHP 8.1 or later.
How do I get support?
Report issues on GitHub or write to ronan@openmost.com.
Version
5.11.0
License
Keywords
chat, mistral, ai, mistralai, assistant, assistants, insight, insights
Last Updated
Oct 14th 2026
Requirements
Matomo >=5.0.0,<6.0.0-b1
Matomo 5.x, Matomo 6.x
Downloads
17875
Changelog
Authors
Websites
Activity
61 commits (last commit 1 day ago)
Developer
Support
View and download this plugin for a specific Matomo version: