How They Use AI  |  Newest

<< Home  |  Work

Claude Code answers site analytics questions directly

AreaWork
AI usedClaude Code
Sourcer/mcp
Posted2026-10-07

The move

Connect your site analytics data to Claude Code using an MCP server to query traffic and conversion data via natural language.

Steps

  1. Obtain your read key from your analytics provider.
  2. Install the MCP server into Claude Code using the provided CLI command.
  3. Verify the connection by asking the agent to query your recent site traffic.
  4. Use natural language prompts to group signups by source or identify traffic spikes.

Prompt for your AI

For the last 7 days, group [event_name] by source, show the counts and date range, and identify where attribution is unknown.

What happened

The user built an MCP server to allow Claude Code to access site analytics data like pageviews and signups. By adding the server to Claude Code, the agent can now query specific traffic sources and conversion events directly. This allows the user to get data-backed answers about marketing performance without leaving the coding environment.

Watch out

Do not treat AI-generated marketing plans as proof of causality, especially with small data samples.

Give it to your agent

Read https://howtheyuse.ai/p/claude-code-answers-site-analytics-questions-directly.md and help me do this.

Sources



Last updated November 26, 2026.