Langfuse MCP server for accessing and analyzing telemetry data via natural language
registry version 0.14.0
Python
uvx langfuse-mcpPython
uvx langfuse-mcp@0.14.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"langfuse-mcp": {
"command": "uvx",
"args": [
"langfuse-mcp"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>"
}
}
}
}{
"mcpServers": {
"langfuse-mcp": {
"command": "uvx",
"args": [
"langfuse-mcp@0.14.0"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env LANGFUSE_PUBLIC_KEY=<YOUR_LANGFUSE_PUBLIC_KEY> --env LANGFUSE_SECRET_KEY=<YOUR_LANGFUSE_SECRET_KEY> langfuse-mcp -- uvx langfuse-mcp
claude mcp add --env LANGFUSE_PUBLIC_KEY=<YOUR_LANGFUSE_PUBLIC_KEY> --env LANGFUSE_SECRET_KEY=<YOUR_LANGFUSE_SECRET_KEY> langfuse-mcp -- uvx langfuse-mcp@0.14.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"langfuse-mcp": {
"command": "uvx",
"args": [
"langfuse-mcp"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>"
}
}
}
}{
"mcpServers": {
"langfuse-mcp": {
"command": "uvx",
"args": [
"langfuse-mcp@0.14.0"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"langfuse-mcp": {
"command": "uvx",
"args": [
"langfuse-mcp"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>"
}
}
}
}{
"servers": {
"langfuse-mcp": {
"command": "uvx",
"args": [
"langfuse-mcp@0.14.0"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"langfuse-mcp": {
"command": "uvx",
"args": [
"langfuse-mcp"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>"
}
}
}
}{
"mcpServers": {
"langfuse-mcp": {
"command": "uvx",
"args": [
"langfuse-mcp@0.14.0"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
LANGFUSE_PUBLIC_KEY required secret — Langfuse public API keyLANGFUSE_SECRET_KEY required secret — Langfuse secret API keyLANGFUSE_HOST — Langfuse API base URL (Cloud or self-hosted)LANGFUSE_MCP_READ_ONLY — Set true to disable write tools⭐ 113 stars · 最近更新于 32 天前 · MIT license
Distributed as Python, listed under Developer Tools. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/avivsinai/langfuse-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/langfuse-mcp/)
HTML
<a href="https://mcpnav.net/server/langfuse-mcp/"><img src="https://mcpnav.net/badge/langfuse-mcp.svg" alt="Listed on MCPNav" height="20"></a>