Website Analytics MCP

Website analytics your AI agent can query

useClick Website Analytics is a cookie-free Google Analytics alternative with a built-in remote MCP server. Connect Claude, Cursor or your own agent and ask about today's visitors, top pages, referrers and campaigns in plain language.

  • Cookie-free, GDPR-friendly
  • Remote MCP, nothing to install
  • Works with every MCP client
Website Analytics MCP

What your agent can answer

The get_website_analytics tool returns page views, unique visitors and full breakdowns for any period from today to the last 12 months.

Visitors today

Page views and unique visitors for today, this week or this month, straight from the cookie-free tracker.

Top pages

Which pages get the most views, so content questions get answered with data instead of guesses.

Traffic sources

Top referrers with direct traffic separated, from search engines to newsletters.

Countries

Where your audience comes from, broken down by country.

Devices and browsers

Mobile versus desktop plus browser and operating system breakdowns.

UTM campaigns

Which UTM sources drive visits, so campaign questions get real answers.

Ask about your traffic

Things you can ask your AI assistant after connecting:

  • “How many visitors did my website get today?”

  • “What are my top 10 pages this week?”

  • “Where does my traffic come from, which referrers and countries?”

  • “Show me the daily page view trend for the last 30 days”

  • “Which UTM sources drove the most visits this month?”

Connected in three steps

If you already track your site with useClick, your agent is two minutes away from answering traffic questions.

  1. Step 01

    Track your website

    Add your site in the dashboard under Web Analytics and include the lightweight analytics.js snippet. Available from the Starter plan.

  2. Step 02

    Create an API key

    Generate a key under API Keys in your dashboard. Keys look like uc_live_ and work for the REST API and the MCP server.

  3. Step 03

    Connect your agent

    Add the MCP server to your client with the key as a bearer token, then ask about your traffic. Configs are below.

Google Analytics MCP setup

Connecting an agent to Google Analytics means a Google Cloud project, service accounts, OAuth scopes and GA4 property IDs. And the data behind it still requires cookie consent banners that cost you a share of your numbers.

useClick MCP setup

One API key, one config block, done. The data is collected cookie-free, so there is no consent banner and no consent gap in your numbers. Learn more about useClick Website Analytics.

Setup for your client

Copy the config for your tool and replace uc_live_YOUR_API_KEY with your key.

One endpoint for links and traffic

The same useClick MCP server that manages short links also answers website traffic questions. One API key as a bearer token, over Streamable HTTP. Nothing to install, host or update.

https://useclick.io/api/mcp
Streamable HTTPBearer uc_live_…

Claude Code

One command in your terminal:

bash
claude mcp add --transport http useclick https://useclick.io/api/mcp \
  --header "Authorization: Bearer uc_live_YOUR_API_KEY"
More clients in the MCP documentation: Codex CLI, stdio bridges and more
Privacy-first analytics

Traffic answers without tracking people

The tracker stores no IP addresses, sets no cookies and limits location to country, region and city (never GPS). Your agent reads aggregated numbers, never visitor profiles.

  • No cookies, no banner

    Visitors are counted with anonymous daily fingerprints. GDPR-friendly by design, no consent banner needed for analytics.

  • Scoped access

    The agent only sees websites belonging to your account or organization. Revoke access anytime by deleting the API key.

  • Plan limits enforced

    The MCP server respects the same website limits and rate limits as the dashboard and REST API.

FAQ

Frequently Asked Questions

A website analytics MCP server exposes website traffic data as tools that AI assistants can call through the Model Context Protocol. Instead of opening a dashboard, you ask your agent how many visitors your site got today, which pages perform best or where traffic comes from, and it queries the data directly. useClick runs a remote MCP server at useclick.io/api/mcp with website analytics and short link tools.

Yes. Once connected, your agent can report page views and unique visitors for any period, list top pages, break down referrers, countries, devices, browsers and UTM sources, and show daily trends. It works in Claude, Cursor, VS Code and any client that supports remote MCP servers.

Setup and privacy. The Google Analytics MCP requires a Google Cloud project, service account credentials and GA4 property IDs, and GA itself needs cookie consent banners. useClick connects with a single API key, and the underlying analytics are cookie-free, so there is no consent gap in the data your agent reads.

Yes. useClick Website Analytics stores no IP addresses, sets no cookies, limits location to country, region and city (never GPS) and collects no personal data. Your agent queries aggregated numbers, not visitor profiles, and no consent banner is required for the analytics.

Website Analytics is available from the Starter plan at $12 per month with 5 websites and 100,000 page views a month, up to 100 websites and 5 million page views on Business. The MCP server itself works on every plan, and the short link tools are included on the Free plan.

Every client that supports remote MCP servers over Streamable HTTP: Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, OpenAI Codex CLI and the Claude API MCP connector. AI harnesses like Hermes and OpenClaw, and any other agent that only speaks stdio, connect through the mcp-remote bridge and can use your links and analytics in their skills, automations and reports.

Why all three, together

Your audience moves between links, bio and website. Now you can follow them.

A shortener, a bio tool and an analytics script each see one piece of the story. useClick runs all three in one account. When a short link brings someone to your site, the signup or sale they complete there is credited to that link.

  • Know which channel really works
  • Three tools, one account
  • Count everyone, skip the banner
  • Replace three subscriptions

Let your agent read your traffic

Create an account, add your website and your AI assistant answers traffic questions in minutes.