$ timeahead_
← mcp scores
87
langfuse-mcp

A Model Context Protocol (MCP) server for Langfuse, enabling AI agents to query Langfuse trace data for enhanced debugging and observability

overview

What it does

Langfuse-mcp exposes Langfuse observability data—traces, observations, sessions, exceptions, prompts, datasets, and annotation queues—as Claude-callable tools. The server provides 37 tools grouped into nine categories, from basic trace queries and exception tracking to prompt management and dataset curation. Each tool returns structured data you can analyze, and you can selectively load only the tool groups you need via the --tools flag to keep token overhead minimal.

Who it's for

Backend engineers debugging production LLM applications, observability engineers triaging multi-tenant failures, and AI teams iterating on prompt templates and evaluation datasets. Anyone instrumenting applications with Langfuse for tracing and observability can query that data directly from Claude Code, without context switching to the Langfuse dashboard.

Common use cases

  • Query traces and observations to understand why a specific LLM call produced an unexpected output
  • Analyze session data across users to identify patterns in model behavior and common failure modes
  • Create or update prompt templates and manage test datasets without leaving Claude
  • Review exception logs and error counts to prioritize which components need refactoring
  • Upsert dataset items to maintain test suites and continuous evaluation workflows

Setup pitfalls

  • Requires LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY environment variables; the connection fails silently without valid credentials
  • For self-hosted Langfuse, must set LANGFUSE_HOST to your instance URL; defaults to cloud.langfuse.com if omitted
  • No CI verification is published; verify the server against your own Langfuse instance before relying on it in production
  • Write operations are enabled by default; use the --read-only flag to disable dataset, prompt, and queue mutations if safer read-only access is required
install
add to your claude desktop / cursor / windsurf mcp config:
{
  "mcpServers": {
    "langfuse": {
      "command": "uvx",
      "args": [
        "langfuse-mcp"
      ]
    }
  }
}
per-client install guide (claude desktop · cursor · windsurf · vscode · claude code) →
owner of this server? claim your listing to get a verified badgeclaim →
score breakdown
security (35%)100
freshness (25%)100
adoption (20%)60
quality (10%)100
trust (10%)50
score history (5 updates)
5/10/20265/14/2026
capabilities · what this server can do
tool list unavailable — permissions from static analysis·auth: API key
medium risk
● active   ○ not requested  ·  hover each badge for details
fs read fs write network exec eval secrets
why medium risk: fs read + fs write + secrets — requires access to credentials or environment secrets.
raw data
weekly downloads2k
github stars86
forks22
open issues1
license✓ present
readme length6667 chars
last commit4d ago
last updated4h ago
install verified✓ pass · 4d ago
score drop alerts
get notified by email when this server's score drops 5+ points