AUTOMATIONSWITCH
CommunityMonitoring

Langfuse MCP

by avivsinai (community)

MCP server for Langfuse. Query LLM trace data, sessions, and observations from inside agents for debugging and observability. 85 GitHub stars and 16 commits on main in the last 30 days.

85·6 tools·Released FEB 2026·MIT
npx -y langfuse-mcp
Share:

MCP server for Langfuse. Query LLM trace data, sessions, observations, and prompts from inside agents. 85 stars and 16 commits on main in the last 30 days.

Reviewed by M. Nouriel · MAY 2026

INSTALL THIS SERVER

Requires authenticationLANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY environment variables. Generate keys at the Langfuse dashboard.
{ "mcpServers": { "langfuse": { "command": "npx", "args": [ "-y", "langfuse-mcp" ], "env": { "LANGFUSE_PUBLIC_KEY": "pk-lf-...", "LANGFUSE_SECRET_KEY": "sk-lf-...", "LANGFUSE_HOST": "https://cloud.langfuse.com" } } } }
PrereqNPM: `langfuse-mcp`. Generate keys in the Langfuse dashboard. Set LANGFUSE_HOST for self-hosted Langfuse instances. Path: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS).
{ "mcpServers": { "langfuse": { "command": "npx", "args": [ "-y", "langfuse-mcp" ], "env": { "LANGFUSE_PUBLIC_KEY": "pk-lf-...", "LANGFUSE_SECRET_KEY": "sk-lf-...", "LANGFUSE_HOST": "https://cloud.langfuse.com" } } } }
{ "mcpServers": { "langfuse": { "command": "npx", "args": [ "-y", "langfuse-mcp" ], "env": { "LANGFUSE_PUBLIC_KEY": "pk-lf-...", "LANGFUSE_SECRET_KEY": "sk-lf-...", "LANGFUSE_HOST": "https://cloud.langfuse.com" } } } }
{ "mcpServers": { "langfuse": { "command": "npx", "args": [ "-y", "langfuse-mcp" ], "env": { "LANGFUSE_PUBLIC_KEY": "pk-lf-...", "LANGFUSE_SECRET_KEY": "sk-lf-...", "LANGFUSE_HOST": "https://cloud.langfuse.com" } } } }
{ "mcpServers": { "langfuse": { "command": "npx", "args": [ "-y", "langfuse-mcp" ], "env": { "LANGFUSE_PUBLIC_KEY": "pk-lf-...", "LANGFUSE_SECRET_KEY": "sk-lf-...", "LANGFUSE_HOST": "https://cloud.langfuse.com" } } } }

6 TOOLS AVAILABLE

list_traces
List recent Langfuse traces with filters
Read
get_trace
Retrieve a Langfuse trace with all observations
Read
list_sessions
List Langfuse sessions
Read
list_observations
List observations within a trace
Read
get_prompt
Retrieve a Langfuse-managed prompt
Read
list_scores
List evaluation scores attached to traces
Read

OUR ASSESSMENT

Strengths
  • 85 GitHub stars.
  • 16 commits on main in the last 30 days.
  • MIT license.
  • Active community development.
  • Self-hosted Langfuse and Langfuse Cloud both supported.
  • Pairs with arize-phoenix-mcp for full LLM observability coverage.
Weaknesses
  • Langfuse account or self-hosted instance required.
  • Tool surface is read-only; trace creation runs through the Langfuse SDK, not this MCP.
  • Community-maintained; no Langfuse vendor stamp.
Security Notes

Langfuse keys are project-scoped. Use a dedicated key per agent context. Trace data may contain prompts, completions, and PII; review the agent prompt path before mounting in production.

Best For

Teams using Langfuse for LLM observability who want agents to inspect their own traces; debugging-heavy agent workflows where the agent reads its own past behaviour; evaluation-driven development where scores feed back into agent decisions.

TECHNICAL DETAILS

