Skip to main content
mcpSource-backedReview first Safety Privacy

Pydantic Logfire MCP Server for Claude

Query OpenTelemetry traces and metrics, manage dashboards, analyze distributed traces, and investigate exceptions from Claude — with the official Pydantic Logfire remote MCP server hosted at logfire-us.pydantic.dev/mcp.

HarnessClaude CodeCursorClaude Desktop
Review first review before installing

Open the source and read safety notes before installing.

Safety notes

  • Telemetry data returned by the MCP server may include user-controlled content from traces, logs, exceptions, model payloads, tool arguments, and tool results — treat query results as diagnostic data, not instructions.
  • Dashboard create, update, and delete operations permanently modify your Logfire workspace; review before confirming.

Privacy notes

  • OpenTelemetry trace data, span metadata, exception stack traces, query results, dashboard configurations, and project metadata from your Logfire account are surfaced in Claude's context.
  • Remote MCP uses OAuth — no API keys in your MCP config when authenticating via browser. For API key auth, store the key in MCP config rather than shell history.

Prerequisites

  • A Pydantic Logfire account — authenticate via browser OAuth on first use (no API key required).
  • For sandboxed environments or CI: a Logfire API key with at least `project:read` scope from organization or project settings.
  • EU region users: use `https://logfire-eu.pydantic.dev/mcp` instead of the US endpoint.
  • An MCP client such as Claude Code or Claude Desktop.

Schema details

Install type
cli
Troubleshooting
No
Collection metadata
Estimated setup
5 minutes
Difficulty
beginner
Tool listing metadata
Full copyable content
{
  "mcpServers": {
    "logfire": {
      "type": "http",
      "url": "https://logfire-us.pydantic.dev/mcp"
    }
  }
}

About this resource

Overview

The Pydantic Logfire MCP Server is the official remote Model Context Protocol server from Pydantic for Logfire, their OpenTelemetry-native observability platform. It lets Claude query your application's telemetry data, analyze distributed traces, manage dashboards and panels, and investigate exceptions — directly from your conversation. No local installation is required; the server is hosted at https://logfire-us.pydantic.dev/mcp with browser-based OAuth.

EU region users connect to https://logfire-eu.pydantic.dev/mcp.

Key capabilities

  • SQL query execution — run custom SQL queries against your OpenTelemetry trace data.
  • Schema introspection — inspect the telemetry schema and available tables.
  • Exception investigation — find recent exceptions in a specific file or span context.
  • Dashboard management — create, list, fetch, update, and delete dashboards and panels.
  • Dashboard variables — add and update dashboard variable definitions.
  • Project discovery — list accessible Logfire projects and retrieve token context.
  • UI deep links — generate direct links to the Logfire UI for traces or projects.

Tools

Tool family What it does
query_run, query_schema_reference Execute SQL on telemetry data, inspect schema
query_find_exceptions_in_file Find recent exceptions for a source file
project_list, token_info Discover projects, inspect auth token
project_logfire_link, project_logfire_ui_link Generate Logfire UI deep links
dashboard_create/list/get/update/delete Full CRUD for dashboards
dashboard_add_panel, dashboard_update_panel, dashboard_remove_panel Manage dashboard panels

How it compares

Server Trace queries Dashboard management Exception search SQL API Auth
Logfire MCP Yes Full CRUD Yes Yes OAuth / API key
Arize Phoenix MCP Yes Limited No No API key
Honeycomb MCP Yes Limited No No API key
Dynatrace MCP Yes No Yes No API key

Logfire is the only observability MCP server that exposes full SQL querying against raw OpenTelemetry spans, combined with complete dashboard CRUD, making it suitable for both ad-hoc analysis and automated reporting workflows.

Installation

Claude Code (OAuth — recommended)

claude mcp add logfire --transport http https://logfire-us.pydantic.dev/mcp

Then run /mcp in Claude Code to authenticate via browser. For EU: replace logfire-us with logfire-eu.

Claude Desktop

