Koskamo

PageLens Analytics MCP

An official MCP server provided by PageLens that allows AI assistants to access cookieless web analytics data. It enables agents to query traffic metrics, analyze user funnels, monitor JavaScript errors and web vitals, track AI bot activity, and manage goals and segments via tools like list_sites, get_overview, and get_errors.

Endpoint and access

No sign-in: your client connects and lists tools immediately, with no account or key.

PageLens Analytics MCP logo, by PageLensNo sign-inEndpoint checked 2026-10-18Operated by PageLens
MCP endpoint (Streamable HTTP)
https://app.pagelens.io/mcp
Vendor documentation

What you can do with it

  • Query traffic metrics and visitor sessions
  • Analyze conversion funnels and user journeys
  • Monitor JavaScript errors and web vitals
  • Track AI bot and crawler activity
Tools advertised by the last live check:
  • list_sites
  • list_segments
  • get_overview
  • get_breakdown
  • get_pages
  • get_realtime
  • list_sessions
  • get_session
  • get_events
  • get_errors
  • get_web_vitals
  • get_journeys
  • run_funnel
  • list_goals
  • create_goal
  • add_annotation
  • get_retention
  • list_users
  • get_user
  • get_search_console
  • delete_user_data
  • get_bots_and_ai
  • get_ai_visibility

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers a Streamable HTTP server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http pagelens-analytics-mcp https://app.pagelens.io/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add pagelens-analytics-mcp --url https://app.pagelens.io/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable pagelens-analytics-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "pagelens-analytics-mcp": {
      "url": "https://app.pagelens.io/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure). The type must be streamableHttp for a remote HTTP server.
Cline configuration
{
  "mcpServers": {
    "pagelens-analytics-mcp": {
      "type": "streamableHttp",
      "url": "https://app.pagelens.io/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start pagelens-analytics-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "pagelens-analytics-mcp": {
      "type": "http",
      "url": "https://app.pagelens.io/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http pagelens-analytics-mcp https://app.pagelens.io/mcp

Claude Desktop

Merge this into claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop.
Claude Desktop configuration
{
  "mcpServers": {
    "pagelens-analytics-mcp": {
      "url": "https://app.pagelens.io/mcp"
    }
  }
}

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "pagelens-analytics-mcp": {
      "serverUrl": "https://app.pagelens.io/mcp"
    }
  }
}

Do you run PageLens Analytics MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing