Cookieless web analytics and AI Visibility: traffic, funnels, errors, and which AI bots read you.
Connect Remote server
claude mcp add --transport http pagelens https://app.pagelens.io/mcp --header "Authorization: Bearer <YOUR_API_KEY>"
{
"mcpServers": {
"pagelens": {
"url": "https://app.pagelens.io/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}
{
"servers": {
"pagelens": {
"type": "http",
"url": "https://app.pagelens.io/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}
Settings > Connectors > Add custom connector
URL: https://app.pagelens.io/mcp
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools 23 found in our last check
list_sitesList the websites this key can access, with visitors in the last 24 hours.
list_segmentsSaved segments (named filter sets such as "Paid traffic" or "Mobile in Germany") that can be applied to any report with segment_id.
get_overviewHeadline metrics (visitors, sessions, pageviews, pages per session, bounce rate, average session duration) for a period, compared with the previous period of the same length, plus a time series.
get_breakdownTop values of one dimension (pages, entry/exit pages, referrers, channels, UTM tags, countries, cities, browsers, OS, devices, languages, custom events, outbound links) with visitors and sessions.
get_pagesPer-page metrics: visitors, pageviews, entries, bounce rate and time on page.
get_realtimeVisitors online right now (last 5 minutes) and what they are viewing.
list_sessionsRecent sessions with entry/exit page, pages viewed, duration, source, location and device.
get_sessionEvery pageview and event in one session, in order.
get_eventsCustom events (sent with pagelens.track) and outbound clicks with counts and their properties.
get_errorsJavaScript errors grouped by message, with occurrences, affected sessions and pages.
get_web_vitalsCore Web Vitals from real visitors (LCP, INP, CLS, FCP, TTFB) at p50/p75/p90, overall and per page.
get_journeysMost common page-to-page paths visitors take.
run_funnelConversion funnel: how many sessions completed each step. Steps are pages (path, * wildcard allowed), custom event names, or a page scrolled at least `threshold` percent (type scroll). mode: ordered (default; other pages may come in between), strict (each step right after the pr…
list_goalsGoals with conversions and conversion rate for the period, compared with the previous period.
create_goalCreate a goal that counts sessions visiting a page, firing a custom event, or scrolling a page at least `threshold` percent (type scroll). Needs a write key and member access or higher.
add_annotationMark a date on the charts (a release, a campaign, an outage). Needs a write key and member access or higher.
get_retentionCohort retention of identified users (pagelens.identify): share of each daily or weekly cohort that came back in later periods.
list_usersUsers active in the period: identified users (with traits) and anonymous visitors, with sessions, pageviews and first source.
get_userProfile of one identified user (traits, first/last seen, totals) and their sessions.
get_search_consoleGoogle Search Console data for the site (when connected): clicks, impressions, CTR and average position in Google Search, by query, page, country or device, plus a daily series. Data lags about 2 days.
delete_user_dataGDPR erasure: permanently delete all events, session replays and the profile of one user on a site. Needs a write key and admin access.
get_bots_and_aiBot and AI traffic: AI crawlers (GPTBot, ClaudeBot…), AI assistants fetching pages, search engines, and human visits referred by AI assistants (ChatGPT, Perplexity, Claude…).
get_ai_visibilityHow the site shows up in AI assistants, per AI company (OpenAI/ChatGPT, Anthropic/Claude, Perplexity, Google/Gemini…) and per page: crawler reads, live fetches while answering a person, human visits sent back, purchases and revenue, robots.txt access, and plain-language findings.
Headers
| Name | Description |
|---|---|
AuthorizationRequired, secret | Bearer token: create an API key at https://app.pagelens.io/#/api and send "Bearer pl_..." |
Details
| Endpoint | https://app.pagelens.io/mcp (Streamable HTTP) |
| First published | 12 Oct 2026 |
| Last updated | 12 Oct 2026 |
| Registry name | io.pagelens/pagelens |
More data and analytics servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