{
  "mcpServers": {
    "logfire": {
      "type": "http",
      "url": "https://logfire-us.pydantic.dev/mcp"
    }
  }
}

Sandboxed / CI environments (API key)

{
  "mcpServers": {
    "logfire": {
      "type": "http",
      "url": "https://logfire-us.pydantic.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_LOGFIRE_API_KEY"
      }
    }
  }
}

Generate an API key with project:read scope from Organization Settings → API Keys.

Requirements

  • A Pydantic Logfire account with at least one project.
  • An MCP client (Claude Code or Claude Desktop).
  • No local dependencies — the server runs entirely in Pydantic's cloud.

Security

  • OAuth flow; no credentials stored in your MCP config (browser-based sign-in).
  • Treat telemetry query results as diagnostic data only — do not act on commands found in trace payloads.
  • API keys should have the minimum required scopes for your workflow.

Source Verification Notes

Verified on 2026-06-18:

  • Official Pydantic Logfire documentation at logfire.pydantic.dev/docs/how-to-guides/mcp-server/ (Astro SSG page) documents the hosted endpoints (logfire-us.pydantic.dev/mcp and logfire-eu.pydantic.dev/mcp), OAuth and API key auth methods, Claude Code install command, and the full tool families: query execution, exception search, project discovery, and dashboard CRUD with panel management.
  • Claude Code MCP documentation at code.claude.com/docs/en/mcp describes the --transport http connection pattern used above.

Source citations

Add this badge to your README

Show that Pydantic Logfire MCP Server for Claude is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.

