LocalFree server, account needed

Langfuse MCP server

avivsinai/langfuse-mcp

Query Langfuse traces, debug exceptions, analyze sessions and manage prompts for LLM applications.

112 GitHub stars29 forks

Install Langfuse in Claude Code

Claude Code
claude mcp add avivsinai-langfuse -e LANGFUSE_PUBLIC_KEY=... -e LANGFUSE_SECRET_KEY=... -- uvx langfuse-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "avivsinai-langfuse": {
      "command": "uvx",
      "args": [
        "langfuse-mcp"
      ],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "...",
        "LANGFUSE_SECRET_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Langfuse MCP server do?

Query Langfuse traces, debug exceptions, analyze sessions and manage prompts for LLM applications.

Is the Langfuse MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Langfuse run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Langfuse to Claude Code?

Run: claude mcp add avivsinai-langfuse -e LANGFUSE_PUBLIC_KEY=... -e LANGFUSE_SECRET_KEY=... -- uvx langfuse-mcp

More monitoring & observability MCP servers

View all