Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Run automatically on Claude Code events. Claude doesn't decide.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
User IDLANGFUSE_USER_ID
Optional user identifier attached to every trace (shown as the user in Langfuse). Leave empty to omit.
string
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
CC_LANGFUSE_DEBUGWrite verbose logs to ~/.claude/state/langfuse_hook.log
booleandefault false
Langfuse Base URLLANGFUSE_BASE_URL
Langfuse host. Use https://us.cloud.langfuse.com for US, https://cloud.langfuse.com for EU, or your self-hosted URL.
stringdefault https://cloud.langfuse.com
Langfuse Public KeyLANGFUSE_PUBLIC_KEY
Your Langfuse project public key (pk-lf-...)
string
Langfuse Secret KeyLANGFUSE_SECRET_KEY
Your Langfuse project secret key (sk-lf-...)
Sensitivestring
Max characters per fieldCC_LANGFUSE_MAX_CHARS
Truncate captured inputs/outputs to this many characters
numberdefault 20000
State directoryCC_LANGFUSE_STATE_DIR
Optional. Absolute directory for the hook's state, lock and log files (default ~/.claude/state). Set a distinct value per CLAUDE_CONFIG_DIR installation to keep their state separate. Leave empty for the default.
string
Tag traces with skillsCC_LANGFUSE_SKILL_TAGS
Add a skill:<name> tag to traces for every skill invoked in the turn
booleandefault true
Trace ID seedCC_LANGFUSE_TRACE_SEED
Optional. Derive deterministic trace ids as Langfuse.create_trace_id(seed=f"{seed}:{turn_number}") so external systems can precompute them. Use a unique seed per session (e.g. the --session-id UUID). Leave empty for auto-generated ids.
string
Capture imagesCC_LANGFUSE_CAPTURE_IMAGES
Upload images to Langfuse and show them in the trace. This includes pasted images and screenshots from tool results. Your Langfuse deployment must support media upload. Set to false to show short text markers instead.
booleandefault true
Capture skill instructionsCC_LANGFUSE_CAPTURE_SKILL_CONTENT
Include the injected skill instruction text in the Skill tool span output
booleandefault false
This plugin sends Claude Code sessions to EvalFlow. EvalFlow is Langfuse-compatible: this integration uses the Langfuse-compatible observability protocol. It records the user prompts, the agent turns, the model generations with their tokens and cost, and the tool calls, with no change to your code.
This fork is maintained as part of EvalFlow. Configuration, environment variables, and telemetry behavior remain Langfuse-compatible and unchanged.
Upstream Langfuse also documents the original integration on the Claude Code integration page.
The plugin runs as a Claude Code hook and reads the session transcript on every turn, so tracing needs no change to the way you work:
showThinkingSummaries is true in its settings.skill:<name> tag for every skill a turn invokes.Tracing covers the claude CLI and desktop Code mode; regular Claude Desktop
Chat mode runs no Claude Code hooks and is not traced.
One of:
PATH. The hook uses
uv run --script and installs the Langfuse SDK (compatibility layer) from the script metadata.python3 with langfuse>=4.7,<5 installed. This is only a
fallback for when uv is not on PATH.On the first hook run, uv downloads the SDK from PyPI and caches it. An offline or proxied machine retries that download every turn until the cache is warm, so pre-warm it from a networked terminal:
echo '{}' | uv run --quiet --script <plugin-root>/hooks/langfuse_hook.py
Without a usable runtime the hook exits without tracing, never blocks or slows Claude Code, and logs the reason, see Troubleshooting.
claude plugin marketplace add langfuse/Claude-Observability-Plugin
claude plugin install langfuse-observability@langfuse-observability
The marketplace command registers the plugin marketplace and refreshes its local cache. The install command enables the plugin for your Claude Code user scope. Restart Claude Code afterwards so the hook configuration is loaded.
Configure the plugin from inside a Claude Code session. This is a Claude Code slash command, not a shell command:
$ claude
> /plugin configure langfuse-observability@langfuse-observability
Alternatively, pass the values during install:
claude plugin install langfuse-observability@langfuse-observability \
--config LANGFUSE_PUBLIC_KEY=pk-lf-... \
--config LANGFUSE_SECRET_KEY=sk-lf-... \
--config LANGFUSE_BASE_URL=https://cloud.langfuse.com
Only LANGFUSE_PUBLIC_KEY and LANGFUSE_SECRET_KEY are required; without
LANGFUSE_BASE_URL the plugin uses https://cloud.langfuse.com (EU region).
Get keys from your EvalFlow / Langfuse-compatible project settings → API Keys. The secret key is held
in your OS keychain, not in a file.
Set these through /plugin configure or --config, unless the table says the
value is a per-run environment variable.
npx claudepluginhub avijitnpm/claude-skills --plugin langfuse-observabilityBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground