Langfuse MCP

🔒 Security & Mode System: - Readonly mode by default - only read operations allowed - Readwrite mode with explicit opt-in for data modification - Write tool prefixing (write_create_dataset…

Local serverstdio

What is the Langfuse MCP Server?

Langfuse MCP is an MCP project maintained in the therealsachin/langfuse-mcp repository. The maintainer describes its purpose as “🔒 Security & Mode System: - Readonly mode by default - only read operations allowed - Readwrite mode with explicit opt-in for data modification -…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @therealsachin/langfuse-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, LANGFUSE_BASEURL. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Langfuse MCP Server

{
  "mcpServers": {
    "langfuse": {
      "command": "npx",
      "args": [
        "@therealsachin/langfuse-mcp"
      ],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "YOUR_LANGFUSE_PUBLIC_KEY",
        "LANGFUSE_SECRET_KEY": "YOUR_LANGFUSE_SECRET_KEY",
        "LANGFUSE_BASEURL": "https://us.cloud.langfuse.com"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
LANGFUSE_PUBLIC_KEYDeclared in the maintainer’s client configuration.Check documentation
LANGFUSE_SECRET_KEYDeclared in the maintainer’s client configuration.Check documentation
LANGFUSE_BASEURLDeclared in the maintainer’s client configuration.Check documentation