# Staats

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/MrViolets/staats-mcp  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/staats-2

## Description
Cookieless web analytics your coding agent reads: traffic answers, deploy impact, what broke.

## Claude Desktop Quick Installation
Heuristic fallback — verify the package name and runner against the repository README before running it. Uses `npx` (confidence: low):

```json
"mcpServers": {
  "staats": {
    "command": "npx",
    "args": ["-y","staats-2"]
  }
}
```

## Documentation & README

# Staats MCP Server

[![Listed on mcpservers.org](https://mcpservers.org/badge.svg)](https://mcpservers.org/servers/www-staats-ai-docs-getting-started)

Cookieless web analytics your coding agent reads. No dashboard: your agent answers traffic questions, marks deploys, measures before and after impact, and flags errors and visitor friction, all over one MCP connection.

This is the public home of the hosted Staats MCP server. The server runs at Staats, there is nothing to install.

## Connect

Sign in at [staats.ai](https://www.staats.ai) (free tier: 10,000 monthly events, 1 site, all tools). Your account view gives you a one-line connect snippet with your key embedded:

```bash
# Claude Code
claude mcp add --scope user --transport http analytics "https://api.staats.ai/functions/v1/mcp/YOUR_ACCOUNT_KEY"
```

Cursor, Windsurf, Codex, and raw URL snippets are in the [MCP docs](https://www.staats.ai/docs/mcp). Clients that prefer header auth can send `Authorization: Bearer YOUR_ACCOUNT_KEY` to `https://api.staats.ai/functions/v1/mcp`.

One connection covers every site on your account, current and future.

## Tools

14 tools, including:

- `get_overview`, `query`, `funnel`, `journeys`: traffic answers with statistical honesty
- `record_annotation`, `compare_around`: mark deploys, measure before/after impact
- `what_changed`, `what_broke`: notable movements, JS errors, and visitor friction, attributed to the nearest deploy
- `create_site`, `list_sites`, site context tools: your agent sets up new sites itself

Unauthenticated connections get `initialize` and `tools/list`, so you can inspect the full tool surface before creating an account.

## Tracking

One script tag per site, ~1.5 KB compressed, no cookies, no personal identifiers, no consent banner needed:

```html
<script defer data-site="YOUR_SITE_CODE" src="https://www.staats.ai/s.js"></script>
```

Custom events via `data-staats` attributes or `window.staats('event_name')`. Passive JS error capture included on every tier.

## Links

- Site: https://www.staats.ai
- Docs: https://www.staats.ai/docs/getting-started
- Changelog: https://www.staats.ai/changelog
- Privacy: https://www.staats.ai/privacy

