agentanalytics.sh: Analytics Your Agent Can Use

sh.agentanalytics/agent-analytics-mcp · v1.2.10 · agents-and-memory

agentanalytics.sh: Analytics Your Agent Can Use is healthy: it completed an MCP handshake in 2312 ms and exposes 34 tools.

agentanalytics.sh: ask your agent where your site loses signups and what to fix next.

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

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count34
Latency2312 ms
Last checked (UTC)2026-12-04T11:25:16.477Z

Health history

Checked (UTC)StatusLatencyError
2026-12-04T11:25:16.477ZHealthy2312

Tools (34)

account_usageUse when you need the plan, usage, or a payment handoff before a Pro-only tool. Returns the plan, usage, billing estimate, spend cap, and Pro pricing. Requires account:read. Read-only: it cannot charge or manage billing. After checkout, call again and retry the task.
analytics_panelUse when you want a project's analytics beside the chat instead of one analysis tool. Returns a project and view picker. Empty input is valid. Each query keeps its plan and access checks. Synthetic demo for agentanalytics-demo. Sign in for your projects.
list_projectsUse when you need a project name before any other analytics call. Returns the projects on this account. This is the tool to start with. Synthetic demo for agentanalytics-demo. Sign in for your projects.
create_projectUse when a site is not a project yet and needs tracking. Returns the project, snippet, and an API example. Idempotent if the name exists. The snippet sets data-track-vitals="true" so page_view collects Core Web Vitals.
get_project_contextUse when you need stored product meaning before reading numbers. Returns goals, activation events, the glossary, and date annotations, or a note that none are stored. Synthetic demo for agentanalytics-demo. Sign in for your projects.
set_project_contextUse when replacing stored project context. Returns the saved context. The body cap is 512KB. Read existing context first and save only durable product truth: goals, activation events, glossary, and annotations. Inspect event names with properties first. Do not store PII or secrets.
append_project_annotationUse when adding one date annotation without changing goals or glossary. Returns whether it was appended. A duplicate returns appended false. The cap of 100 returns 409 and stores nothing.
propertiesUse when you need event names and property keys as one flat list, without types. Returns those names and keys. For keys grouped under each event, use properties_received. For types and example values, use catalog. Synthetic demo for agentanalytics-demo. Sign in for your projects.
properties_receivedUse when you need property keys sampled on each event name. Returns one key list per event. It does not return JSON types or example values; use catalog for those. For a flat event-name list, use properties. Synthetic demo for agentanalytics-demo. Sign in for your projects.
catalogUse catalog before writing a query or SQL when event names, property keys, types, or example values are unknown (GET /catalog). Returns those fields. Pro and metered. Free accounts get 403 PRO_REQUIRED. Examples are email-redacted as [redacted-email]. Bad windows are 400 INVALID_WINDOW. Bad cursors
sessionsUse when you need individual session records, such as ids, timing, and pages, rather than a duration chart. Returns that session list. For the histogram and engaged share, use analytics_sessions. Synthetic demo for agentanalytics-demo. Sign in for your projects.
list_experimentsUse when you need every A/B experiment before opening one by id. Returns ids, names, statuses, and goal events. It does not create or change a test. Synthetic demo for agentanalytics-demo. Sign in for your projects.
create_experimentUse when the user wants a new A/B test. Returns the created id, variant keys, and the goal event. To pause, resume, or complete one, use update_experiment. To remove one, use delete_experiment.
get_experimentUse when you have an experiment id and need its results. Returns exposures, conversions, and the recommendation. It does not create, pause, or delete the experiment. Synthetic demo for agentanalytics-demo. Sign in for your projects.
update_experimentUse when the user wants to pause, resume, or complete an existing A/B experiment. Returns the new status and the winner when you complete it.
delete_experimentUse when the user wants an A/B experiment removed. Returns confirmation the id was deleted. To change status without deleting, use update_experiment.
live_nowUse when you need who is on the site right now, not a historical chart. Returns active visitors, sessions, events per minute, top pages, and recent events.
all_sites_overviewUse when you need historical traffic across all projects, not one site. Returns total events, the active project count, the daily trend, and the top projects.
bot_traffic_overviewUse when the project is already named and you want that site's non-human volume only. Returns its request total, filtered-out hits, actor categories, and the busiest actors. The account-wide rollup is all_sites_bot_traffic.
all_sites_bot_trafficUse when you want every active site summed together, with no project name chosen. Returns one row per site for request totals and filtered-out hits. Actor categories for a single site are bot_traffic_overview.
queryUse query when other tools cannot answer. Returns grouped metric rows. property is the event property key and is required when any of those metrics is requested. Numeric metrics are Pro, with the same gating as this query, and a free account gets 403 PRO_REQUIRED. Hosted vitals are properties on pag
compareUse compare after a ship for a keep, revert, or extend verdict. Returns rates, lift, and the verdict. Compare is a free read and each successful call is one metered read. goal_event counts unique converters. Read on ship day + 8 so the last day is complete. Today UTC yields incomplete_current_day. R
growth_auditUse when you need where visitors drop before signup. Returns findings, funnel, and traffic_by_hostname. A successful call uses the account's one free audit. Pro accounts can repeat it. Pass cta_event or detection ranks event names by count. Stopped events use 3 firings, not 3 users. Default excludes
errorsUse errors as the post-ship guardrail next to compare. Returns grouped $error rows (GET /errors). Pro read. 403 PRO_REQUIRED is not metered, and a success is one metered read. new_since matches listing occurred_at and title. approximate is always set. When true, caps is an array of distinct_triples
web_vitalsUse when you need Core Web Vitals (POST /vitals). Returns p75 and ratings. p75 is the headline. Pro read: 403 PRO_REQUIRED is not metered, and a success is one metered read. The event is page_view, collected with data-track-vitals="true". Thresholds: https://web.dev/articles/vitals. LCP 2500 ms / 40
analytics_funnelUse when you need drop-off across ordered events. Returns per-step users, conversion, and time between steps. Pass since, such as 30d, or days from 1 to 365, mapped to since as Nd. Default is 30d. Synthetic demo for agentanalytics-demo. Sign in for your projects.
analytics_retentionUse when you need what share of users come back. Returns cohort retention by day, week, or month. Pass event to switch to event-based retention. Synthetic demo for agentanalytics-demo. Sign in for your projects.
analytics_overviewUse when you know the project and need its traffic trend. Returns a time series, event and user counts, and a country breakdown. For up or down versus the previous period, use analytics_insights. Synthetic demo for agentanalytics-demo. Sign in for your projects.
analytics_insightsUse when you need whether traffic is up or down versus the previous period. Returns events, users, bounce rate, and session duration with the trend. For the time series, use analytics_overview. Synthetic demo for agentanalytics-demo. Sign in for your projects.
analytics_breakdownUse when you need the top values of one property, such as path, referrer, or utm_source. Returns those values ranked by count. For entry and exit pages, use analytics_pages. Synthetic demo for agentanalytics-demo. Sign in for your projects.
analytics_pagesUse when you need entry or exit pages rather than a property ranking. Returns bounce rate, average duration, and events per session. Synthetic demo for agentanalytics-demo. Sign in for your projects.
analytics_pathsUse when you need the session paths that reach a goal event. Returns a bounded tree from entry pages to the goal, a drop-off, or truncation. Synthetic demo for agentanalytics-demo. Sign in for your projects.
analytics_sessionsUse when you need how long sessions last, not individual session rows. Returns a duration histogram, the engaged percentage, and the median bucket. For raw records, use sessions. Synthetic demo for agentanalytics-demo. Sign in for your projects.
analytics_heatmapUse when you need which weekday and hour get traffic. Returns a day-of-week by hour grid and the peak. Times are UTC. Synthetic demo for agentanalytics-demo. Sign in for your projects.