
Fleets
io.github.runFleetsPublished by GitHub account runFleetsv0.2.2Updated Oct 24, 2026
Multi-site analytics as tools: GA4, Search Console, Cloudflare edge, PageSpeed, insights.
Overview
Lets an assistant pull live multi-site web analytics — GA4, Search Console, Cloudflare edge, PageSpeed — and query them in natural language.
- What you can do
- The fleets-mcp server exposes a Fleets account's analytics as tools. It lists sites and their connected sources, then returns GA4 summaries and breakdowns (sources, campaigns, referrals, landers, events, users, devices, demographics), conversion funnels, Google Search Console summaries, Cloudflare edge analytics, and PageSpeed/Core Web Vitals. It also offers AI-ready insights, a natural-language ask tool answered server-side with citations, and a per-site change log that can be written to and read back.
- When to use it
- Use it when an assistant should answer questions about your own sites' traffic, SEO, edge, or performance data without you opening the Fleets app. It suits recurring reporting, funnel and campaign analysis, and keeping a change log alongside the numbers.
- Requirements
- Runs locally over stdio as the npm package fleets-mcp (Node.js >= 22; macOS, Linux, Windows). Authentication is a Fleets personal access token: either run fleets login once, which stores it in ~/.fleets/config.json, or set the FLEETS_TOKEN environment variable. Network access to Fleets and the connected analytics sources is required.
Installation
In SourceWeft
- Open Fleets in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
fleets
Terminal CLI for Fleets. Per-site commands mirror the app UI tabs at https://fleets.run/app/<slug>/<tab>.
Install
Authenticate
Picks between two methods:
- browser (default) — device flow: CLI prints a URL + 8-character code, auto-opens your browser, you click authorize, CLI finishes automatically.
- paste a token — mint one in app → account → cli, paste it in.
Skip the prompt with a flag:
Slug-first dispatch
The most intuitive way to run commands is to put the site slug first, like you're "inside" that site:
The legacy form fleets <command> <slug> (e.g. fleets sources fightbets) still works.
Commands
Setup
Analytics (per-site)
All accept --range (default 7d) and --json. Commands with top-N tables also accept --limit.
Utility
MCP server
The same package ships an MCP server, fleets-mcp,
so agents (Claude Code, Claude Desktop, Cursor, …) can pull your live Fleets
analytics as tools. It reuses the CLI's auth — run fleets login once (or set
FLEETS_TOKEN) and the MCP server picks up the same token from ~/.fleets/config.json.
Add it to a client
Claude Code:
Claude Desktop / Cursor (claude_desktop_config.json or .cursor/mcp.json):
No global install? Use npx with the fleets-mcp launcher package:
If you authenticate via env instead of fleets login, add
"env": { "FLEETS_TOKEN": "fl_xxx" } to the server entry.
Tools
All read-only except log_change (writes a change-log entry). Every analytics
tool takes a slug (from list_sites) and an optional range (7d, 30d, 24h).
Environment variables
Range format
All --range flags accept:
7d— last 7 days30d— last 30 days90d— last 90 days24h— last 24 hours (rounds to 1 day)
Requirements
- Node.js >= 22 (LTS)
- Works on macOS, Linux, Windows
Source: README.md at commit ba6d038
Tools
0Version history
1- v0.2.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts