# Langfuse

CreateWithAI Hub page: https://createwithaihub.com/evals-observability/langfuse
Latest version of this file: https://createwithaihub.com/evals-observability/langfuse.md

- Type: Tool · Category: Evals & Observability
- Publisher: Langfuse (ClickHouse)
- Pricing: Free plan plus paid plans · License: MIT
- Runs on: Web, Docker / self-hosted

Open-source LLM engineering platform for tracing, prompt management, evals and datasets, self-hosted or in the cloud.

Langfuse is an open-source platform for observing and evaluating LLM apps and agents. It records traces over OpenTelemetry with token and cost tracking, manages versioned prompts with a playground, and runs evaluations with LLM-as-a-judge, code evaluators, user feedback and annotation queues on datasets and experiments. It can be self-hosted with Docker Compose or Kubernetes, or used on Langfuse Cloud with a free Hobby plan. The README states Langfuse has been part of ClickHouse since January 2026.

Useful for: Tracing a LangChain agent in production, tracking its token costs per user and scoring answers with an LLM judge.

## Key features

- OpenTelemetry-based tracing with sessions, user tracking and token/cost tracking
- Prompt management with versioning, caching and an LLM Playground
- Evals: LLM-as-a-judge, code evaluators, user feedback, annotation queues, datasets and experiments
- Python and JS/TS SDKs plus 100+ integrations incl. OpenAI, LangChain/LangGraph, LlamaIndex, Vercel AI SDK and LiteLLM
- Built-in MCP server (https://cloud.langfuse.com/api/public/mcp) for prompts and observations
- Langfuse Cloud: Hobby free (50k units/month, 30-day access), Core $29/month, Pro $199/month

## Connection

- What it does: Tracing & logging, Evals, Prompt management, Cost & usage tracking, Production monitoring
- Hosting: Cloud, Self-hostable
- Integrates via: SDK, OpenTelemetry, Proxy / gateway

## Install steps from the official documentation

Python SDK:

```
pip install langfuse
```

Self-host (Docker Compose):

```
git clone --depth=1 https://github.com/langfuse/langfuse.git && cd langfuse && docker compose up
```

MCP (Claude Code):

```
claude mcp add --transport http langfuse https://cloud.langfuse.com/api/public/mcp --header "Authorization: Basic {your-base64-token}"
```

## Limitations

- Code in the ee folders (project-level RBAC, audit logs, SCIM, data retention, admin APIs) needs a commercial Enterprise license
- Hobby cloud plan: 50k units per month, 2 users, 30 days of data access
- AI Gateway is in beta

## Official links

- Website: https://langfuse.com
- Source repository: https://github.com/langfuse/langfuse
- Documentation: https://langfuse.com/docs
- Source: https://github.com/langfuse/langfuse (README: features, deployment options, integrations, ClickHouse note; LICENSE MIT except ee folders (ee/LICENSE Enterprise); not archived)
- Source: https://langfuse.com/pricing (Hobby free 50k units, Core $29, Pro $199, Teams add-on $300, Enterprise $2499; unit definition)
- Source: https://langfuse.com/pricing-self-host (Open Source free with core features and unlimited usage; Enterprise-only features)
- Source: https://langfuse.com/docs/api-and-data-platform/features/mcp-server (Built-in MCP server endpoints, auth and Claude Code command)
- Source: https://langfuse.com/docs/observability/sdk/overview (SDK install commands)
