Better Stack MCP Server
Product · Developer tool by Better Stack
Connect AI assistants to your infrastructure data with MCP
A developer tool that connects AI assistants to Better Stack telemetry data via the Model Context Protocol for automated incident investigation and root cause analysis.
- Languages
- English
Category: Developer Tools
- Protocol Support
- Model Context Protocol (MCP)
- Supported Data Types
- Logs, Metrics, Traces, Errors, Incidents, Web Events
- Visual Output
- In-client chart rendering
- Query Interface
- Natural language and SQL/PromQL via AI
- Client Compatibility
- Claude Desktop, Claude Code, Cursor, and MCP-compatible LLMs
- Connect AI assistants to telemetry data via MCP
- Render charts directly in Claude Desktop
- Query logs, metrics, and traces in natural language
- Compatible with Claude Code and Cursor
Overview
Better Stack MCP Server is a developer tool that implements the Model Context Protocol to bridge the gap between observability data and AI assistants. It allows engineering teams to connect LLMs like Claude or Cursor directly to their logs, metrics, traces, and incident history for automated investigation. The server enables AI agents to perform root cause analysis by correlating recent deployments and errors with real-time telemetry. A key feature is the ability to render charts and visualizations directly within desktop LLM interfaces like Claude Desktop. By providing a standardized way for AI to interact with on-call schedules and infrastructure knowledge, it serves as a foundation for agentic SRE workflows.
AI Assistant Connectivity
- MCP Implementation: The server implements the Model Context Protocol to connect AI assistants directly to telemetry and incident data.
- Telemetry Querying: AI agents can query logs, metrics, and traces directly to perform automated root cause analysis.
- Visual Data Rendering: The server enables AI assistants to render charts and visualizations directly within supported desktop LLM clients.
Developer & SRE Capabilities
- Incident Timeline Access: The server provides AI assistants with access to the second-by-second timeline of what happened during an incident.
- Incident Management Integration: AI agents can interact with on-call schedules and incident management data through a standardized protocol.
- Error Context Retrieval: The server allows for querying exception data directly from coding agents like Claude Code or Cursor.
- Analytical Queries: Users can run analytical aggregation queries at scale through the MCP interface.
Use cases
- SREs use the MCP server to let AI agents investigate incidents using logs and metrics directly in Slack or Claude.
- Developers query exception data from Cursor to get full backtrace context and suggested fixes for new errors.
- Incident responders render real-time latency charts inside Claude Desktop to visualize the impact of a service slowdown.
- Teams build custom AI workflows that correlate recent GitHub deployments with telemetry trends to identify root causes.
Specifications
- Integrations
- Claude Desktop, Claude Code, Cursor, Datadog, Grafana, Sentry, Linear, Notion
- Deployment
- Cloud-based with support for custom clusters in Virginia, Oregon, Germany, or Singapore
- Protocol Support
- Model Context Protocol (MCP)
- Supported Data Types
- Logs, Metrics, Traces, Errors, Incidents, Web Events
- Visual Output
- In-client chart rendering
- Query Interface
- Natural language and SQL/PromQL via AI
- Client Compatibility
- Claude Desktop, Claude Code, Cursor, and MCP-compatible LLMs
How it works
- Connect Data Sources: Sign up for a Better Stack account and connect your telemetry sources such as logs, metrics, or traces.
- Enable MCP Server: Enable the MCP server within your Better Stack dashboard to expose your infrastructure data to the Model Context Protocol.
- Configure AI Client: Configure your preferred LLM client, such as Claude Desktop or Cursor, to connect to the Better Stack MCP endpoint.
- Query and Analyze: Interact with your infrastructure data using natural language to investigate incidents, render charts, or analyze errors.
Pricing
- AI SRE Consumption-based
- Per model prices (Anthropic, OpenAI, DeepSeek, etc.)
FAQ
Can the MCP server display visual data?
The server supports rendering charts and visualizations directly within Claude Desktop, providing visual context for AI-driven debugging.
Does it work with AI coding agents like Cursor?
Yes, you can query exception data directly from Claude Code or Cursor to get extensive error context or run analytical aggregation queries at scale.
Is the MCP server available on the free plan?
The MCP server is included as part of the AI SRE capabilities, which are available through consumption-based pricing for various models.
Added by AntSpace from public sources (betterstack.com).