NestDaddy

Langfuse API

io.github.rodrigorjsf/langfuse-api-mcp ยท v0.2.0

Langfuse public API (Cloud and self-hosted): traces, prompts, datasets and gated writes.

Connect Runs on your machine

Terminal
claude mcp add langfuse-api-mcp -e LANGFUSE_PUBLIC_KEY=<LANGFUSE_PUBLIC_KEY> -e LANGFUSE_SECRET_KEY=<LANGFUSE_SECRET_KEY> -e LANGFUSE_BASE_URL=<LANGFUSE_BASE_URL> -e LANGFUSE_CA_CERT=<LANGFUSE_CA_CERT> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "langfuse-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "<LANGFUSE_PUBLIC_KEY>",
        "LANGFUSE_SECRET_KEY": "<LANGFUSE_SECRET_KEY>",
        "LANGFUSE_BASE_URL": "<LANGFUSE_BASE_URL>",
        "LANGFUSE_CA_CERT": "<LANGFUSE_CA_CERT>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "langfuse-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "<LANGFUSE_PUBLIC_KEY>",
        "LANGFUSE_SECRET_KEY": "<LANGFUSE_SECRET_KEY>",
        "LANGFUSE_BASE_URL": "<LANGFUSE_BASE_URL>",
        "LANGFUSE_CA_CERT": "<LANGFUSE_CA_CERT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "langfuse-api-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "<LANGFUSE_PUBLIC_KEY>",
        "LANGFUSE_SECRET_KEY": "<LANGFUSE_SECRET_KEY>",
        "LANGFUSE_BASE_URL": "<LANGFUSE_BASE_URL>",
        "LANGFUSE_CA_CERT": "<LANGFUSE_CA_CERT>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
LANGFUSE_PUBLIC_KEY
Required, secret
The project's public key (pk-lf-...).
LANGFUSE_SECRET_KEY
Required, secret
The project's secret key (sk-lf-...).
LANGFUSE_BASE_URL
Required
Your Langfuse host, e.g. https://cloud.langfuse.com; https only, http only for localhost.
LANGFUSE_CA_CERT
Optional
Optional PEM file with your corporate or private CA, added to the system trust store.

Details

Package[email protected] (NPM, stdio)
Packageghcr.io/rodrigorjsf/langfuse-api-mcp:0.2.0 (OCI, stdio)
Packagehttps://github.com/rodrigorjsf/langfuse-api-mcp/releases/download/v0.2.0/langfuse-mcp_0.2.0.mcpb (MCPB, stdio)
First published15 Oct 2026
Last updated15 Oct 2026
Registry nameio.github.rodrigorjsf/langfuse-api-mcp

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.