Resumen
Analítica web de Matomo: visitas, informes de páginas y páginas de entrada, referentes, países y dispositivos, conversiones de objetivos y detalle de visitantes en tiempo real. Reporting API en Matomo Cloud o en tu propia instancia, token_auth.
Configuración guiada
Conecta Matomo a Gemini en 2 minutos
Empieza la prueba gratuita en AnythingMCP Cloud, conecta Matomo con la configuración guiada y añade tu URL MCP a Gemini. Sin código y sin servidores que mantener.
Sin tarjeta de crédito · 7 días de prueba · Alternativa self-host disponible
Prueba a pedir
Prompts de ejemplo para Matomo
Haz clic en un prompt para copiarlo. Pégalo en Claude, ChatGPT, Cursor, Gemini, Copilot u OpenClaw para ejecutarlo contra este conector.
Claude es IA y puede equivocarse. Verifica siempre las respuestas.
💡 ¿Sin instalación? Usa cloud.anythingmcp.com directamente. Inicia sesión, pulsa Connectors → Matomo, pega tus credenciales, genera una MCP API key — listo. Sin Docker, sin
git clone, sin servidor local.
Matomo + Gemini
Analítica web de Matomo: visitas, informes de páginas y páginas de entrada, referentes, países y dispositivos, conversiones de objetivos y detalle de visitantes en tiempo real. Reporting API en Matomo Cloud o en tu propia instancia, token_auth.
Requisitos previos
Las instrucciones de configuración completas están incluidas en el conector (visibles en el store al seleccionarlo). Las variables de entorno requeridas:
MATOMO_URL, MATOMO_TOKEN
Paso 1 — Obtener credenciales
Getting a token
- Sign in to Matomo and open Administration → Personal → Security → Auth tokens, then Create new token.
- Leave 'Only allow secure requests' unticked only if you must — with it ticked, Matomo 4+ requires the token in a POST body rather than a query parameter. This adapter sends it as a query parameter (GET), which is Matomo's classic Reporting API shape and what the majority of installs accept.
- Set
MATOMO_URLto your Matomo root (no trailing slash, no/index.php) andMATOMO_TOKENto the token.
…(continued in the in-app connector instructions)
Paso 2 — Instalar el adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Paso 3 — Añadir el conector en Gemini
La URL de tu servidor: en AnythingMCP abre MCP Servers → el servidor donde está este conector y copia su URL (
https://cloud.anythingmcp.com/mcp/…). Úsala donde esta guía muestraYOUR_SERVER_ID.
Gemini CLI lee servidores MCP desde ~/.gemini/settings.json (o %APPDATA%\gemini\settings.json en Windows). Añade:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Obtén tu MCP API key desde AnythingMCP → MCP Servers → tu servidor → API keys.
- Guarda el archivo y reinicia
gemini. - Ejecuta
/mcpen la Gemini CLI —Matomodebería aparecer como disponible. - Vertex AI Studio: pasa
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDal arraytoolsde tu petición con el mismo headerX-API-Key.
Herramientas disponibles
| Tool | What it does |
|---|---|
matomo_get_version | Read the Matomo version of this instance |
matomo_list_sites | List the sites this token can report on, with their id, name, main URL, timezone and currency |
matomo_get_visits_summary | Read the headline numbers for a period: visits, unique visitors, actions, bounce rate, average visit duration and actions per visit |
matomo_get_page_urls | Read the page report: which URLs were viewed, how often, their average time on page, bounce rate and exit rate |
matomo_get_entry_pages | Read which pages visitors arrived on, with entries, bounce rate and the visits that followed — the landing-page view, not the pageview vie |
matomo_get_referrers | Read where the traffic came from: search engines, websites, social networks, campaigns and direct entry, with visits and actions for each |
matomo_get_countries | Read the visits broken down by country, with visit counts, actions and bounce rate — the geography of the audience |
matomo_get_device_types | Read the visits broken down by device type — desktop, smartphone, tablet — with visits, actions and bounce rate |
matomo_get_goals | Read goal conversions for a period: conversions, conversion rate and revenue, overall or for one goal |
matomo_get_last_visits | Read individual recent visits with their referrer, country, device, and the pages each one viewed in order |
FAQ
¿Gemini 1.5 Pro o 2.x soportan MCP? Sí — Gemini CLI ≥ 0.4 y la API de tools de Vertex AI aceptan conectores MCP httpUrl con header personalizzati.
Siguientes pasos
- Página del conector
- Conectar a Claude
- Conectar a ChatGPT
- Conectar a Cursor
- Conectar a Meta Muse
- Conectar a Microsoft Copilot
¿Te ha sido útil esta guía?