wireboard-mcp
OfficialThis read-only MCP server lets LLM agents query WireBoard historical and real-time analytics in natural language.
List sites and inspect the current token/account.
Get period totals: visitors, pageviews, bounce rate, and visit duration.
Fetch visitors or pageviews as hourly/daily timeseries.
Get per-day history including returning visitors and average duration.
Break down top-N traffic by country, device, browser, OS, language, URL, referrer, entry/exit URL, etc.
Analyze top URLs with prefix, contains, exact filters and pagination.
Query custom events by category/action/label/UTM/props, with grouping and pagination.
Get a real-time snapshot: live visitors, top pages/referrers, active sessions, and more.
Discover supported dimensions, metrics, and limits.
Accept natural date ranges such as today, last 7 days, last month, or explicit YYYY-MM-DD..YYYY-MM-DD (UTC).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wireboard-mcp What's happening on my site right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Install
Three ways to install, pick whichever fits your setup.
Claude Code: the WireBoard Analytics MCP plugin
In Claude Code, the WireBoard Analytics MCP plugin runs this server for you:
/plugin marketplace add wireboard/wireboard-claude-plugin
/plugin install wireboard-mcp@wireboardPaste your API token when Claude Code asks for it. Claude Code keeps it in your system's secure storage. The same marketplace's wireboard plugin also teaches Claude to install WireBoard tracking in your code.
Option A: Desktop Extension (recommended for Claude Desktop users)
Download wireboard-mcp-x.y.z.mcpb from the GitHub releases page and double-click it. One file works on Windows, macOS, and Linux — Claude Desktop ships its own Node runtime, so there are no system dependencies to install.
Claude Desktop will prompt for your WireBoard API token, store it securely in your OS keychain, and the WireBoard tools become available immediately.
If double-click doesn't open the file, install it via Claude Desktop → Settings → Extensions → Advanced Settings → Install Extension.
Option B: npm install (for Cursor, VS Code, headless / CI, automation)
npm install -g @wireboard/mcpRequires Node 18+. Then configure your MCP client of choice.
Claude Desktop config
Edit claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"wireboard": {
"command": "wireboard-mcp",
"env": {
"WIREBOARD_TOKEN": "your_token_here"
}
}
}
}Restart Claude Desktop. The WireBoard tools will appear automatically.
Cursor / VS Code / other MCP clients
Use the same command + env-var pattern in your client's MCP config.
Related MCP server: KrystalView MCP Server
Mint a token
You need a WireBoard API token before either install path will work. Mint one at Settings → API with the analytics:read ability for REST tools and live:read for the live snapshot tool.
What you can ask
Once configured, ask Claude things like:
"How many visitors did my site get last week?"
"Show me the top 10 referrers for the past 30 days."
"What's happening on my site right now?"
"Which pages under /checkout have the worst bounce rate this month?"
"How many Purchase events fired from utm_source=newsletter yesterday?"
"Compare visitor counts day by day for the past two weeks."
Claude will pick the right tool, call it, and answer in natural language.
Available tools
Tool | What |
| Every site in the account |
| Token-owner identity + abilities |
| Period totals: visitors, pageviews, bounce rate, duration |
| One metric (visitors or pageviews) bucketed by hour or day |
| Per-day visitors / returning / pageviews / bounce / duration |
| Top-N rows by dimension (country, device, browser, referrer, etc.) |
| Per-URL metrics with prefix / contains / exact filters |
| Custom event queries with grouping and filtering |
| Real-time snapshot (live visitor count, top pages, active sessions, etc.) |
| Meta: every dimension, metric, and limit the API supports |
All tools accept natural date ranges: "today", "yesterday", "last 7 days" (or "30d" shorthand), "this week", "last week", "this month", "last month", or explicit "YYYY-MM-DD..YYYY-MM-DD". Always UTC.
Every tool is declared read-only to MCP clients (readOnlyHint: true, destructiveHint: false), with a human-readable title.
Rate limiting
The MCP proactively caps itself at 100 requests/minute (under the API's 120/minute limit) so LLM bursts space themselves out instead of hitting 429s. Override with the WIREBOARD_MCP_RATE_PER_MINUTE env var if you have a use case that needs different pacing.
The underlying SDK still auto-retries on 429 as a backstop.
Security
Treat your token like a credential. It has full
analytics:readandlive:readscope on every site in the account.Don't commit your MCP client config to a public repo with the token in it. Use an env var or a secret manager and reference it from your config.
Revoke and rotate if a token leaks. Settings → API in your dashboard.
The MCP is read-only: it can fetch data, never modify it. The WireBoard public API itself is read-only in v1.
Logging
Logs go to stderr (so they don't interfere with the MCP protocol on stdout).
Source and contributing
npm:
@wireboard/mcpRepository:
github.com/wireboard/mcpReleases (.mcpb downloads):
github.com/wireboard/mcp/releasesIssues:
github.com/wireboard/mcp/issuesUnderlying SDK:
@wireboard/api(source)WireBoard docs: https://wireboard.io/docs/api-overview
Building locally
npm install
npm test # run vitest
npm run build # bundle TS → dist/index.js (esbuild, ~600 KB)
npm run build:mcpb # also pack dist/wireboard-mcp-<version>.mcpbThe .mcpb is a zip of manifest.json, icon.png, and the single bundled dist/index.js. All runtime dependencies are inlined by esbuild.
License
MIT.
Available Tools
10 toolsget_accountGet accountARead-onlyIdempotent
Get the team-owner identity (email, name) and the abilities of the token in use. Useful for verifying which account the MCP is connected to.
Inputs: no named parameters.
get_aggregateGet period totalsARead-onlyIdempotent
Period totals for one site: visitors, pageviews, bounce_rate, visit_duration. Use this for 'how many visitors did site X get in date range Y' style questions.
Inputs: range (required), site_id (required).
get_breakdownGet breakdown by dimensionARead-onlyIdempotent
Top-N rows by one dimension (country, device, browser, url, etc.). Use for 'top countries last week', 'most-used browsers', 'top referrer sources'. The dimension determines which field appears in each row alongside the visitor count.
Inputs: range (required), site_id (required), dimension (required), limit.
get_historyGet daily historyARead-onlyIdempotent
Per-day breakdown with visitors, returning_visitors, pageviews, bounce_rate, and avg_duration in a single call. Use when the user wants a 'daily report' or wants returning-visitor comparisons. Returns one row per UTC day in the range.
Inputs: range (required), site_id (required).
get_live_stateGet live snapshotARead-onlyIdempotent
Current real-time snapshot for a site: live visitor count, top pages right now, current top referrers, active sessions, etc. Use for 'what's happening on the site right now', 'who's currently on the checkout page', 'how many visitors live'.
Inputs: site_id (required), categories.
get_timeseriesGet time seriesARead-onlyIdempotent
One metric bucketed over time (hour or day). Use for 'plot pageviews per day this month' or 'visitors per hour today'. Returns an array of {time, value} points.
Inputs: range (required), metric (required), site_id (required), interval (required).
get_top_urlsGet top URLsARead-onlyIdempotent
Per-URL metrics with optional filtering. visitors: visits that started on the URL (entrances); a page reached later in a visit counts in pageviews only. bounce_rate: percentage of the visits that started there and saw no other page. avg_duration: average time on the page per pageview, in seconds (the dashboard's figure). Rows are ordered by visitors (entrances), so compare pageviews to find the most viewed pages. Use for 'top pages under /blog', 'find the homepage's stats', 'which landing pages have the worst bounce rate'. Paginated via limit and offset.
Inputs: range (required), site_id (required), exact, limit, +3 more.
list_dimensionsList dimensions and metricsARead-onlyIdempotent
Lists every dimension, metric, and limit the API supports. Use as a self-discovery tool when the user asks something like 'what can you tell me about my analytics' or when you're unsure which dimension key to pass to get_breakdown.
Inputs: no named parameters.
list_sitesList sitesARead-onlyIdempotent
List every site in the WireBoard account. Returns each site's ID, domain, and max_30d: the highest number of visitors on the site at the same time over the last 30 complete UTC days (max_30d_at is that day). The current day is included once it has ended, so a site whose only traffic is today shows null; null does not mean tracking is broken (use get_aggregate for today). Call this first if you don't know which site_id to use for the other tools.
Inputs: no named parameters.
query_eventsQuery custom eventsARead-onlyIdempotent
Query custom events (purchases, form submits, button clicks, etc.). Filter by category/action/label or UTM fields, group by any combination of those, paginate. Use for 'how many Purchase events from utm_source=newsletter last week' or 'top event categories this month'.
Inputs: range (required), site_id (required), limit, filter, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Most tools have clearly distinct purposes (aggregate totals, time series, per-day history, live state, events, discovery), and descriptions explicitly steer selection with example questions. The main soft spots are get_breakdown vs get_top_urls (URL breakdown is a specialization of dimension breakdown) and get_aggregate vs get_history, which both return period metrics and could be confused at a glance, though the descriptions do differentiate them.
All ten names follow a predictable snake_case verb_noun pattern (get_*, list_*, query_events). The verb choices map cleanly to semantics: get_ for single-object or single-result fetches, list_ for enumeration/metadata, query_ for filtered event search.
Ten tools sits squarely in the well-scoped range for a web-analytics API, and each one covers a distinct query shape (totals, breakdown, timeseries, history, per-URL, events, live, discovery, sites, account). Nothing looks redundant or bolted on.
The read-only analytics lifecycle is well covered: site discovery, discovery of dimensions/metrics, aggregation across totals, breakdowns, time series, per-day history, per-URL detail, custom events, and real-time state. Minor gaps exist around comparisons/period-over-period, funnel or goal-conversion tooling, and segmentation/cohort queries, but agents can approximate most of these from the existing surface.
Maintenance
Related MCP Connectors
Query your Betterlytics web analytics from AI agents: traffic, funnels, journeys, errors, uptime.
Real-time web analytics for AI agents: query traffic, funnels, revenue, and manage your sites.
Web analytics for AI agents: realtime visitors, revenue, funnels and AI-detected site issues
Ask your website analytics in plain language and set up funnels, features and dashboards.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables querying Rybbit Analytics data directly through MCP-compatible clients like Claude Code. It provides tools for monitoring website statistics, user sessions, error logs, funnels, and performance metrics via natural language.43476 npm4MIT
- AlicenseAqualityDmaintenanceEnables AI agents to access website analytics, including visitor sessions, UX friction, conversion funnels, and anomaly alerts.631 PyPIMIT
- AlicenseAqualityDmaintenanceExposes DataFast analytics as tools for AI assistants, enabling natural language queries about website metrics such as visitors, referrers, revenue, and real-time data.221MIT
- AlicenseBqualityDmaintenanceEnables AI agents to query PostHog analytics data directly via tool calls, including insights, events, feature flags, trends, and persons.5MIT