Explain a spike
What caused the traffic spike this week, and which page did people land on?
The daily trend gives the date; referrers give the cause.
Cloudflare Web Analytics is free and private, and its numbers usually stay in the dashboard. Connect it to LopeBase and your agent can read pageviews, visits, top pages, and referrers for each site, without a cookie banner anywhere.
Connect Cloudflare in one click, read-only. A read-only API token works too.
Your agent reads the same numbers the Cloudflare dashboard shows, shaped into tables it can compare across sites.
Where did yesterday's spike come from?
read_sourcecf_analytics-acmedaily_pageviews
read_sourcecf_analytics-acmetraffic_sources
| referrer | visits (28d) |
|---|---|
| Direct | 6,204 |
| news.ycombinator.com | 3,918 |
| www.google.com | 2,771 |
| github.com | 640 |
Pageviews tripled on the 14th, and almost all the extra visits came from Hacker News. Your blog post on invoice automation is the landing page. Want a follow-up post planned while interest is high?
Cloudflare counts visits without cookies. LopeBase reads those counts; it adds no tracking of its own.
traffic_sources lists the sites that send visits over the last 28 days.
Each site is its own connection, so an agent can rank all your products by traffic in one ask.
Four datasets per site. Cloudflare counts visits, not unique people, so these report visits.
Small, useful checks that free analytics rarely gets.
What caused the traffic spike this week, and which page did people land on?
The daily trend gives the date; referrers give the cause.
Rank all my sites by visits this week and last week.
One ask across every Cloudflare site you connected.
Which pages get steady views but have not changed in a year?
Your agent checks the page's history in your repo.
After launch day, how much traffic still comes from search?
Shows whether a launch turned into lasting visitors.
Connect Cloudflare. Start free, press Connect Cloudflare, and approve read access to your analytics. Each site is matched by domain.
In a terminal agent, run npx lopebase in a project folder. It signs you in and adds LopeBase to Claude Code, Codex, Gemini CLI, opencode, or Cursor Agent.
In a chat app or editor, add the remote MCP server https://app.lopebase.com/api/mcp and sign in when it asks. Any client that supports remote MCP servers with sign-in works.
Web Analytics must be turned on for the site in Cloudflare. It works whether or not the site is proxied through Cloudflare.
Something else? Email us.
No. Cloudflare publishes its own MCP servers for working in your Cloudflare account. LopeBase puts Web Analytics next to your other products and sources, in one set of tools.
Yes, as long as the Web Analytics beacon is on the site.
Cloudflare counts visits, not people. LopeBase reports what Cloudflare measures and leaves out what it does not.
The Cloudflare connector shows Workers, deploys, and D1 in the console. Agents read the analytics datasets.
Free for one product. No card. Agent access is on every plan.