• TOTALS
  • PAGES
  • DETAILS
  • HUMAN

How to analyze web traffic trends with your AI

Connect GoatCounter to your AI client once. After that, you can ask questions about your site's performance using natural language.

Ask AI about this page

Short answer

How can I use AI to track my website traffic?

Your AI client pulls pageview totals and visitor data from GoatCounter. You get direct answers about which pages are growing and who is visiting without manual exports. This breakdown shows how to move from raw numbers to actionable insights.

Data outcomes

Where your data lands.

The AI processes your GoatCounter stats into these specific outcomes.

TOTALS

Site-wide snapshots

The AI pulls high-level visitor counts and session data. You get a quick pulse on your total reach.

PAGES

Individual page performance

The AI looks at specific URLs to see how much traction they are getting. This helps you spot trending content.

DETAILS

Deep demographic dives

The AI examines visitor characteristics and specific page details. You'll see exactly who is interacting with your content.

HUMAN

Strategic decisions

The AI provides the numbers, but you decide how to adjust your content strategy. You interpret the trends to plan your next move.

The workflow

What your AI does when the data arrives.

The AI acts as a bridge between your GoatCounter account and your chat interface.

  1. Aggregating totals

    The AI gathers the broad numbers for your entire site to establish a baseline.

    get_stats_total
  2. Isolating page hits

    It narrows the focus to specific URLs to see which parts of your site are active.

    get_stats_page
  3. Drilling into specifics

    The AI pulls granular data for a single page, including visitor details.

    get_stats_page_detail
  4. Summarizing trends

    The AI compares the gathered data to answer your specific questions about growth or declines.

    get_stats_totalget_stats_page

Try it

Copy these to start.

Use these prompts to begin interacting with your GoatCounter data.

Starting points

These are ideas to get you started. Swap out the site names or page paths for your own.

GoatCounter Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_oy2DrhzX8CLr7ssLTemEJTw8bZJBNGBfBFNMjKur/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 — GoatCounter capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "goatcounter-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_oy2DrhzX8CLr7ssLTemEJTw8bZJBNGBfBFNMjKur/mcp"
    }
  }
}
Copy into chat04
  • What were my total pageviews for the last month?

  • Which pages on my site are getting the most traffic right now?

  • Show me the visitor demographics for my /blog/post-one page.

  • Compare the traffic on my homepage versus my product page.

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

Start here

Connect GoatCounter once, then ask.

Click the link to connect your account. Your credentials stay encrypted, and you can immediately start asking questions in your preferred AI client.

Connect GoatCounter to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change my GoatCounter settings?

    No. The AI can only read data through the provided tools; it cannot modify your account or settings.

  • 02

    Can I use this to delete old traffic data?

    No. The tools are strictly for retrieving statistics, not for managing or deleting data.

  • 03

    Does the AI see my private user information?

    No. The AI only sees the specific demographic and pageview data provided by the GoatCounter tools.

  • 04

    How often does the AI pull new data?

    The AI pulls data in real time whenever you ask a question that requires a tool call.

  • 05

    Can the AI create new reports in the GoatCounter dashboard?

    No. The AI can only read and summarize the data for you in your chat interface.

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

Connect GoatCounter to Claude, Cursor, ChatGPT & more