Try the MCP server for Google Analytics. Install from
GitHub , and see the
announcement for more details.
Try the Google Analytics MCP server
Stay organized with collections
Save and categorize content based on your preferences.
The Google Analytics Model Context Protocol
(MCP) server lets you
connect your Analytics data to an LLM, like Gemini. You can use the MCP server
to chat with your data, build custom agents with access to your data, and more.
Set up the MCP server
Here are some sample questions the MCP server can answer for you:
How many users did I have yesterday?
What were my top selling products yesterday?
I have a marketing budget of $5,000/month and need to generate more revenue.
Help me create a data-driven marketing plan.
Note: The MCP server is available for read requests only. It can't edit your
Google Analytics configuration or settings.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-22 UTC.
[null,null,["Last updated 2025-07-22 UTC."],[],[],null,[]]