• LIVE
  • USER
  • CONTENT
  • HUMAN

How to inspect visitor behavior with your AI

Connect Matomo to your AI client once. From there, you can ask your agent to pull live session data or specific user profiles whenever you need them.

Ask AI about this page

Short answer

How can I use my AI to track site visitors?

Your AI uses Matomo to pull live session data, individual visitor profiles, and lists of your most popular pages. You get a clear view of real-time engagement and specific user paths.

The outcomes

What you get from your AI

The AI turns Matomo data into direct answers about your audience.

LIVE

Real-time activity

The AI pulls current session data so you know who is on your site right now. You'll see immediate changes in user movement.

USER

Detailed profiles

Get specific context on individual visitors. Your agent can pull up history and characteristics for specific users.

CONTENT

Popularity trends

Identify which pages are actually getting traction. The AI identifies your top content based on visit counts.

HUMAN

Strategic decisions

The AI provides the data, but you decide how to change your site layout or marketing based on what it finds.

The workflow

What your AI does when the data arrives.

The AI acts as a bridge between your Matomo instance and your chat interface.

  1. Monitor live traffic

    Your agent checks for active sessions to give you a snapshot of current site usage.

    get_live_last_visits
  2. Analyze user history

    The AI looks up specific details about a visitor to understand their unique journey.

    get_visitor_profile
  3. Identify top content

    Your agent scans your site to find which pages are drawing the most traffic.

    get_top_pages
  4. Summarize engagement

    The AI combines these data points to explain why certain users are behaving a certain way.

    get_live_last_visitsget_visitor_profile

Try it

Copy these to start.

Use these prompts to kick off your analysis.

Starting points

These are basic starting lines. Swap out the specific page names or visitor IDs with your own data.

Matomo Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_oYWxdQG5Apb39ZR5fQLt5E0cTSRcuy6MLVvC6uIb/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Matomo capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "matomo-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_oYWxdQG5Apb39ZR5fQLt5E0cTSRcuy6MLVvC6uIb/mcp"
    }
  }
}
Copy into chat04
  • Show me the most recent live visits happening on my site right now.

  • Which pages are currently my top performers according to the latest data?

  • Pull the profile for the visitor with ID 12345 to see their recent activity.

  • Compare the top pages with the current live visitor activity to see if trends match.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Matomo once, then ask.

Just follow the link to link your account. Your credentials stay encrypted and secure on our end. You can find the full list of what this can do on the Connector page.

Connect Matomo to your AI

FAQ

How this task behaves

  • 01

    Can the AI change my Matomo settings?

    No. The AI can only read data through the provided tools. It cannot modify your Matomo configuration or settings.

  • 02

    Can the AI delete visitor data?

    No. There are no tools available to delete or modify any data within your Matomo instance.

  • 03

    Does the AI see all my Matomo data?

    No. The AI only sees the specific data requested through the tools like visitor profiles or top pages.

  • 04

    Can I use this with any AI client?

    Yes, as long as your client is MCP-compatible, such as Claude, Cursor, or Windsurf.

  • 05

    How real-time is the live visit data?

    The data is as real-time as your Matomo instance provides through the get_live_last_visits tool.

  • More questions about Matomo? See everything the Matomo Connector can do

Connect Matomo to Claude, Cursor, ChatGPT & more