Logfire

official

Provides access to OpenTelemetry traces and metrics through Logfire.

What can you do with Logfire?

  • Query recent traces and spans — Ask your assistant to retrieve recent traces and their spans from Logfire using get_traces_and_spans.
  • Find spans by trace ID — Use get_spans_by_trace_id to fetch all spans belonging to a specific trace for detailed inspection.
  • Execute arbitrary SQL queries — Run custom SQL against your Logfire data with execute_sql to analyze metrics, logs, and spans.

Documentation

Pydantic Logfire MCP Server

[!IMPORTANT] This repository is archived. The STDIO MCP server in this package is no longer being updated. We now have a remote MCP server, which allows us to iterate faster on tools and provide a better experience.

Read more in our documentation.

If you have any questions, reach out to us on Slack or email us at [email protected].