lookout-mcp
Provides access to Vercel Web Analytics data through Lookout, enabling queries for visitors, sources, campaigns, Core Web Vitals, deployments, cross-site traffic, alerts, and notes/exports for Vercel projects.
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., "@lookout-mcpWhich landing page dropped most this week across my boards?"
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.
lookout-mcp
This is the MCP server for Lookout. Lookout shows Vercel Web Analytics for all your projects in one view.
Connect Claude, Cursor or a different MCP client. Then ask about your sites: visitors, sources, campaigns, Core Web Vitals and traffic between your sites. The answers come from your real numbers.
"Which landing page dropped most this week, and what deployed right before?"
The server is a thin client of the Lookout REST API. Every answer comes from api.lookoutstats.com. The server stores no data.
You can run the server in two ways:
Hosted, over Streamable HTTP:
https://mcp.lookoutstats.comLocal, over stdio:
npx lookout-mcp
60-second setup
In Lookout, open Settings › API & MCP and create an API key (
lk_live_…). Select Allow notes and exports only if you want the two write tools.Add the server to your client with one of the configurations below. Paste the key into the configuration.
Restart the client.
Claude Desktop
Open Settings → Developer → Edit config (claude_desktop_config.json), and add this entry:
{
"mcpServers": {
"lookout": {
"command": "npx",
"args": ["-y", "lookout-mcp"],
"env": { "LOOKOUT_API_KEY": "lk_live_…" }
}
}
}claude.ai (connectors)
A claude.ai custom connector does not send a key header. Thus the hosted server cannot get your API key from a connector yet. Use Claude Desktop (above) or Claude Code until Lookout supports OAuth sign-in for connectors.
Cursor
Put this in .cursor/mcp.json in your project. To use the server in all your projects, put it in ~/.cursor/mcp.json.
{
"mcpServers": {
"lookout": {
"url": "https://mcp.lookoutstats.com",
"headers": { "Authorization": "Bearer lk_live_…" }
}
}
}Claude Code
claude mcp add --transport http lookout https://mcp.lookoutstats.com \
--header "Authorization: Bearer lk_live_…"Windsurf
Put this in ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"lookout": {
"serverUrl": "https://mcp.lookoutstats.com",
"headers": { "Authorization": "Bearer lk_live_…" }
}
}
}Other clients
stdio:
LOOKOUT_API_KEY=lk_live_… npx -y lookout-mcpStreamable HTTP:
POST https://mcp.lookoutstats.comwith the headerAuthorization: Bearer lk_live_…
Related MCP server: umami-mcp-server
Tools
These rules apply to all tools:
rangeis24h,7d(the default) or30d. It can also be a custom window, for example{ "from": "2026-10-01", "to": "2026-10-14" }. A custom window is 30 UTC days or less.boardis the board's id or its exact name.Each tool returns a one-line summary first. Compact JSON follows the summary.
Tool | Arguments | Result |
| — | The boards in the workspace, with their ids and site counts |
|
| All sites on a board. For each site: visitors, change against the previous period, page views, pages per visit, top source and country, conversions |
|
| One site in detail. It shows visitors per day (or per hour), top referrers, countries and pages, production deployments and Core Web Vitals. With |
|
| Sites side by side. |
|
| Visitors by UTM campaign, source and medium, with goal conversions. This needs Vercel Web Analytics Plus. |
|
| Traffic between the sites on a board: which site sends visitors to which site |
|
| Core Web Vitals (LCP, INP, CLS, p75) for all, mobile or desktop visitors, and the slowest routes |
| — | The alert rules, and the alerts of the last 30 days |
|
| Adds a note to a day on the board's charts, for one site or for all sites |
|
| A download link for the board. The link is valid for 5 minutes. |
✎ A write tool. A write tool needs a key with Allow notes and exports.
Resources:
lookout://boards: the boards.lookout://boards/{id}: the sites on a board, for the last 7 days.
Prompts:
weekly_brief(board): a short brief. It names the sites with the largest changes and the causes.why_did_it_drop(site): finds when a drop started, what changed, and the likely cause.
Example questions
"Which landing page dropped most this week, and what deployed right before?"
"Compare the three pricing pages over the last 30 days, indexed."
"Where do visitors to acme.com come from, and which campaign brought the most?"
"Are our sites passing Core Web Vitals on mobile? Which route is slowest?"
"Do my landing pages send visitors to the main site? Which ones are dead ends?"
Security
Your key gets only your data. Each call goes to the Lookout API with your key. A key can only see its own workspace. The server keeps no data and does not log answers. The server does not store the key.
A key is read-only by default. A key can only read data unless you create it with Allow notes and exports. A write key can add chart notes and make export links. It cannot change boards, members, alerts or settings. It cannot see your Vercel token.
No personal data. Vercel Web Analytics does not use cookies. It reports aggregated data. Answers contain counts, domains, paths, referrers and countries. Answers do not identify people.
Keep the key out of your repository. Put the key in a local configuration of your client. Examples are
~/.cursor/mcp.json, the Claude configuration and an environment variable. Do not put it in a file that you commit. You can revoke a key at any time in Settings › API & MCP. A revoked key stops on the next request.Limits. Each key has 600 requests per hour. The REST API and the MCP server share this limit.
compare_sitesmakes 1 request for each site. Each other tool makes 1 request. Above the limit, you get a429response with aRetry-Afterheader. The hosted server accepts batches of 5 messages or fewer.Data from outside. Referrers, paths, UTM values, deployment messages and note texts come from websites and their visitors. The server tells the model to use them as data, not as instructions. Keep keys read-only unless you need the write tools.
Send security problems to security@lookoutstats.com.
Self-hosting
npm i -g lookout-mcp
PORT=3000 lookout-mcp-http # Streamable HTTP on http://127.0.0.1:3000 (POST /, GET /health)The server listens on 127.0.0.1 by default. In a container, set HOST=0.0.0.0.
You can also use the handler in your own server. The handler is a plain (Request) => Promise<Response> function:
import { createHttpHandler } from "lookout-mcp/http";
export const POST = createHttpHandler();You can deploy this repository to Vercel without changes (vercel.json, api/index.js). To use a different API base URL with either entry point, set LOOKOUT_API_URL.
Links
Lookout is not affiliated with Vercel Inc.
This server cannot be deployed
Maintenance
Related MCP Connectors
Ask Claude, ChatGPT, Cursor or any AI tool how your site is doing — the answers come from your own Google Analytics 4 (GA4) property. Paste https://app.anacraft.dev/mcp, sign in with Google and pick your site; nothing to install. Twelve tools: headline metrics against the previous period, live visitors, top pages, events, referrers, traffic sources and countries, page and event search, and an audit that checks whether the GA4 property is measuring correctly before its numbers are quoted. One tool writes: it creates a GA4 property and web stream for a new domain and returns the tag to paste.
Clamp Analytics MCP server: traffic, revenue, funnels, cohorts, errors, and search, for AI agents.
Query your Betterlytics web analytics from AI agents: traffic, funnels, journeys, errors, uptime.
Read-only analytics for Convex apps, queryable via MCP from Claude, Cursor, and other clients.
Related MCP Servers
- AlicenseAqualityBmaintenanceConnects Google Analytics 4 data to Claude, Cursor and other MCP clients, enabling natural language queries of website traffic, user behavior, and analytics data with access to 200+ GA4 dimensions and metrics.102,152 PyPI243MIT
- AlicenseAqualityCmaintenanceAn MCP server that gives Claude read access to Umami web analytics, allowing natural language queries for stats, breakdowns, pageview trends, live visitors, and user journeys.101MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying Google Analytics 4 data using natural language through MCP clients like Claude and Cursor, supporting 200+ dimensions and metrics for traffic, user behavior, and e-commerce analysis.MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Google Analytics 4 properties through natural language, supporting historical and real-time reports, metadata discovery, and property listing via a Vercel-deployed MCP server.121 npmMIT