Logfire

official

Provides access to OpenTelemetry traces and metrics through Logfire.

What can you do with Logfire MCP?

  • Query recent traces and spans — Ask your assistant to retrieve recent traces and their spans from Logfire.
  • Find spans by trace ID — Use to fetch all spans belonging to a specific trace for detailed inspection.
  • Execute arbitrary SQL queries — Run custom SQL against your Logfire data with 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 engineering@pydantic.dev.