Logfire

•

Enables querying Logfire telemetry data through a Model Context Protocol server or a command-line interface.

This project provides a Go-based Model Context Protocol (MCP) server and a command-line interface for direct interaction with Logfire's telemetry data. It allows users to execute DataFusion SQL queries against their Logfire records and metrics, making it a powerful tool for fetching and analyzing observability data. Designed with a shared-core architecture, it offers both a robust CLI for direct terminal queries and an MCP server to provide tools and schema resources specifically for AI assistants like pydantic-ai, Claude, and Gemini.

主な機能

01Provide an MCP server for AI assistants to interact with Logfire data and schema resources.
02Retrieve embedded schema documentation of Logfire tables and columns with zero network overhead.
030 GitHub stars
04Offer a command-line interface for direct terminal queries and data export in JSON or CSV format.
05Execute DataFusion SQL queries against Logfire telemetry data via a CLI or MCP server.
06Configurable via environment variables for API tokens, region, logging, and retry mechanisms.

ユースケース

01Programmatically fetching Logfire records and metrics for custom reporting, dashboards, or integrations.
02Enabling AI assistants to interact with Logfire for data analysis, retrieval, and automated insights.
03Querying Logfire telemetry data using DataFusion SQL from the command line for rapid analysis.