fe
Provides Cloudflare edge analytics, including bots, humans, and cache performance metrics.
Provides SEO data from Google Search Console, including search performance and site analytics.
Provides PageSpeed Insights and Core Web Vitals data for performance analysis.
fleets
Terminal CLI for Fleets. Per-site commands mirror the app UI tabs at https://fleets.run/app/<slug>/<tab>.
Install
npm install -g fleetsRelated MCP server: Google Analytics MCP Server
Authenticate
fleets loginPicks 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:
fleets login --browser # force device flow
fleets login --paste # force token paste
fleets login --token fl_xxxxxxxxxxxxxxxx # paste in one shot (CI)
export FLEETS_TOKEN=fl_xxxxxxxxxxxxxxxx # skip login entirelySlug-first dispatch
The most intuitive way to run commands is to put the site slug first, like you're "inside" that site:
fleets fightbets # GA4 summary (defaults to stats)
fleets fightbets sources # top traffic sources
fleets fightbets funnel session_start view # conversion funnel
fleets fightbets seo --range 30d # GSC summary, last 30 days
fleets fightbets open settings # print app URLThe legacy form fleets <command> <slug> (e.g. fleets sources fightbets) still works.
Commands
Setup
Command | Description |
| Browser device-flow auth (no paste) |
| Create a site; |
| Auto-detect GA4 + GSC via service account |
| Set GA4 property explicitly |
| Set GSC site explicitly |
Analytics (per-site)
All accept --range (default 7d) and --json. Commands with top-N tables also accept --limit.
Command | Tab | Data source |
| — | All your sites with sparkline + Δ7d |
| day | GA4 summary |
| sources | GA4 traffic sources |
| campaigns | GA4 UTM campaigns |
| referrals | GA4 referrals |
| landers | GA4 landing pages |
| events | GA4 events |
| users | GA4 country + device breakdown |
| funnel | GA4 funnel |
| seo | Google Search Console |
| edge | Cloudflare Analytics |
| speed | PageSpeed Insights |
Utility
Command | Description |
| Daily GA4 CSV/JSON export |
| Natural-language analytics query |
| Print the app URL for a site |
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 mcp add fleets -- fleets-mcpClaude Desktop / Cursor (claude_desktop_config.json or .cursor/mcp.json):
{
"mcpServers": {
"fleets": {
"command": "fleets-mcp"
}
}
}No global install? Use npx with the fleets-mcp launcher package:
{
"mcpServers": {
"fleets": {
"command": "npx",
"args": ["-y", "fleets-mcp"]
}
}
}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).
Tool | What it returns |
| All sites + connected sources (GA4 / Cloudflare / GSC) — start here |
| GA4 summary: sessions, users, pageviews, events, engagement, bounce |
| GA4 breakdowns (accept |
| GA4 audience breakdowns |
| GA4 conversion funnel across |
| Google Search Console summary |
| Cloudflare edge analytics (bots, humans, cache) |
| PageSpeed Insights + Core Web Vitals |
| AI-ready signals worth investigating (optionally per |
| Natural-language question answered server-side with citations |
| Write / read the per-site change log |
Environment variables
Variable | Description |
| Personal access token. Skip |
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/runFleets/cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server