Langfuse MCP server for accessing and analyzing telemetry data via natural language
Langfuse API MCP Server
Published by rodrigorjsfLangfuse public API (Cloud and self-hosted): traces, prompts, datasets and gated writes.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.2.0
- SOURCE CHECKED
- Nov 29, 2026
Quick answers
How do I add Langfuse API MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'LANGFUSE_PUBLIC_KEY=<your-langfuse-public-key>' --env 'LANGFUSE_SECRET_KEY=<your-langfuse-secret-key>' --env 'LANGFUSE_BASE_URL=<your-langfuse-base-url>' --transport stdio langfuse-api -- npx -y langfuse-api-mcpReplace the <your-…> placeholder with your own LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY and LANGFUSE_BASE_URL.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"langfuse-api": {
"command": "npx",
"args": [
"-y",
"langfuse-api-mcp"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<your-langfuse-public-key>",
"LANGFUSE_SECRET_KEY": "<your-langfuse-secret-key>",
"LANGFUSE_BASE_URL": "<your-langfuse-base-url>"
}
}
}
}Replace the <your-…> placeholder with your own LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY and LANGFUSE_BASE_URL.
CodexCommand
Run this in your terminal:
codex mcp add langfuse-api --env 'LANGFUSE_PUBLIC_KEY=<your-langfuse-public-key>' --env 'LANGFUSE_SECRET_KEY=<your-langfuse-secret-key>' --env 'LANGFUSE_BASE_URL=<your-langfuse-base-url>' -- npx -y langfuse-api-mcpReplace the <your-…> placeholder with your own LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY and LANGFUSE_BASE_URL.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"langfuse-api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"langfuse-api-mcp"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<your-langfuse-public-key>",
"LANGFUSE_SECRET_KEY": "<your-langfuse-secret-key>",
"LANGFUSE_BASE_URL": "<your-langfuse-base-url>"
}
}
}
}Replace the <your-…> placeholder with your own LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY and LANGFUSE_BASE_URL.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"langfuse-api": {
"command": "npx",
"args": [
"-y",
"langfuse-api-mcp"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<your-langfuse-public-key>",
"LANGFUSE_SECRET_KEY": "<your-langfuse-secret-key>",
"LANGFUSE_BASE_URL": "<your-langfuse-base-url>"
}
}
}
}Replace the <your-…> placeholder with your own LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY and LANGFUSE_BASE_URL.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use Langfuse API MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does Langfuse API MCP Server need an API key?
To run it on your computer, set LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY and LANGFUSE_BASE_URL first, with values from the publisher.
Is Langfuse API MCP Server official?
It's published by rodrigorjsf. The Official MCP Registry accepts names under io.github.rodrigorjsf only from the GitHub account or organisation rodrigorjsf. We last checked its listing on Nov 29, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · langfuse-api-mcp@0.2.0oci · ghcr.io/rodrigorjsf/langfuse-api-mcp:0.2.0mcpb · https://github.com/rodrigorjsf/langfuse-api-mcp/releases/download/v0.2.0/langfuse-mcp_0.2.0.mcpb