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.
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
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, at country level only, by design.
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.
Track your website
Add your site in the dashboard under Web Analytics and include the lightweight analytics.js snippet. Available from the Starter plan.
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.
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.
Setup for your client
Copy the config for your tool and replace uc_live_YOUR_API_KEY with your key.
Claude Code
One command in your terminal:
claude mcp add --transport http useclick https://useclick.io/api/mcp \ --header "Authorization: Bearer uc_live_YOUR_API_KEY"
Cursor
Add to .cursor/mcp.json in your project or ~/.cursor/mcp.json globally:
{
"mcpServers": {
"useclick": {
"url": "https://useclick.io/api/mcp",
"headers": {
"Authorization": "Bearer uc_live_YOUR_API_KEY"
}
}
}
}VS Code and other JSON clients
Most clients that support remote MCP servers accept this shape:
{
"mcpServers": {
"useclick": {
"type": "http",
"url": "https://useclick.io/api/mcp",
"headers": {
"Authorization": "Bearer uc_live_YOUR_API_KEY"
}
}
}
}Claude API (MCP connector)
Building your own agent? Pass the server directly in the Messages API:
{
"model": "claude-sonnet-5",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "List my top links this week"}],
"mcp_servers": [
{
"type": "url",
"url": "https://useclick.io/api/mcp",
"name": "useclick",
"authorization_token": "uc_live_YOUR_API_KEY"
}
]
}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.
Privacy-first analytics
Traffic answers without tracking people
The tracker stores no IP addresses, sets no cookies and keeps location at country level. 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.
More from the UseClick MCP server
The same endpoint covers more than website traffic.
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, keeps location at country level 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 2 websites, up to 20 websites 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.
Let your agent read your traffic
Create an account, add your website and your AI assistant answers traffic questions in minutes.
Explore Other Features
View all FeaturesLink Management
Organize links with folders, pinning, and quick edits.
Campaign Management
Group links by campaign and compare performance faster.
A/B Testing
Split traffic across variants and optimize conversions.
Smart Deep Linking
Route mobile users directly into native apps.
UTM Builder
Create consistent UTM tags for cleaner attribution.
QR Code Generation
Generate dynamic QR codes with built-in tracking.