logfire-mcp

MCP.Pizza Chef: pydantic

Important: the downloadable package here no longer runs at all. Starting it prints a deprecation notice and exits, and the read-token setting it still accepts is ignored. Pydantic replaced it with a hosted server at logfire-us.pydantic.dev/mcp, or the matching EU address, which you sign in to instead of installing. Everything the old package did survives there: pull the recent exceptions from one file, ask free-form questions of your recorded traces, look up how the tables are laid out, and get a link into the Logfire web view.

Deprecated · package exits on start; replaced by hosted Logfire server
Coding
Data

Use This MCP server To

Find the last ten errors thrown by one file Ask why a request was slow last night Search my app's traces without opening a dashboard Get a link straight to a trace in the web view Check which errors spiked in the last hour

README

Pydantic Logfire MCP Server

Important

This repository is archived. The STDIO MCP server in this package is no longer being updated. We now have a remote MCP server, which allows us to iterate faster on tools and provide a better experience.

Read more in our documentation.

If you have any questions, reach out to us on Slack or email us at engineering@pydantic.dev.

logfire-mcp FAQ

Can I still install this package?
You can install it, but it will not run. It prints a notice pointing at the hosted server and exits straight away.
What should I use instead?
Pydantic's hosted Logfire server at logfire-us.pydantic.dev/mcp, or the EU address. Claude Code and Codex also have a one-command Logfire plugin that sets it up.
Do I need a paid account?
You need a Logfire account with your application already sending data to it. There is a free tier, and heavy usage is billed.
Can I use this to work out why a page is slow?
Yes — you can ask questions over your recorded traces and get the slow steps back, as long as your app already reports to Logfire.
Can it change anything in my app?
No, it only reads recorded traces and errors. Pydantic does warn that those records contain text your users wrote, so treat what comes back as evidence, not instructions.
How do I sign in to the hosted version?
Through Logfire's own sign-in flow from your app, so there is no long secret to paste into a config file by hand.
How far back can it look?
Thirty days at most, and each question also carries its own shorter look-back window that you choose.