Langfuse MCP
by hugoles
TypeScript MCP server exposing Langfuse Public API for querying traces, observations, sessions, scores, prompts, datasets, and metrics.
Install Langfuse MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"hugoles-langfuse-mcp": {
"command": "npx",
"args": [
"-y",
"langfuse-mcp"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
npx -y langfuse-mcpNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1mo ago.
Overview
Use cases
- Query trace details including full observation trees
- List recent traces filtered by error level or user
- Summarize daily generation costs broken down by model
- Fetch specific prompt versions or labels
- Retrieve dataset items and evaluation run details
Key features
- Read-only tools for traces, observations, sessions, and scores
- Prompt management with version and label filtering
- Dataset and dataset run listing and retrieval
- Custom metrics queries and daily aggregated metrics
- Model and project listing with cost and token attribution
- Health check endpoint for credential validation
Tools27
What Langfuse MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 10d ago via OSV.dev · langfuse-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
From the project README
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Langfuse MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/hugoles-langfuse-mcp)<a href="https://allmcps.com/mcp/hugoles-langfuse-mcp"><img src="https://allmcps.com/api/badge/hugoles-langfuse-mcp?style=directory" alt="Langfuse MCP on AllMCPs" /></a>