Logfire

Instrument Python services with Logfire to see what frameworks and database clients are doing during a run.

How to install Logfire

Set up Logfire for the development project and verify traces appear before asking the plugin to explain a request.

  1. Start Claude Code once to register Anthropic’s official marketplace. Then run the install command in your terminal.
  2. Open a new Claude Code session and check the Installed tab in /plugin before using plugin features.
Claude Code · Install in Claude Code
claude plugin install logfire@claude-plugins-official

Try a first task

Investigate a slow development request by tracing it through Python application code and database work. Record the longest span and verify it appears consistently in comparable test requests.

Package components

  • logfire-evals
  • logfire-infrastructure
  • logfire-instrumentation
  • logfire-query
  • logfire-setup
  • logfire-ui
  • /debug
  • /dev-session
  • /instrument
  • /query
  • logfire

Publisher references

logfire-evals Run offline Python (`pydantic_evals`) or Node.js (`logfire/evals`)

logfire-infrastructure Monitor hosts, Docker containers, Kubernetes clusters

logfire-instrumentation Add Pydantic Logfire observability to application code

logfire-query Query and analyze Logfire telemetry data — traces, logs, spans

logfire-setup Entry point for Pydantic Logfire — an observability, monitoring, and

Browse Plugins