Logfire Logo

Logfire

Official

Enables AI systems to query and analyze OpenTelemetry traces and metrics through Logfire's API, prov...

656 views
1 installs
Updated Nov 22, 2025
Not audited
Enables AI systems to query and analyze OpenTelemetry traces and metrics through Logfire's API, providing tools for finding exceptions, investigating errors, and running custom SQL queries against observability data with automatic authentication.
  1. Log in to Pydantic Logfire

  2. Navigate to Your Project's "Read Tokens" Section

    • Ensure you are in the correct project for which you want to give MCP server access.
    • Under project settings, find the "Read Tokens" section.
  3. Create a New Read Token

    • Click the button to create a new read token.
    • (Optional) Give the token a name or description to help you remember its purpose.
    • Copy the newly generated token. You will need this token for the next step.
  4. Fill in the FastMCP Connection Interface

    • Click the "Install Now" button for the Pydantic Logfire MCP Server integration.
    • In the FastMCP connection interface, fill in the required ENV value:
      • For LOGFIRE_READ_TOKEN, paste the read token you copied from Pydantic Logfire.
    • (Optional) If you need to specify a different Logfire API base URL (for non-default regions or self-hosted instances), fill in the LOGFIRE_BASE_URL as provided by your API host.
  5. Save and Finish Installation

    • Submit the configuration in the FastMCP interface.
    • The Pydantic Logfire MCP server is now connected and can analyze your OpenTelemetry traces and metrics.

Note: Each read token is specific to a project. If you want to connect multiple projects, repeat these steps for each project.

How to Install Logfire

Install Logfire MCP server with one click through FastMCP. Choose your preferred AI development tool below:

Claude Desktop

Click "Claude Desktop" in Quick Start

Cursor IDE

Click "Cursor IDE" in Quick Start

VS Code

Click "VS Code" in Quick Start

Logfire is an officially maintained MCP server, verified by the FastMCP team.

Alternatives to Logfire

Looking for similar MCP servers? Browse other servers in the same categories on FastMCP, or check out the similar servers listed above.

Quick Start

View on GitHub

More for Monitoring

View All →

More for Analytics and Data

View All →

Report Issue

Thank you! Your issue report has been submitted successfully.

Stay ahead of the MCP ecosystem

Get the top new MCP servers, trending tools, and dev tips delivered weekly. Free, no spam, unsubscribe anytime.

Join 2,847 developers. We send one email per week.