Connect Plausible, Cloudflare Analytics and Search Console via MCP

Connect Plausible Analytics, Cloudflare Analytics and Google Search Console once in ScanTheLink. Cursor, Claude Code and Codex can then query the same owner-scoped evidence through https://scanthelink.com/api/mcp using a single read-only key.

Bind and sync the sources to the same website

  1. Plausible: Create a Stats API key, enter it in the Plausible connection card and bind the matching site_id. ScanTheLink authenticates Stats API v2 requests with a Bearer header. Sync to retain traffic totals and the top 25 referral sources.
  2. Cloudflare: Create a token restricted to the site’s zone with Zone:Read and Analytics:Read. Bind the zone and sync. The connector uses GraphQL daily zone aggregates for requests, cache and threats. Cloudflare’s browser-beacon Web Analytics is a separate dataset. Use Plausible for visitor and referral counts in this workflow.
  3. Search Console: Authorize webmasters.readonly, pick the matching property and sync. Keep the property type and window in view when comparing clicks and impressions with Plausible traffic.

Provider credentials stay in their owner connections. Use a separate ScanTheLink Read-Only MCP key from Agents & usage, with Allow connected data read enabled. Pass the key via the client’s protected environment as SCANTHELINK_API_KEY.

Configure Streamable HTTP in your client

Cursor

{
  "mcpServers": {
    "scanthelink": {
      "url": "https://scanthelink.com/api/mcp",
      "headers": {"Authorization": "Bearer ${env:SCANTHELINK_API_KEY}"}
    }
  }
}

Claude Code

{
  "mcpServers": {
    "scanthelink": {
      "type": "http",
      "url": "https://scanthelink.com/api/mcp",
      "headers": {"Authorization": "Bearer ${SCANTHELINK_API_KEY}"}
    }
  }
}

Codex

[mcp_servers.scanthelink]
url = "https://scanthelink.com/api/mcp"
bearer_token_env_var = "SCANTHELINK_API_KEY"

Client references: Cursor, Claude Code and Codex. Provider references: Plausible Stats API and Cloudflare Web Analytics.

Read the evidence in the right order

  1. Call get_portfolio_brief for owned sites, then pass a returned scan_id to get_site_intelligence for retained totals, source freshness and technical evidence.
  2. Read observed_ai_referrals from get_site_intelligence. There is no separate get_ai_referrals tool. Zero in the retained top 25 means no recognized AI referrals in those rows. Unclicked mentions and referrals below the cutoff are outside that sample.
  3. Use check_site_posture for live public checks and get_deploy_impact for retained operational evidence after a release.

unknown_not_zero preserves missing data. observed_not_causal preserves the difference between an observation and its explanation. The read-only key grants zero-write scope and uses zero scan credits for these tools. Retained reads leave provider data unchanged. The posture check sends bounded public requests.

Continue with a real site

Read the Search Console and GA4 guide, verify crawler access or use the post-deploy checklist.

View the demo Create an account