MCP server · Analytics
Langfuse MCP server
by hugoles
Lets your AI look up your Langfuse traces, scores, prompts, and datasets while you chat.

This is a small helper that connects your AI assistant to Langfuse, the tool teams use to watch how their AI apps behave. Once it is set up, you can ask your assistant questions about your Langfuse data in normal words instead of clicking around the dashboard. It is handy for anyone who checks traces, scores, or prompts and wants quick answers without leaving the chat.
What is an MCP server? The 30-second version
On its own, your AI can only chat with you. An MCP server is a small helper program that gives your AI a new skill or a connection to another app. This one connects your AI to Langfuse, so it can look up your traces, sessions, scores, prompts, and datasets for you. You just ask a question, and the helper fetches the answer from Langfuse.
What this MCP server does
You ask your AI something about your Langfuse data, like why a trace failed or what a prompt says. The AI passes that request to this helper program. The helper talks to Langfuse using your project keys and pulls back the matching traces, scores, prompts, or numbers. Then the AI reads that data and explains it to you in the chat. Everything it does is read only, so it looks things up but never changes them.
Click to zoomWhat you can do with it
- List recent traces, filtered by level, user, or time
- Walk through a single trace and all of its observations
- Show the scores a user or session received
- Fetch a prompt by name, version, or label
- List datasets and their evaluation runs
- Summarize daily cost, latency, or token usage
- Check that your Langfuse keys work with a health ping
Try asking your AI
- “List the 5 most recent traces with level ERROR.”
- “Show me trace abc123 with all its observations.”
- “What scores did user alice@example.com receive this week?”
- “Get the production version of prompt customer-support.”
What it gives back to you
You get back plain answers in the chat: lists of traces or sessions, a breakdown of a single trace, score values, prompt text, or daily numbers for cost and usage. The AI usually summarizes what it found and can show the raw details if you ask. Nothing is written back to Langfuse, so your data stays as it is.
Before you start
What you need
- Node.js 20 or newer on your computer
- A Langfuse project with API keys (found in Settings, then API Keys)
- Your Langfuse base address, like https://cloud.langfuse.com for EU or https://us.cloud.langfuse.com for US
- An MCP client such as the Claude desktop app, Claude Code, Cursor, Cline, Continue, or Windsurf
Good to know
It can read your Langfuse project data, so only connect it to a project whose traces, prompts, and scores you are comfortable sharing with your AI assistant.
Install it with your AI
Add Langfuse MCP server to your AI, no technical skills needed
You don't install anything by hand. You copy one prompt, paste it into an AI that can work on your computer, and it checks, installs and connects the server for you, asking you when it needs something.
Sign in to get the install prompt
Members get a ready-made prompt that lets the Claude desktop app check Langfuse MCP server, install it and connect it for them, step by step. You don't need any technical skills: you copy, paste and answer a few questions. Your connected AI can also find and install any of the 4,066 MCP servers here for you.
Who it's for
People who work with AI apps and check Langfuse for traces, scores, prompts, or costs, such as support engineers, product folks, and developers who prefer asking questions over clicking dashboards.





