py

pydantic/logfire-mcp

๐ŸŽ–๏ธ ๐Ÿ โ˜๏ธ Provides access to OpenTelemetry traces and metrics through Logfire

#OpenTelemetry#Logfire#Monitoring
Publisherpydantic/logfire-mcp
Submitted date4/19/2025

Overview: Logfire MCP Server

Title

Logfire MCP Server

How to Use

The Logfire MCP Server enables LLMs to access OpenTelemetry traces and metrics stored in Logfire. It provides tools for analyzing distributed traces, querying telemetry data, and retrieving exception details.

Key Features

  • Exception Analysis: Tools like find_exceptions and find_exceptions_in_file help identify and analyze exceptions in traces.
  • Custom SQL Queries: Run arbitrary SQL queries on OpenTelemetry data using arbitrary_query.
  • Schema Retrieval: Use get_logfire_records_schema to fetch the OpenTelemetry schema for custom queries.
  • Client Integration: Supports configuration with popular MCP clients like Cursor, Claude Desktop, and Cline.
  • Customizable Base URL: Option to connect to different Logfire API instances.

Use Cases

  • Debugging: Quickly identify and analyze exceptions in application traces.
  • Performance Monitoring: Query metrics and traces to detect performance bottlenecks.
  • Custom Analysis: Run tailored SQL queries to extract specific insights from telemetry data.
  • LLM Integration: Enable AI assistants to fetch and interpret trace data for troubleshooting.

Visit More

View All