GEMINI CLI SETUP
Use Matomo from Gemini CLI
Connect the data once, add Adzviser as an MCP server, and confirm that Gemini can see the reporting tools.
Connect Matomo to Adzviser
Connect Matomo using your Matomo base URL and authentication token.
Add the Adzviser MCP server
Add Adzviser's remote MCP address to Gemini CLI, then complete sign-in when Gemini asks you to authorize access.
https://mcp.adzviser.com/httpConfirm it with /mcp
Run Gemini CLI, open the /mcp view, and make sure Adzviser appears as connected before asking for data.
TERMINAL ANALYSIS
Work through a Matomo question from the terminal
A useful CLI session has a narrow request, a checkable result, and an output you can carry into the rest of your work.
Name the account and period
Begin with the connected account, exact dates, and metrics that matter to the decision.
See a related Matomo promptAsk for a result you can verify
Request a compact table, totals, and the comparison behind any claimed change.
See a related Matomo promptChoose the next terminal action
Ask for a concise summary, save the result, or continue with a narrower follow-up in the same session.
See a related Matomo promptEXAMPLE GEMINI CLI PROMPT
Try this Matomo analysis in Gemini CLI
Copy the prompt into Gemini CLI to analyze your Matomo data and get a clear summary with next steps.
Understand how visitors interact.
First show my connected Matomo accounts and ask me which one to use. Then complete this analysis: Analyze Matomo visitor behavior from the workspace I choose for the last 30 complete days. Show: New vs Returning, Visit Duration Distribution, Pages per Visit, and Device Usage. How do returning visitors behave differently? Recommend engagement strategies. Return a concise takeaway, a Markdown table with the supporting numbers, and three follow-up commands or questions I can use next.
