Langfuse public API (Cloud and self-hosted): traces, prompts, datasets and gated writes.
Connect Runs on your machine
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]
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
LANGFUSE_PUBLIC_KEYRequired, secret | The project's public key (pk-lf-...). |
LANGFUSE_SECRET_KEYRequired, secret | The project's secret key (sk-lf-...). |
LANGFUSE_BASE_URLRequired | Your Langfuse host, e.g. https://cloud.langfuse.com; https only, http only for localhost. |
LANGFUSE_CA_CERTOptional | Optional PEM file with your corporate or private CA, added to the system trust store. |
Details
| Package | [email protected] (NPM, stdio) |
| Package | ghcr.io/rodrigorjsf/langfuse-api-mcp:0.2.0 (OCI, stdio) |
| Package | https://github.com/rodrigorjsf/langfuse-api-mcp/releases/download/v0.2.0/langfuse-mcp_0.2.0.mcpb (MCPB, stdio) |
| First published | 15 Oct 2026 |
| Last updated | 15 Oct 2026 |
| Registry name | io.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.
