io.github.wireboard/mcp

Registre officiel Marketing et ventes

Official MCP server for WireBoard. Lets LLM agents query your analytics in conversation.

Que pouvez-vous faire avec io.github.wireboard/mcp ?

  • "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."

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package @wireboard/mcp
Claude Code
claude mcp add io-github-wireboard-mcp -e 'WIREBOARD_TOKEN=<your wireboard_token>' -- npx -y @wireboard/mcp@0.1.3
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "io-github-wireboard-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@wireboard/mcp@0.1.3"
            ],
            "env": {
                "WIREBOARD_TOKEN": "<your wireboard_token>"
            }
        }
    }
}

Variables d'environnement

  • WIREBOARD_TOKEN obligatoire secret Your WireBoard API bearer token. Mint one at https://wireboard.io/dashboard/settings/api with the analytics:read and live:read abilities.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. wireboard-mcp
  2. Install
  3. Mint a token
  4. What you can ask
  5. Available tools
  6. Rate limiting
  7. Security
  8. Logging
  9. Source and contributing
  10. License

wireboard-mcp

Official Model Context Protocol server for WireBoard.

Lets LLM agents (Claude Desktop, Cursor, VS Code, etc.) query your real-time and historical analytics in conversation. Built on top of the official @wireboard/api JavaScript SDK.


Install

Two ways to install, pick whichever fits your setup.

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/mcp

Requires 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.

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

ToolWhat
list_sitesEvery site in the account
get_accountToken-owner identity + abilities
get_aggregatePeriod totals: visitors, pageviews, bounce rate, duration
get_timeseriesOne metric (visitors or pageviews) bucketed by hour or day
get_historyPer-day visitors / returning / pageviews / bounce / duration
get_breakdownTop-N rows by dimension (country, device, browser, referrer, etc.)
get_top_urlsPer-URL metrics with prefix / contains / exact filters
query_eventsCustom event queries with grouping and filtering
get_live_stateReal-time snapshot (live visitor count, top pages, active sessions, etc.)
list_dimensionsMeta: 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.

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:read and live:read scope 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

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>.mcpb

The .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.

Questions fréquentes

Qu'est-ce que io.github.wireboard/mcp ?

Official MCP server for WireBoard. Lets LLM agents query your analytics in conversation.

Comment installer io.github.wireboard/mcp ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add io-github-wireboard-mcp -e 'WIREBOARD_TOKEN=<your wireboard_token>' -- npx -y @wireboard/mcp@0.1.3. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.wireboard/mcp ?

Oui. Il attend WIREBOARD_TOKEN, à renseigner dans sa configuration.

io.github.wireboard/mcp est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient io.github.wireboard/mcp ?

Il est publié par wireboard. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.