Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Observability - official Langfuse server

Langfuse MCP server

Native, authenticated MCP server built into Langfuse that lets agents read and write project data: prompts, observations, datasets, scores, evaluators, annotation queues, dashboards and metrics. Each project-scoped API key limits access to one project. Langfuse hosts it at https://cloud.langfuse.com/api/public/mcp with API key auth.

Last verified 15 tools4 sources

Install

Terminal
# Langfuse Cloud (EU)
claude mcp add --transport http langfuse https://cloud.langfuse.com/api/public/mcp \
       --header "Authorization: Basic {your-base64-token}"
TOML
[mcp_servers.langfuse]
url = "https://cloud.langfuse.com/api/public/mcp"
http_headers = { "Authorization" = "Basic {your-base64-token}" }
JSON
{
  "mcp": {
    "servers": {
      "langfuse": {
        "url": "https://cloud.langfuse.com/api/public/mcp",
        "headers": {
          "Authorization": "Basic {your-base64-token}"
        }
      }
    }
  }
}

Tools

getPrompt
Fetch a specific prompt by name with optional label or version
listPrompts
List and filter prompts in the project
createTextPrompt
Create a new text prompt version
createChatPrompt
Create a new chat prompt version
updatePromptLabels
Update labels for a specific prompt version
listObservations
Find and review observations such as generations, spans, agent steps and tool calls (requires v4)
getObservation
Get details for a single observation by ID (requires v4)
queryMetrics
Answer analytics questions on usage, cost, latency, errors and scores (requires v4)
listDatasets
List datasets of input and expected-output examples
upsertDatasetItem
Upsert one example in a dataset
listScores
Find quality, evaluation or feedback scores
createScore
Create one score in the current project
listEvaluators
List LLM-as-a-judge, code and decision-model evaluators
createEvaluator
Create a new evaluator
listDashboards
List editable dashboards in the current project

As documented on October 17, 2026. A running server reports its current list through tools/list.

Notes and caveats

FAQ

What does the Langfuse MCP server do?

Native, authenticated MCP server built into Langfuse that lets agents read and write project data: prompts, observations, datasets, scores, evaluators, annotation queues, dashboards and metrics. Each project-scoped API key limits access to one project. The vendor documents 15 tools, including getPrompt, listPrompts, createTextPrompt and createChatPrompt.

How do I add the Langfuse MCP server to Claude Code?

Langfuse documents a Claude Code config; copy it from the Claude Code section of this page. Snippets for Codex and Cursor are there too.

Does the Langfuse MCP server need authentication?

Yes, API key. Transport: Streamable HTTP. Status: GA, last checked October 17, 2026.

Sources

Last verified against 4 Langfuse pages, then re-checked independently.

Newsletter

New MCP servers, the week they ship

One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.