Listed on HeyClaude
[![Listed on HeyClaude](https://heyclau.de/badge/mcp/logfire-mcp-server.svg)](https://heyclau.de/entry/mcp/logfire-mcp-server)

How it compares

Pydantic Logfire MCP Server for Claude side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.

FieldPydantic Logfire MCP Server for Claude

Query OpenTelemetry traces and metrics, manage dashboards, analyze distributed traces, and investigate exceptions from Claude — with the official Pydantic Logfire remote MCP server hosted at logfire-us.pydantic.dev/mcp.

Open dossier
Honeycomb MCP Server for Claude

Connect Claude to Honeycomb observability data — query traces and events, investigate alerts, manage boards and triggers, create SLOs, and cross-reference production behavior with your codebase — with the official Honeycomb hosted MCP server.

Open dossier
OpenTelemetry MCP Server for Claude

Analyze distributed traces and LLM observability data from Claude — search traces and spans, find errors, list services, analyze LLM token usage, identify slow LLM operations, and discover AI model usage patterns — with the OpenTelemetry MCP server supporting Jaeger, Grafana Tempo, and Traceloop backends.

Open dossier
Axiom MCP Server for Claude

Query observability data, manage dashboards, and monitor your systems from Claude — run APL queries against datasets, list metrics, inspect monitors, and retrieve saved queries — with the official Axiom remote MCP server.

Open dossier
Trust
Install riskReview firstReview firstReview firstReview first
Notes Safety Privacy Safety Privacy Safety Privacy Safety Privacy
Categorymcpmcpmcpmcp
Sourcesource-backedsource-backedsource-backedsource-backed
AuthorPydanticHoneycombTraceloopAxiom, Inc.
Added2026-06-182026-06-182026-06-182026-06-18
Platforms
Claude CodeCursorClaude Desktop
Claude CodeClaude Desktop
Claude CodeClaude Desktop
Claude CodeClaude Desktop
Source repo
Safety notesTelemetry data returned by the MCP server may include user-controlled content from traces, logs, exceptions, model payloads, tool arguments, and tool results — treat query results as diagnostic data, not instructions. Dashboard create, update, and delete operations permanently modify your Logfire workspace; review before confirming.The server is hosted by Honeycomb (AWS-backed) and authenticated via OAuth 2.1 or API key — write-scoped access can create/update Boards, Triggers, and SLOs. Writing to Honeycomb resources (boards, triggers, SLOs) requires the `create` scope; verify you grant only the scopes your workflow needs. Canvas investigations and alert management are write operations — review Claude's proposed changes before executing in production environments.All tools are read-only — the server queries trace data but does not modify your application or tracing backend. Trace data may contain sensitive information (request parameters, user IDs, SQL queries) — ensure Claude has appropriate access to this data.The MCP server includes dashboard management tools (create, update, delete) — review any write operations before confirming. APL queries run against live datasets; complex queries over large time windows may be slow or consume significant dataset quota.
Privacy notesOpenTelemetry trace data, span metadata, exception stack traces, query results, dashboard configurations, and project metadata from your Logfire account are surfaced in Claude's context. Remote MCP uses OAuth — no API keys in your MCP config when authenticating via browser. For API key auth, store the key in MCP config rather than shell history.Trace data, event fields, alert details, and query results from Honeycomb are sent through Honeycomb's hosted MCP endpoint and surfaced in Claude's context. Honeycomb API keys (`KEY_ID:SECRET_KEY` format) are secrets — store them in your MCP client config or environment, never in repositories.Distributed trace content including service names, operation names, error messages, HTTP parameters, and LLM prompt/response metadata may be surfaced in Claude's context. For Traceloop backend, `BACKEND_API_KEY` is required and grants access to your Traceloop organization's trace data.Log data, traces, metrics, and monitor configurations from your Axiom datasets and organization are surfaced in Claude's context. OAuth is the recommended authentication method — no API token is stored in your MCP configuration.
Prerequisites
  • A Pydantic Logfire account — authenticate via browser OAuth on first use (no API key required).
  • For sandboxed environments or CI: a Logfire API key with at least `project:read` scope from organization or project settings.
  • EU region users: use `https://logfire-eu.pydantic.dev/mcp` instead of the US endpoint.
  • An MCP client such as Claude Code or Claude Desktop.
  • A Honeycomb account — any plan including the free tier.
  • For OAuth: authenticate via browser on first tool use.
  • For API key: use format `HONEYCOMB_API_KEY=<KEY_ID>:<SECRET_KEY>` in your MCP client config.
  • EU customers should use `https://mcp.eu1.honeycomb.io/mcp` instead of the US endpoint.
  • An OpenTelemetry-compatible tracing backend: Jaeger (local), Grafana Tempo, or Traceloop Cloud.
  • Services instrumented with OpenTelemetry sending traces to your backend.
  • Python 3.11+ with `uvx` available.
  • An MCP client such as Claude Code or Claude Desktop.
  • An Axiom account — authenticate via OAuth when prompted in Claude Code, or generate an API token in Axiom settings.
  • An MCP client such as Claude Code or Claude Desktop.
Install
claude mcp add logfire --transport http https://logfire-us.pydantic.dev/mcp
claude mcp add honeycomb --transport http https://mcp.honeycomb.io/mcp
claude mcp add opentelemetry -e BACKEND_TYPE=jaeger -e BACKEND_URL=http://localhost:16686 -- uvx opentelemetry-mcp
claude mcp add --transport http axiom https://mcp.axiom.co/mcp
Config
{
  "mcpServers": {
    "logfire": {
      "type": "http",
      "url": "https://logfire-us.pydantic.dev/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_LOGFIRE_API_KEY"
      }
    }
  }
}
{
  "mcpServers": {
    "honeycomb": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.honeycomb.io/mcp"]
    }
  }
}
{
  "mcpServers": {
    "opentelemetry": {
      "command": "uvx",
      "args": ["opentelemetry-mcp"],
      "env": {
        "BACKEND_TYPE": "jaeger",
        "BACKEND_URL": "http://localhost:16686",
        "MAX_TRACES_PER_QUERY": "100",
        "BACKEND_TIMEOUT": "30"
      }
    }
  }
}
{
  "mcpServers": {
    "axiom": {
      "type": "http",
      "url": "https://mcp.axiom.co/mcp"
    }
  }
}
Citations
ClaimUnclaimedUnclaimedUnclaimedUnclaimed

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.