Skip to content
appsgit

Langfuse MCP

Langfuse MCP is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Langfuse MCP server for accessing and analyzing telemetry data via natural language. It has 113 GitHub stars, is released under the MIT license and runs locally with uvx langfuse-mcp.

github.com/avivsinai/langfuse-mcp (opens in a new tab)

Install Langfuse MCP

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "langfuse-mcp": {
      "command": "uvx",
      "args": [
        "langfuse-mcp"
      ],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "your-value",
        "LANGFUSE_SECRET_KEY": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env LANGFUSE_PUBLIC_KEY=your-value --env LANGFUSE_SECRET_KEY=your-value --transport stdio langfuse-mcp -- uvx langfuse-mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "langfuse-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "langfuse-mcp"
      ],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "your-value",
        "LANGFUSE_SECRET_KEY": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "langfuse_public_key",
      "description": "LANGFUSE_PUBLIC_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "langfuse_secret_key",
      "description": "LANGFUSE_SECRET_KEY",
      "password": true
    }
  ],
  "servers": {
    "langfuse-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "langfuse-mcp"
      ],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "${input:langfuse_public_key}",
        "LANGFUSE_SECRET_KEY": "${input:langfuse_secret_key}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
LANGFUSE_PUBLIC_KEYsecretYesLangfuse public API key
LANGFUSE_SECRET_KEYsecretYesLangfuse secret API key
LANGFUSE_HOSTNoLangfuse API base URL (Cloud or self-hosted)
LANGFUSE_MCP_READ_ONLYNoSet true to disable write tools

About Langfuse MCP

Local MCP server and skill for Langfuse. Debug traces, sessions, and exceptions from Claude Code, Codex, Cursor, or any MCP client.

  • genai
  • langfuse
  • mcp
  • mcp-server
  • agent-skills
  • claude-code
  • codex
  • ai-agents
  • developer-tools
  • llm

FAQ

Langfuse MCP FAQ

Still curious? Email info@appsgit.com.

What is Langfuse MCP?

Langfuse MCP is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Langfuse MCP server for accessing and analyzing telemetry data via natural language. It has 113 GitHub stars, is released under the MIT license and runs locally with uvx langfuse-mcp. The source code is at github.com/avivsinai/langfuse-mcp.

How do I install the Langfuse MCP MCP server?

Add the command uvx langfuse-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Langfuse MCP free?

The server is open source under the MIT license, so running it is free. It needs credentials (LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY) for the service it connects to, which may require a paid account.

Is Langfuse MCP actively maintained?

The most recent commit was on Sep 25, 2026. The latest release is v0.12.1, published Sep 25, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.