• RAW DATA
  • ANALYSIS
  • REPORTING
  • HUMAN

How to query web traffic stats with your AI

Connect Simple Analytics to your AI client once. After that, you can pull real-time traffic data just by asking.

Ask AI about this page

Short answer

How can I get web traffic data using my AI?

Your AI uses the get_stats tool to fetch visitor counts and pageviews for any domain you specify. You get the raw numbers and trends without ever opening a browser tab. Here is how the data flows.

Where every request lands.

Data outcomes

The AI processes your request and delivers specific traffic metrics.

RAW DATA

Direct traffic counts

The AI uses get_stats to pull exact visitor numbers. You get the specific counts you asked for immediately.

ANALYSIS

Trend identification

Your agent compares current pageviews against previous periods. It spots spikes or drops in traffic automatically.

REPORTING

Formatted summaries

The AI turns raw numbers into readable lists or tables. You can then copy these directly into your notes or docs.

HUMAN

Strategic decisions

The AI provides the numbers, but you decide what the traffic shifts mean for your business. You interpret the context.

The workflow

What your AI does when the request arrives.

The AI acts as a bridge between your chat interface and your Simple Analytics data.

  1. Identify the domain

    Your agent parses your message to find which website you want to check.

    get_stats
  2. Fetch the metrics

    The AI calls the tool to grab the specific visitor and pageview data for that domain.

    get_stats
  3. Process the numbers

    The agent organizes the returned data into a format that makes sense for your question.

    get_stats
  4. Deliver the answer

    The AI presents the final traffic stats in your chat window.

    get_stats

Try it

Copy these to start.

Use these prompts to trigger the data pull.

Starting points

Swap the domain names for the actual sites you want to monitor.

Simple Analytics Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_SpZBkvdfXZ1V9Zu5QhzrZR318vRnARM5ipdzLKah/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Simple Analytics capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "simple-analytics-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_SpZBkvdfXZ1V9Zu5QhzrZR318vRnARM5ipdzLKah/mcp"
    }
  }
}
Copy into chat04
  • How many visitors did example.com have yesterday?

  • Show me the pageview counts for blog.mysite.io over the last week.

  • Compare the traffic for site-a.com and site-b.com for this month.

  • What was the total visitor count for my landing page last Tuesday?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Simple Analytics once, then ask.

Click the link to connect your account. Your credentials stay encrypted and secure on our end.

Connect Simple Analytics to your AI

FAQ

How the task behaves

  • 01

    Can the AI change my Simple Analytics settings?

    No. The AI can only read data using the get_stats tool. It cannot modify your account or change any configurations.

  • 02

    Does the AI delete any of my website data?

    No. This Connector is read-only. It has no capability to delete or overwrite your traffic history.

  • 03

    Can I get data for a domain I don't own?

    No. You can only query data for domains that are already connected to your Simple Analytics account.

  • 04

    What kind of traffic data can I get?

    You can pull visitor counts and pageview totals for specific timeframes.

  • 05

    Do I need to keep the Simple Analytics dashboard open?

    No. Once the Connector is active, you can get all your stats through your AI client.

  • More questions about Simple Analytics? The Connector page answers them. See everything the Simple Analytics Connector can do

Connect Simple Analytics to Claude, Cursor, ChatGPT & more