MCP server
The Oh Dear MCP server lets AI assistants query your monitoring data directly through the Model Context Protocol (MCP). You can ask questions about your monitors, uptime, broken links, DNS history, performance scores, and more, all through natural language.
If you are looking for full API coverage (including creating monitors, managing maintenance, posting status updates), consider using the CLI skill instead.
Prerequisites #
You'll need:
- An Oh Dear account with active monitors
- An Oh Dear API token (generate one in your account settings)
- An AI assistant that supports MCP (like Claude Code)
Installation #
Claude Code #
claude mcp add --transport http ohdear https://ohdear.app/mcp \ --header "Authorization: Bearer YOUR-API-TOKEN-HERE"
Verify it was added:
claude mcp get ohdear
To remove it later:
claude mcp remove ohdear
Other MCP clients #
For clients that support remote MCP servers via mcp-remote:
{ "mcpServers": { "ohdear": { "type": "local", "command": [ "npx", "-y", "mcp-remote", "https://ohdear.app/mcp", "--header", "Authorization: ${AUTH_HEADER}" ], "enabled": true, "environment": { "AUTH_HEADER": "Bearer YOUR-API-TOKEN-HERE" } } } }
What you can do #
The MCP server provides read access to your Oh Dear monitoring data. Here are some examples of what you can ask.
Check monitor status #
- "Show me all my Oh Dear monitors"
- "Which monitors have issues right now?"
- "Get the details for monitor 12345"
Investigate uptime #
- "What's the uptime for example.com over the last 24 hours?"
- "Show me weekly uptime data for January"
- "Get hourly uptime statistics for my API server"
Find broken links #
- "Are there any broken links on example.com?"
- "Show me all broken links across my monitors"
Review DNS changes #
- "Show DNS history for example.com"
- "Have there been any recent DNS changes on my domain?"
Analyze performance #
- "What are the latest Lighthouse scores for example.com?"
- "Show me Core Web Vitals for my homepage"
Monitor scheduled tasks #
- "Show cron checks for example.com"
- "Which scheduled tasks are failing?"
Check sitemaps #
- "Show sitemap information for example.com"
- "Are there any sitemap issues on my site?"
Manage recurring maintenance #
- "Show recurring maintenance periods for example.com"
- "Create a weekly maintenance window for Mondays at 4am"
Feel free to reach out via [email protected] or on X via @OhDearApp if you have any other questions. We'd love to help!