Agent Analytics

io.github.dannyshmueli/agent-analytics-mcp · v1.0.0 · data-and-databases

Agent Analytics is healthy: it completed an MCP handshake in 516 ms and exposes 34 tools.

Analytics your AI agent can actually use. Track, experiment, and optimize via MCP.

Endpoint: https://mcp.agentanalytics.sh/mcp (streamable-http)

Repository · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count34
Latency516 ms
Last checked (UTC)2026-12-01T00:35:16.460Z

Health history

Checked (UTC)StatusLatencyError
2026-12-01T00:35:16.460ZHealthy516
2026-11-28T14:45:11.874ZHealthy1206
2026-11-26T06:45:30.016ZHealthy1895
2026-11-24T00:30:53.035ZHealthy1776
2026-11-21T20:15:30.077ZHealthy1386
2026-11-19T17:25:14.375ZHealthy2442
2026-11-17T15:45:25.624ZHealthy1563
2026-11-15T15:30:47.217ZHealthy2760
2026-11-13T16:36:04.887ZHealthy2780
2026-11-11T18:40:37.356ZHealthy1952
2026-11-09T21:50:41.732ZHealthy4411
2026-11-08T02:25:20.583ZHealthy1113
2026-11-06T08:05:47.452ZHealthy1410
2026-11-04T14:25:48.361ZHealthy3874
2026-11-02T21:50:38.244ZHealthy5323
2026-11-01T06:20:21.277ZHealthy965
2026-10-30T15:45:49.602ZHealthy1452
2026-10-29T01:55:08.126ZHealthy1021
2026-10-27T12:20:23.484ZHealthy1366
2026-10-26T00:15:09.105ZHealthy912

Tools (34)

account_usageRead current account plan, usage, billing estimate and spend cap, Pro pricing, and a human payment handoff when needed. Requires account:read. Read-only: cannot charge or manage billing. Call again after checkout to verify hosted entitlement, then retry the original task.
analytics_panelUse this when you want to explore an authorized project's analytics beside the conversation. Opens a compact project/view picker; accepts empty input. Analysis queries retain their existing plan and access checks. Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in
list_projectsList all your Agent Analytics projects Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
create_projectCreate a new Agent Analytics project. Returns the tracking snippet and API example. Idempotent: returns the existing project if the name is already taken. The tracking snippet includes data-track-vitals="true" so new installs collect Core Web Vitals on page_view.
get_project_contextGet compact self-improving project context: goals, activation events, event-name glossary, and major date annotations used to interpret analytics results. Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
set_project_contextSet or replace compact project context. The encoded API request body is capped at 512KB. Read existing context first, merge still-valid entries, inspect event names with properties or properties_received, and save only durable product truth tied to goals, activation events, event-name glossary entri
append_project_annotationAppend one annotation to project context. Append-only: goals, activation events, glossary entries, and existing annotations stay in place. Allowed fields are project, occurred_at (ISO-8601 timestamp, stored as UTC), title (max 120 characters), and an optional note (max 500 characters). The annotatio
propertiesDiscover event names and property keys from recent events Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
properties_receivedProperty keys by event name, sampled from recent events Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
catalogDiscover event names, property keys, JSON types, and example values before writing a query or SQL (GET /catalog). Use catalog when you do not already know the event name, property key, type, or a sample value that query or run_sql needs. properties and properties_received stay name lists and do not
sessionsList individual session records Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
list_experimentsList A/B experiments for a project Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
create_experimentCreate an A/B experiment
get_experimentGet experiment details with results Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
update_experimentUpdate experiment status (pause, resume, complete)
delete_experimentDelete an experiment
live_nowReal-time snapshot: active visitors, sessions, events per minute, top pages, and recent events. Reads from in-memory ring buffer — no D1 query.
all_sites_overviewHistorical summary across all projects in your account: total events, active project count, daily trend, and top projects.
bot_traffic_overviewFiltered automated traffic for a single project: automated requests, dropped events, categories, and top actors.
all_sites_bot_trafficFiltered automated traffic across all active projects in your account.
queryRun a flexible ad-hoc analytics query with custom metrics, filters, grouping, date ranges, and privacy-first customer email lookup. This is the most powerful endpoint — use it when other tools don't answer the question. Examples of questions this tool answers: - "How many signups from Germany this
compareCompare a shipped change and return a keep, revert, or extend verdict. Compare is a free read. Each successful call counts as one metered read. Pass ship_date plus window_days, or explicit baseline and compare windows. window_days is an integer from 1 to 90 and a multiple of 7 (default 7, so the lar
growth_auditRun one server-side growth audit on a project (hosted POST /audit) over the last 30 days: where visitors drop between page view, CTA click, and signup, which page leaks the most CTA clicks, and which goal events stopped firing. Free accounts: a successful call (status ok) uses the account's one fre
errorsRead grouped $error events for a project (GET /errors). Errors is a Pro read. A free account gets 403 PRO_REQUIRED, the same status and error code as POST /query, and that rejection is not metered. Each successful call counts as one metered read. Errors is the post-ship guardrail next to compare: af
web_vitalsRead Core Web Vitals for a project (POST /vitals). p75 is the headline: each metric is assessed at the 75th percentile of page loads, using nearest-rank. Web Vitals is a Pro read. A free account gets 403 PRO_REQUIRED, the same status and error code as POST /query, and that rejection is not metered.
analytics_funnelFunnel analysis: track where users drop off across a sequence of events (e.g. page_view → signup → purchase). Returns per-step user counts, conversion rates, and average time between steps. The lookback is since (for example 30d, 90d, or an ISO date) or days (an integer from 1 to 365, mapped to sinc
analytics_retentionCohort retention analysis — track what % of users return over time. By default uses session-based retention (any return visit counts). Pass 'event' to switch to event-based retention. Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
analytics_overviewGet time series chart, KPIs (events, users), and country breakdown (events, unique users) for a project over N days Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
analytics_insightsPeriod-over-period comparison with trend (events, users, bounce rate, session duration) Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
analytics_breakdownTop property values ranked by count (pages, referrers, UTM sources, etc.) Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
analytics_pagesEntry/exit page stats with bounce rate, avg duration, events per session Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
analytics_pathsBounded session path analysis from entry pages to goal, drop-off, or truncation. Useful for connecting page behavior to funnels, retention, and experiments. Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
analytics_sessionsSession duration histogram with engaged percentage and median bucket Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.
analytics_heatmapDay-of-week × hour traffic grid with peak detection (times in UTC) Anonymous preview is limited to agentanalytics-demo synthetic read-only data; sign in for your own projects.