Language
typescript
Transport
stdio
Clients
Claude DesktopClaude CodeCursorVS CodeWindsurf
License
MIT
GitHub
npm
langfuse-mcp
Last Release
langfuse-mcp (npm latest)MAY 6, 2026
First Released
FEB 1, 2026

ADOPTION METRICS

// GitHub Stars
85

// Reading this85 stars on avivsinai/langfuse-mcp. 16 commits on main in the last 30 days.

// Popularity Rank
#3
Globally · #3 in Monitoring

// Reading thisPairs with Arize Phoenix, Datadog, Grafana, Prometheus, Sentry, PagerDuty, Axiom, Rollbar in monitoring. Adds LLM-specific observability slot.

SOURCES & VERIFICATION

We don't take any single directory's word for it. Before scoring, we cross-reference 4 public MCP sources, install the server ourselves against the clients we cover, and record when we last re-verified.

01
Discovered
Manual submission
First indexed MAY 6, 2026
02
Cross-referenced
4 directories
PulseMCP, MCP.so, Glama, Smithery
03
Verified against
Claude Desktop, Cursor
Installed and tested across clients
04
Last re-checked
MAY 6, 2026
Weekly re-verification
// How other directories see it

The same server, 4 different lenses. We reconcile these signals into our editorial score, which is why our number sometimes diverges from a directory-aggregate star count.

SourceTheir ratingTheir star countTheir downloadsLast synced
AutomationSwitch This page4.3editorial85MAY 6, 2026
PulseMCP— unratedunavailableunavailableMAY 6, 2026
MCP.so— unratedunavailableunavailableMAY 6, 2026
Glama— unratedunavailableunavailableMAY 6, 2026
Smithery— unratedunavailableunavailableMAY 6, 2026

// Counts are directory-reported; we don't adjust them. Discrepancies usually come from different snapshot times or star-caching.

OTHER MONITORING MCP SERVERS

Vendor4.5

Grafana MCP Server

Grafana Labs

Vendor-official Grafana MCP server from Grafana Labs. Covers dashboards (search, get, summary, JSONPath extraction, patch), datasources (Prometheus, Loki, ClickHouse, CloudWatch, Elasticsearch), and direct query execution (PromQL, LogQL, InfluxQL/Flux, ClickHouse SQL).

8 tools2,929
Official4.3

Axiom MCP

Axiom

Official Axiom MCP server. Query Axiom datasets via APL (Axiom Processing Language) and inspect dashboards, monitors, and notifiers. 12 stars and 30 commits on main in the last 30 days.

7 tools12
Community4.2

Prometheus MCP

pab1it0

Prometheus PromQL query MCP with both instant and range queries, metric discovery, and target inspection. 429 GitHub stars and 9 commits on main in the last 30 days. Self-hosted, runs against any Prometheus endpoint.

6 tools429
Official4.2

Rollbar MCP

Rollbar

Official Rollbar MCP server: error tracking, occurrence triage, deploy tracking, and item lifecycle for AI agents. 25 stars and 13 commits on main in the last 30 days.

7 tools25
Official4.1

PagerDuty MCP

PagerDuty

Official PagerDuty MCP server for incident management, on-call schedules, services, escalation policies, and event API integration. 66 GitHub stars and 5 commits on main in the last 30 days. Apache-2.0.

8 tools66
Official4

Datadog MCP

Datadog

Official Datadog managed MCP server covering logs, metrics, traces, incidents, and dashboards. HTTP-only transport, hosted by Datadog with regional endpoints (US1, EU, etc.). 6 commits on main in the last 30 days. Stars are modest (35) reflecting recent launch.

7 tools35
// Get in touch

DISCUSS YOUR
MCP REQUIREMENTS.

Evaluating a server, scoping an internal deployment, or working out whether MCP is the right fit at all. Start the conversation and we will point you at the right piece of the ecosystem.

Discuss Your MCP Requirements →