Pydantic Logfire MCP Server
Query OpenTelemetry traces, spans, and exceptions stored in Pydantic Logfire.
Overview
Pydantic's Logfire MCP server gives coding agents read access to OpenTelemetry traces, spans, SQL-over-traces, and exception details in Logfire projects. It is useful for debugging Python and agent services from production telemetry. Use a read-only token scoped to the target project.
Capabilities
- Trace queries
- Exception lookup
- Schema inspection
- SQL over OpenTelemetry
Connection profile
- Transports
- stdio
- Authentication
- Logfire read token
- License
- MIT
- Vendor
- Pydantic
- Repository
- github.com/pydantic/logfire-mcp
Client format support is reviewed against official client documentation. It is not a claim that this specific server was tested with every client.
Configuration starting point
This entry does not have a verified launcher preset. Use the transports and authentication model above to build a configuration manually; do not guess a package name.
Open the config generatorSecurity notes
- Traces and logs can carry request headers or PII; use a read token limited to the relevant project.
The catalog records source evidence, not a security audit. Review the server's permissions, recent releases, and the data it can access before connecting it to a real account.
Sources & evidence
- github.com/pydantic/logfire-mcpRepository · checked Nov 27, 2026 · documented
Pydantic's official repository documents the Logfire MCP server and links to setup documentation; active on the check date.