Skip to content

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 serverPrimary telemetryCustomer impact lookupLog retention & pricing
Libra Logs MCPProduction 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 MCPUnhandled exceptions, stack traces, issues, release healthAffected-user counts and tags on issue detailsLog window gated by tier: 7d Free, 14d Team ($26/mo), 30d Business ($80/mo)
Datadog MCPLogs, APM traces, infrastructure metrics, monitors, incidentsAvailable when RUM or custom user attributes are wired$0.10/GB ingest + $1.70/M events indexed (15d annual list rate)
PostHog MCPProduct analytics, feature flags, error tracking, OTLP logsCompany grouping via paid Group Analytics add-on10 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)

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.