Wireboard

io.github.wireboard由 GitHub 账号 wireboard 发布v0.1.3更新于 Oct 24, 2026

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

概览

AI 生成的概览

WireBoard 官方 MCP 服务器,让 AI 助手在对话中查询网站分析数据,包括流量总量、趋势、细分、事件和实时访客。

可以做什么
列出账户中的站点,显示令牌持有者身份与权限,以及 API 支持的维度、指标和限制。获取访客数、浏览量、跳出率和访问时长等周期汇总。按小时或按天获取访客或浏览量分桶数据,以及包含回访访客的逐日历史。按国家、设备、浏览器、来源等维度获取 Top N 明细,并按前缀、包含或精确匹配筛选单个 URL 的指标。按分组和筛选条件查询自定义事件,并获取实时访客数、热门页面和活跃会话的快照。日期范围可用自然语言给出,如最近 7 天或本月,始终按 UTC 计算。
适用场景
适合不想打开仪表盘、想直接用对话了解 WireBoard 站点流量的场景:每周访客数、主要来源、表现最差的页面、按活动统计的事件数,或站点当前的实时情况。
运行要求
以 stdio 本地进程运行,可通过 Claude Desktop 扩展文件或 npm 包 @wireboard/mcp 安装(需 Node 18+)。需要 WireBoard 账户,并在 WIREBOARD_TOKEN 环境变量中提供具备 analytics:read 和 live:read 权限的 API 令牌。需要能访问 WireBoard API 的网络。
安装前请注意
WIREBOARD_TOKEN 是可读取账户内所有站点数据的凭据,不要把它提交到公开的客户端配置中,泄露后应及时轮换。该服务器为只读,不能修改数据。请求自身限制为每分钟 100 次,可通过 WIREBOARD_MCP_RATE_PER_MINUTE 调整。分析数据会发送给你所连接的 AI 客户端。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Wireboard,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[WireBoard]

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.

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)

sh
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):

json
{  "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

sh
npm installnpm test               # run vitestnpm 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.

来源:README.md,提交 7b39a1f

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分