MCP Server
Connect Measure to Claude Code, OpenAI Codex, Google Antigravity, Cursor and other AI coding agents. Query crashes, traces, sessions and bug reports from your editor or AI agent workflows.
Measure exposes a Model Context Protocol (MCP) server that lets AI-powered coding tools query your app's crash and error data directly.
What is MCP?
The Model Context Protocol is an open standard that allows AI tools to interact with external data sources through a consistent interface. With Measure's MCP server, you can ask AI assistants to look up crashes, analyze error trends and inspect stack traces without leaving your editor.
Connecting to MCP via Coding Agents
You can connect your favorite coding agents to Measure as a remote MCP server.
The MCP endpoint is available at:
| Version | Endpoint |
|---|---|
| Cloud | https://agent.measure.sh/mcp |
| Self Hosted | https://[your-measure-agent-domain]/mcp |
Refer to your coding agent's documentation for the specific steps to add a remote MCP server. A few popular agent docs are linked here:
When you first use a Measure tool, your coding agent will open a browser window for you to sign in to Measure. After authenticating subsequent requests will work automatically.
Available Tools
ask_question
Ask a natural language question to help debug an app and let Measure Agent work out the answer using the app's telemetry data.
list_apps
List all apps the authenticated user has access to.
get_filters
Get available filter options (versions, OS, countries, devices, etc.) for an app.
get_metrics
Get app metrics including adoption, crash-free/ANR-free sessions and launch performance (cold/warm/hot p95).
get_app_health_over_time
Get the app health timeline: sessions, crashes (fatal exceptions) and ANRs bucketed over time.
get_errors
Get error groups (crashes, non-fatal exceptions and ANRs) for an app, filterable by error type and severity.
get_error
Get individual error events (exception or ANR) for a specific error group.
get_errors_over_time
Get time-series of error occurrences across all error groups, filterable by error type and severity.
get_error_over_time
Get time-series of occurrences for a specific error group.
get_error_distribution
Get attribute distribution (OS, device, version, country) for a specific error group.
get_error_common_path
Get the most common user navigation path leading to a specific error group.
get_sessions
Get sessions for an app, ordered by most recent first.
get_sessions_over_time
Get time-series of session counts.
get_session
Get full session with all events.
get_bug_reports
Get bug reports for an app, ordered by most recent first.
get_bug_reports_over_time
Get time-series of bug report counts.
get_bug_report
Get a single bug report with full details.
update_bug_report_status
Update the status of a bug report (open or closed).
get_root_span_names
Get all root span names for an app.
get_span_instances
Get span instances for a root span name.
get_span_metrics_over_time
Get p50/p90/p95/p99 duration metrics over time for a span name.
get_trace
Get full trace with all child spans.
get_alerts
Get alerts for an app, ordered by most recent first.
get_journey
Get user navigation journey graph with session counts between screens.
Think this page can be better?
Open an issueSlack Integration
Receive Measure crash spike, ANR spike, bug report alerts and daily summaries in Slack, and debug your app with Measure Agent. Manage subscriptions, list channels and stop alerts via slash commands.
Measure Agent
Debug your apps with full context about crashes, errors, sessions and traces from Slack or your coding agent.