MCPWorks with Claude Code, Cursor and Codex
Website analytics your AI agent can read, explain and act on.
Add one script tag. See every traffic spike, where it came from and why. Then let your coding agent turn it into a marketing plan, ship it with tracked links and measure what worked.
Add agentlytics analytics to this project. Follow the instructions at measuremy.site/llms.txt
12,480
▲ 38%
4,912
▲ 24%
187
▲ 61%
Spike · +312% at 14:00
84% from news.ycombinator.com → /pricing · 23 signups
Analytics for AI agents, in 36 seconds. #
Your agent reads your traffic and visits, then helps you plan your next marketing move.
No sound. Sample numbers for illustration. Want real numbers? Open this site's own live dashboard, no sign-up needed.
Stop reading dashboards. Ask your agent what to do next. #
agentlytics measures your site, explains what moved it, and gives your coding agent the tools to act on it.
Track
A 1 KB cookieless script records pageviews, referrers, UTM tags and the events you care about, like signups and purchases.
Understand
Spikes are detected every hour against the same hour in past weeks. Each one shows the source, page and event that drove it, with an AI summary.
Grow
Your agent connects over MCP, plans marketing from what already worked, creates tracked links for what it ships, and checks the results.
Every spike, explained. #
When traffic jumps, you see why in seconds: which referrer, which landing page, which conversions, and what you shipped the day before.
- Compared with your own normal. Each hour is measured against the same hour of the week, so Monday mornings don't look like spikes.
- Causes ranked by lift. Sources, pages and events, each with its share of the extra traffic.
- Context included. Launches, posts and deploys you log show up next to the spike they caused.
+1,240 pageviews above normal Tue 14:00 UTC · 3h
84%
61%
+23
AI analysis The Show HN post drove most of the rise. Visitors went straight to pricing and converted at 1.9×, so a follow-up post on the same audience is the best next step.
Your agent plans it, ships it and measures it. #
The same agent that writes your code can now run growth: it reads what worked, drafts the next post, tags every link it publishes and reports back.
- Tracked links by default. Every post, email or ad gets its own campaign, so results are never guesswork.
- Actions ranked by evidence. Suggestions come from your real channels and conversion rates, not generic advice.
What your agent gets #
A focused set of tools over the Model Context Protocol. Each read key is scoped to a single site.
get_overview
Visitors, pageviews and change vs the previous period
find_traffic_spikes
Every unusual jump, compared with the same hour in past weeks
explain_spike
The sources, pages and events behind a spike, ranked
query_visits
Ask about visits: filter by country, browser, OS, source or page, and group the counts
recent_visits
The latest individual visits, with where they came from and what they used
top_countries
Where visitors are from, plus top_browsers and top_systems for what they use
get_whats_working
Channels ranked by conversions and growth
get_growth_actions
A ranked action list built from your own numbers
create_tracked_link
A tracked link for every post, email or ad your agent ships
get_campaign_results
What each campaign actually brought in
add_annotation
Log launches, posts and deploys so spikes have context
set_public_dashboard
Publish a public dashboard, or turn it off, when you ask
Live in two minutes #
Paste one sentence into your coding agent. It signs you up with a code from your email, adds the snippet to your project and connects itself. Or do it by hand on Next.js, React, Astro, WordPress, Webflow, Framer, Shopify, Squarespace, Wix, Ghost, Google Tag Manager and Plain HTML.
Add agentlytics analytics to this project. Follow the instructions at measuremy.site/llms.txt
Add your site
Your agent asks for your email and domain, or sign up yourself. No password, no card.
Paste one tag
The snippet goes in your site's <head>. It also proves you own the domain.
<script defer src="https://a.measuremy.site/t.js"
data-key="pk_…"></script>
Connect your agent
One command for Claude Code, a config file for Cursor and Codex.
claude mcp add --transport http \
agentlytics https://a.measuremy.site/mcp
Useful numbers, no surveillance #
No cookies
Nothing is stored in your visitors' browsers, so there's no consent banner to add for us.
No personal data
IP addresses are never stored. Visitors are counted with a hash that changes every day.
Your domain only
Sites are verified before anything is recorded, and each read key sees one site.
Bots filtered
Crawlers, previews and headless browsers are dropped before they reach your numbers.
Start free. Upgrade when you grow. #
Every plan includes every feature. Plans differ only in pageviews and sites.
Free
For trying it out and small personal sites.
- 5,000 pageviews / month
- 1 site
- Spike detection with AI explanations
- MCP access for Claude Code, Cursor and Codex
- Growth actions and tracked campaign links
- Weekly email summary
Starter
For growing products and side projects.
- 100,000 pageviews / month
- 3 sites
- Spike detection with AI explanations
- MCP access for Claude Code, Cursor and Codex
- Growth actions and tracked campaign links
- Weekly email summary
Growth Most popular
For companies with real traffic and several sites.
- 500,000 pageviews / month
- 10 sites
- Spike detection with AI explanations
- MCP access for Claude Code, Cursor and Codex
- Growth actions and tracked campaign links
- Weekly email summary
Scale
For high-traffic sites and portfolios.
- 2,000,000 pageviews / month
- 25 sites
- Spike detection with AI explanations
- MCP access for Claude Code, Cursor and Codex
- Growth actions and tracked campaign links
- Weekly email summary
More than 2M pageviews a month?
Questions #
Do I need an AI agent to use it? #
No. The dashboard shows traffic, spikes with their causes, campaigns and suggested actions. The agent connection is there when you want it to do the work.
Which agents are supported? #
Any client that speaks MCP over HTTP. Setup is one command for Claude Code and a short config file for Cursor and Codex. See the agent guide.
How do you know I own my domain? #
When the snippet is live on your homepage, the first visit verifies it automatically. If you load it through a tag manager, add a DNS TXT record instead. Nothing is recorded until then.
What happens if I go over my plan's limit? #
New visits stop being recorded until next month or until you upgrade, and everything you've already collected stays available. You'll see a warning at 80%, and there are never surprise overage charges. Above 2M pageviews a month, contact us for a custom plan.
How long is data kept? #
Raw visits are kept for 400 days. Hourly totals and detected spikes are kept for as long as you have an account. Free accounts that nobody has used for three months (no login and no agent use) are deleted with their data, after an email warning two weeks in advance.
Let your agent grow your site. #
Set up in two minutes. Free for 5,000 pageviews a month.