Model Context Protocol · Coding agents
An MCP server that gives coding agents customer-level log evidence.
Dumping ten thousand raw log lines into Claude Code, Cursor, or Codex burns context tokens and buries the signal. Compare how Libra Logs MCP, Sentry MCP, Datadog MCP, and PostHog MCP let coding agents inspect production failures safely.
Observability MCP servers compared
Documented capabilities across hosted MCP servers for Claude Code, OpenAI Codex, and Cursor (checked 2026-09-23 through 2026-09-25).
| MCP server | Primary telemetry | Customer impact lookup | Log retention & pricing |
|---|---|---|---|
| Libra Logs MCP | Production logs, OTLP traces, deploy changes (`search_logs`, `whats_broken`) | Groups active problems by customer and cites rerunnable log lines | $20/mo (1-2 employees, 25 GB) or $150/mo (3-9, 100 GB), no seat or MCP call fees |
| Sentry MCP | Unhandled exceptions, stack traces, issues, release health | Affected-user counts and tags on issue details | Log window gated by tier: 7d Free, 14d Team ($26/mo), 30d Business ($80/mo) |
| Datadog MCP | Logs, APM traces, infrastructure metrics, monitors, incidents | Available when RUM or custom user attributes are wired | $0.10/GB ingest + $1.70/M events indexed (15d annual list rate) |
| PostHog MCP | Product analytics, feature flags, error tracking, OTLP logs | Company grouping via paid Group Analytics add-on | 10 GB logs free, then $0.25/GB (14d default; +$0.05/GB/mo custom retention) |
Workflow
Why pre-grouped log evidence beats raw log search in an LLM loop
- 1. Bounded context per tool hop: Instead of streaming megabytes of noisy stdout into your coding agent, `whats_broken` returns structured problem summaries, affected customer identifiers, and exact sample lines.
- 2. Scoped read-only key: Your agent can inspect logs, deploy diffs, and customer errors, and can never delete data or alter production configuration.
- 3. Works alongside Sentry or PostHog: Keep Sentry for frontend crash stack traces or PostHog for product funnels while using Libra Logs to unify backend OTLP, CloudWatch, Heroku, and Supabase logs starting at $20/month.
Sources (2026-09-23 through 2026-09-25)
- Datadog: https://docs.datadoghq.com/mcp_server/tools/ (Hosted MCP includes log search and analysis tools, read 2026-09-25)
- Sentry: https://mcp.sentry.dev/ (Hosted MCP supports coding assistants over HTTP, read 2026-09-25)
- PostHog: https://posthog.com/docs/model-context-protocol (Free hosted MCP endpoint for AI agents, read 2026-09-25)
- Datadog: https://www.datadoghq.com/pricing/?product=log-management ($0.10/GB ingest; $1.70/million events indexed at 15-day retention (annual); 30-day indexing price not shown, gated behind Contact Us, read 2026-09-23)
- Sentry: https://docs.sentry.io/product/explore/logs/ (Log query window is plan-gated: Developer 7 days, Team 14 days, Business 30 days, read 2026-09-23)
Connect your coding agent
Sign in and copy one prompt for Claude Code, Cursor, Codex or any MCP agent, with your read-only key already inside it.
Or run it yourself: npx libra-logs mcp add
FAQ
MCP log debugging questions
Which MCP tools does Libra Logs expose to Claude Code, Cursor, and Codex?
Libra Logs exposes read-only HTTP MCP tools including whats_broken (active customer-grouped problems with plain-English summaries) and search_logs (structured production log queries with exact matching lines), so your coding agent can verify root cause without flooding its context window with raw log dumps.
Can a coding agent mutate production data or commit secrets through Libra's MCP setup?
No. The setup prompt registers Libra Logs in your local user-level MCP configuration (never inside a repository file that git could commit) using a scoped read-only API key that you can revoke anytime from Settings.
How does Libra Logs MCP differ from Sentry MCP and Datadog MCP?
Sentry MCP (mcp.sentry.dev) excels at stack traces and grouped application exceptions, while Datadog MCP covers multi-product infrastructure metrics, APM traces, and indexed logs. Libra Logs MCP is purpose-built for customer-impact log debugging at $20/month flat: it groups production log failures by affected customer and links every answer to rerunnable log evidence.
Put production evidence inside your editor.
Sign in, paste the read-only MCP prompt into Claude Code, Cursor, or Codex, and ask which customers need help.
Paying Datadog or Sentry? Send us your bill and we'll beat it.