Pydantic Logfire MCP server
Hosted remote MCP server for Logfire's OpenTelemetry-native observability platform, exposing SQL queries over traces and metrics plus management of dashboards, alerts, notification channels, issues, and feature-flag variables. A separate EU endpoint exists at logfire-eu.pydantic.dev/mcp; OAuth browser login is standard, with API-key Bearer auth for sandboxed environments.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
https://logfire-us.pydantic.dev/mcpWhat you can do with it
- Query OpenTelemetry traces and metrics with SQL to debug application issues.
- Find recent exceptions in a file and inspect distributed traces.
- Create and manage dashboards, panels, and SQL-based alerts.
- Triage tracked exception issues and manage notification channels.
- Use the EU endpoint for EU data regions.
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http pydantic-logfire https://logfire-us.pydantic.dev/mcpCodex
codex mcp add pydantic-logfire --url https://logfire-us.pydantic.dev/mcpCursor
{
"mcpServers": {
"pydantic-logfire": {
"url": "https://logfire-us.pydantic.dev/mcp"
}
}
}Cline
{
"mcpServers": {
"pydantic-logfire": {
"type": "streamableHttp",
"url": "https://logfire-us.pydantic.dev/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"pydantic-logfire": {
"type": "http",
"url": "https://logfire-us.pydantic.dev/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http pydantic-logfire https://logfire-us.pydantic.dev/mcpClaude Desktop
{
"mcpServers": {
"pydantic-logfire": {
"url": "https://logfire-us.pydantic.dev/mcp"
}
}
}Windsurf
{
"mcpServers": {
"pydantic-logfire": {
"serverUrl": "https://logfire-us.pydantic.dev/mcp"
}
}
}Other data and analytics servers
Do you run Pydantic Logfire?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.