Skip to main content

Langfuse API

io.github.rodrigorjsf/langfuse-api-mcp

v0.2.0Updated Oct 15, 2026stdio · MCPBstdio · npmstdio · Docker

Langfuse public API (Cloud and self-hosted): traces, prompts, datasets and gated writes.

Install

Needs 2 secrets. Replace 3 placeholders with your own values.

Run in your terminal. Replace 3 placeholders.

claude mcp add langfuse-api-mcp -e 'LANGFUSE_PUBLIC_KEY=<your-langfuse-public-key>' -e 'LANGFUSE_SECRET_KEY=<your-langfuse-secret-key>' -e 'LANGFUSE_BASE_URL=<your-langfuse-base-url>' -- npx -y [email protected]

Configuration

4 settings, 2 required secrets. Snippets use placeholders; keep real values out of shared config.

  • LANGFUSE_PUBLIC_KEY
    Env var· required· secret
    The project's public key (pk-lf-...).
  • LANGFUSE_SECRET_KEY
    Env var· required· secret
    The project's secret key (sk-lf-...).
  • LANGFUSE_BASE_URL
    Env var· required
    Your Langfuse host, e.g. https://cloud.langfuse.com; https only, http only for localhost.
  • LANGFUSE_CA_CERT
    Env var· optional
    Optional PEM file with your corporate or private CA, added to the system trust store.

Listed in the official MCP Registry since Oct 15, 2026. Mirrored daily; last checked Nov 26, 2026.