Matomo
live ReferenceBuild the Reporting API endpoint from a caller-supplied Matomo URL.
Tools
matomo_visit_summary Return Matomo visits, unique visitors, actions, bounce rate, visit duration, and conversions for a site and period. Answers how traffic volume and engagement changed.
No parameters required.
Try it
matomo_referrer_breakdown Return bounded Matomo acquisition categories, sources, visits, actions, bounce rate, conversions, and revenue. Answers which channels and referrers drove valuable traffic.
No parameters required.
Try it
matomo_page_performance Return bounded Matomo page URLs with views, unique views, entrances, exits, bounce rate, and time on page. Answers which content attracts, engages, or loses visitors.
No parameters required.
Try it
matomo_goal_performance Return Matomo goal conversions, conversion rates, and revenue for a site and period. Answers which configured outcomes produced conversions and value.
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/matomo/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/matomo/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"matomo_visit_summary","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("matomo_visit_summary", {}); // Or ask in plain English:
const answer = await px.ask("build the reporting api endpoint from a caller-supplied matomo url");