MCP server
Ask AI about your stats
and let it do the setup
Connect Claude, ChatGPT, Claude Code, Codex or another AI agent to Simple Analytics. Ask about your stats in plain language, and let it install the script and add events, goals and more for you.
Ask about your stats
Ask in your own words. Your AI app gets the numbers from Simple Analytics and answers with them.
Which pages got the most visitors last month, compared with the month before?
Where do the visitors of /pricing come from?
How many visitors came from ChatGPT in the last 90 days, and which pages did they land on?
Which posts in /blog/* do people read the longest?
How did the signup goal do this month?
Show the latest pageviews and events. Does my new signup_form event come in?
It filters on pages like /blog/*, referrers, countries, UTM codes, browsers, devices, URL parameters and metadata, compares with the period before and saves filters as custom views. On plans with the Export API, it can also export raw data.
Let it set things up
Coding agents like Claude Code and Codex make the changes in the code of your website. Claude and ChatGPT can change your websites, goals and settings in Simple Analytics.
Install and check the script
Adds the script to your website, then opens your live website in a browser to check that it works.
Events
Finds the buttons, forms and links that matter and adds events to them, without writing JavaScript.
Goals
Turns pages and events into goals and funnels, and tells you how they do.
Annotations
Marks launches, releases and campaigns in your stats, so you can see what they changed.
Email reports
Sets up email reports, so your stats come to your inbox.
Websites and settings
Adds websites and changes settings like the timezone, public stats, a custom domain against ad blockers, and an alert when the script stops sending pageviews.
Or start with a task
On the Integrate AI tab of your website, pick a task and paste its instructions in your AI agent, in the project of your website. It uses your stats to decide what to improve first.
Connect your AI app
Add Simple Analytics with this URL. You log in, pick a team and approve what the app can do.
https://mcp.simpleanalytics.com/mcpClaude
claude.ai and the desktop app
Open Customize → Connectors, click + Add → Add custom connector and paste the URL.
ChatGPT
Open Plugins, click + → Add custom MCP server, paste the URL with OAuth, then create and install the plugin.
Claude Code
Run this and log in when your browser opens:
claude mcp add --scope user --transport http simple-analytics https://mcp.simpleanalytics.com/mcp
claude mcp login simple-analyticsCodex
Run this and log in when your browser opens:
codex mcp add simple-analytics --url https://mcp.simpleanalytics.com/mcp If no browser opens, log in with codex mcp login simple-analytics
Cursor and other agents
They can't log in over MCP yet, so they don't use the URL. Copy instructions on the Integrate AI tab and paste them in your agent. It asks for access with a link and a code, and you approve it for 1 hour up to 1 year.
Read the setup guide
All steps per app, the permissions you approve and how to use more than one team.
You stay in control
Asks before it changes anything
Your AI app tells you what it will add or change and waits for your OK.
Can't delete anything
It can't delete anything, change your plan or billing, or manage users.
One team per connection
Each connection has access to one team. For another team, connect Simple Analytics once more and pick that team.
Disconnect any time
Disconnect apps and revoke agents on the Integrate AI tab. Access ends right away.
No personal data of visitors
Simple Analytics doesn't collect personal data of your visitors, so your AI app doesn't get any either.
On every plan
The MCP server works on every plan, including Free.
Try it with your own stats
Add your website, open the Integrate AI tab and click Connect MCP.
Free forever No credit card required Cancel anytime
Already have an account? Log in and open the Integrate AI tab of your website.