By pydanticCreated 16 days ago
starstarstarstarstar

Access OpenTelemetry traces and metrics through Logfire.

Visit Project
Share this MCP:
X (Formerly Twitter)RedditblueskyThreads by Instagram

Category

Official MCP Server

Tags

OpentelemetryLogfireTelemetry AnalysisMcp Server

what is Logfire?

Logfire is an OpenTelemetry-compatible Model Context Protocol (MCP) server that enables LLMs to analyze application telemetry data (traces, metrics) and execute SQL queries on Logfire-stored observability data.

how to use Logfire?

  1. Install uv and obtain a Logfire read token from project settings
  2. Run the server with uvx logfire-mcp --read-token=YOUR_TOKEN
  3. Configure MCP clients (Cursor, Claude Desktop, Cline) with server settings
  4. Use JSON-formatted tool calls to interact with telemetry data

key features of Logfire?

  • Exception detection and analysis in traces
  • Custom SQL querying of telemetry data
  • Schema inspection for OpenTelemetry records
  • Integration with popular MCP clients
  • Time-range-limited data access (up to 7 days)

use cases of Logfire?

  1. Root cause analysis of service errors through trace inspection
  2. Service health monitoring via exception statistics
  3. Custom telemetry dashboards using SQL queries
  4. Debugging specific file-related issues in distributed systems

FAQ from Logfire?

  • What tools are available for data analysis?

The server provides find_exceptions, find_exceptions_in_file, arbitrary_query, and schema inspection tools.

  • How far back can I query data?

All tools support time ranges up to 7 days (specified in minutes via the age parameter).

  • Can I use Logfire with any LLM client?

It works with MCP-compatible clients like Cursor, Claude Desktop, and Cline (configuration examples provided).