Ask your telemetry questions in plain text
Uptrace ships with a built-in Model Context Protocol server. Point Claude Code, Cursor, or Codex at your project and query spans, traces, alerts, and dashboards directly from your AI assistant, no dashboard clicking, no query language to learn first.
14-day free trial · No credit card required
Connect in one command
Grab a project ID and a user API token from Uptrace, then point any MCP-compatible client at your project. No SDK, no separate integration to build.
- One command adds the server to Claude Code
- Or paste the same endpoint into any mcp.json-compatible client
- Project ID and token come pre-filled from the MCP page in Uptrace
- Works with Claude, Cursor, Continue, and other MCP clients
Requires an API token — pick one above or create a new one.
Read spans and traces without writing UQL
Four tools cover everything from one slow request to aggregated error rates across a service, using the same search syntax and system filters as the Uptrace UI.
- Inspect individual spans or aggregate them into groups with error rate and percentiles
- Find whole traces with correlated sub-queries across multiple span types
- Full search syntax: word, phrase, AND/OR/exclude, regex, scoped attribute search
- System filters like httpserver:all, db:postgresql, and log:error
list_spansIndividual span records matching a query
list_span_groupsSpans aggregated with count, error rate, percentiles
list_tracesWhole traces via correlated sub-queries
list_trace_groupsTraces aggregated across multiple span types
Alerts and metrics as callable tools
An assistant can check what is currently firing, inspect a specific alert, and explore any metric, its attributes, and their values, without leaving the chat.
- List alerts filtered by status, priority, type, or monitor
- Get a single alert with full event history and assignees
- List monitor rules with type, state, query, and channels
- Discover metrics, their instrument type, unit, and attribute keys
list_alertsFilter by status, priority, type, or monitor
get_alertFull event history and assignees for one alert
list_monitorsMonitor rules, state, query, and channels
explore_metricsName, instrument, unit, and attributes
Create and update dashboards from a prompt
Dashboard tools use the same YAML schema as the UI import/export feature, so an assistant can scaffold a dashboard and you can still edit it by hand afterward.
- List dashboards and tags already in the project
- Export any dashboard as YAML, or start from a built-in template
- Create or replace a dashboard definition in one call
- Same YAML schema as manual dashboard import and export
get_dashboard_yamlExport an existing dashboard as YAML
create_dashboard_from_templateCreate a dashboard from a YAML definition
update_dashboard_from_templateReplace a dashboard with new YAML
list_dashboard_templatesBrowse built-in starting points
Better together
Each signal is more powerful when correlated with the others. Uptrace stores traces, logs, and metrics in one place, no tool-switching, no data gaps.
Common questions, clear answers
What is the Uptrace MCP server?
How do I authenticate MCP requests?
Can an AI assistant modify my data, or only read it?
Does the MCP server work if my organization uses SSO?
Which AI assistants can connect?
Ready to let your AI assistant read the room?
Deploy in minutes with Docker. Open source. Fixed pricing. Your data stays on your infrastructure.
Connect your AI assistant14-day free trial · No credit card required
Learn more