Langfuse MCP Server

AIstdiov0.3.0
Repository

MCP server for Langfuse, the open-source LLM observability and prompt management platform. Enables AI agents to fetch and render managed prompts, list prompt versions, and query traces, helping teams manage prompts and inspect LLM application behavior from AI-powered tools.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "langfuse": {
      "command": "npx",
      "args": [
        "-y",
        "@langfuse/mcp-server-langfuse"
      ],
      "env": {
        "LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
        "LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>",
        "LANGFUSE_HOST": "<YOUR_LANGFUSE_HOST>"
      }
    }
  }
}

Tools (2)

get_prompt

Fetch a managed prompt by name and compile it with the given variables.

{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the prompt in Langfuse"
    },
    "variables": {
      "type": "object",
      "description": "Variables to compile into the prompt template"
    }
  }
}

list_prompts

List available prompts and their versions in the Langfuse project.

{
  "type": "object",
  "properties": {
    "label": {
      "type": "string",
      "description": "Optional label filter (for example production)"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
Langfuse (@langfuse)
Repository
https://github.com/langfuse/mcp-server-langfuse
License
MIT
Version
0.3.0
Stars
233
Last Updated
July 9, 2026