Logfire (uvx) MCP Server
CommunityContributed by Pydantic
Connect to Pydantic Logfire observability data. Query traces, metrics, and exceptions, run arbitrary SQL against your project, and inspect OpenTelemetry telemetry from your applications.
About the Logfire (uvx) MCP Server
The Logfire (uvx) MCP server is a local (stdio) Model Context Protocol server available in the McpMux registry. Connect to Pydantic Logfire observability data. Query traces, metrics, and exceptions, run arbitrary SQL against your project, and inspect OpenTelemetry telemetry from your applications. This is a community-contributed MCP server by Pydantic.
Install the Logfire (uvx) MCP server with one click using McpMux. It works with Cursor, Claude Desktop, Claude Code, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible AI client. This server requires an API key — McpMux securely stores your credentials with AES-256-GCM encryption.
Transport Configuration
{
"type": "stdio",
"command": "uvx",
"args": [
"logfire-mcp@latest"
],
"env": {
"LOGFIRE_READ_TOKEN": "${input:LOGFIRE_READ_TOKEN}"
},
"metadata": {
"inputs": [
{
"id": "LOGFIRE_READ_TOKEN",
"label": "Logfire Read Token",
"description": "A Logfire read token scoped to the project whose telemetry you want to query. Create one under your Logfire project's Settings > Read Tokens.",
"type": "text",
"required": true,
"secret": true,
"placeholder": "pylf_v1_****************************",
"obtain": {
"url": "https://logfire.pydantic.dev/",
"instructions": "1. Open your project in Logfire\n2. Go to Settings > Read Tokens\n3. Click 'Create read token'\n4. Copy the generated token (starts with pylf_v1_)",
"button_label": "Create Read Token"
}
}
]
}
}Categories
Tags
Supported AI Clients
The Logfire (uvx) MCP server works with all MCP-compatible AI clients through McpMux:
Related MCP Servers
Grafana (Docker)
Search dashboards, query Prometheus and Loki datasources, manage alerts, and investigate incidents on any Grafana instance (self-hosted or Grafana Cloud) via Docker.
Sentry (Local)
Query and manage Sentry issues, errors, performance data, and project settings locally via npx. Supports AI-powered search with your own LLM API key.
Sentry (Remote)
Query and manage Sentry issues, errors, performance data, and project settings through Sentry's hosted remote MCP server. No local setup required.
Sentry (Self-Hosted)
Query and manage issues, errors, and performance data on your self-hosted Sentry instance. Runs locally via npx with a custom Sentry host.
Axiom (npx)
Query and manage Axiom datasets for log analysis and observability. Execute APL queries, list datasets, and ingest events.
Cloudflare Observability
Query Workers logs, analyze invocation metrics, and debug errors across your Cloudflare Workers through Cloudflare's official Observability MCP server with OAuth.
Install Logfire (uvx) with McpMux
One-click install from the McpMux desktop app. Auto-configures for Cursor, Claude, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible client.