Better Stack MCP — Claude Code MCP server: what it does and setup
Connects AI assistants to Better Stack Uptime via an offline SQLite cache. It helps inspect outages and detect gaps in on-call schedules directly inside chat.
Open on GitHubWhat Better Stack MCP does
This server connects your AI agent to Better Stack Uptime and maintains an offline SQLite copy of fleet metrics. It answers cross-resource questions that the raw API cannot handle alone, such as locating unassigned on-call shifts or tracking flapping monitors.
The package bundles the betterstack-cli binary together with the betterstack-mcp server. Your agent interacts with these executables locally through the stdio transport.
Do not run the HTTP mode with --transport http. That mode lacks authentication and listens on every network interface. Stdio transport remains the only safe operational choice.
What it helps with
- Track ongoing service outages and notify active on-call staff
- Detect unmonitored infrastructure assets and missing shift coverage
- Calculate incident response metrics such as MTTA and MTTR from local mirrors
- Pinpoint flapping status alerts and outdated status-page entries
Example prompts for the agent
- Check Better Stack to see which endpoints are down and who was paged
- Query the local SQLite mirror to compute our average MTTR for this week
- Audit the on-call rota for next weekend and highlight unassigned shifts
How to install Better Stack MCP
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Better Stack MCP
How to install Better Stack MCP in Claude Code?
First run /plugin marketplace add Servosity/msp-skills, then install the component using /plugin install betterstack@msp-skills.
What does Better Stack MCP do?
It exposes Better Stack Uptime metrics to your agent and mirrors fleet telemetry into an offline SQLite database. This allows models to calculate response metrics and audit rota coverage.
Can I run Better Stack MCP over HTTP?
No, running with --transport http is dangerous because it has no password protection and listens on all interfaces. You should stick strictly to the default stdio transport.