Langfuse MCP Python MCP Server

A Model Context Protocol (MCP) server for comprehensive monitoring and observability of systems using Langfuse.

Local serverstdioPython

What is the Langfuse MCP Python MCP Server?

A Model Context Protocol (MCP) server for comprehensive monitoring and observability of systems using Langfuse.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
Statuscompleted
Sessionsession-xyz
Started2026-03-19T10:25:00Z
Latency1250ms
Tokens3420
Cost$0.0234

How to install the Langfuse MCP Python MCP Server

{
  "mcpServers": {
    "langfuse-monitor": {
      "command": "uvx",
      "args": [
        "--python",
        "3.11",
        "langfuse-mcp-python"
      ],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "YOUR_LANGFUSE_PUBLIC_KEY",
        "LANGFUSE_SECRET_KEY": "YOUR_LANGFUSE_SECRET_KEY",
        "LANGFUSE_HOST": "https://cloud.langfuse.com"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
LANGFUSE_PUBLIC_KEYDeclared in the maintainer’s client configuration.Check documentation
LANGFUSE_SECRET_KEYDeclared in the maintainer’s client configuration.Check documentation
LANGFUSE_HOSTDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Langfuse MCP Python to Prompts.”
  • “Use Langfuse MCP Python to Sessions.”
  • “Use Langfuse MCP Python to Datasets.”

Frequently asked questions

A Model Context Protocol (MCP) server for comprehensive monitoring and observability of systems using Langfuse. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.