Local MCP server and skill for Langfuse. Debug traces, sessions, and exceptions from Claude Code, Codex, Cursor, or any MCP client.
Langfuse MCP (Model Context Protocol) is an MCP project maintained in the avivsinai/langfuse-mcp repository. The maintainer describes its purpose as “Local MCP server and skill for Langfuse. Debug traces, sessions, and exceptions from Claude Code, Codex, Cursor, or any MCP client”. Read the project documentation for the complete scope.
The documented pypi package is langfuse-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
The example declares LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, LANGFUSE_HOST, LANGFUSE_MCP_DEFAULT_OUTPUT_MODE. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| Category | Tools |
| Traces | fetch_traces, fetch_trace |
| Observations | fetch_observations, fetch_observation |
| Routing | find_route_decisions, get_route_decision, summarize_route_decisions, find_low_confidence_route_decisions |
| Sessions | fetch_sessions, get_session_details, get_user_sessions |
| Exceptions | find_exceptions, find_exceptions_in_file, get_exception_details, get_error_count |
| Prompts | list_prompts, get_prompt, get_prompt_unresolved, create_text_prompt, create_chat_prompt, update_prompt_labels |
| Datasets | list_datasets, get_dataset, list_dataset_items, get_dataset_item, create_dataset, create_dataset_item, delete_dataset_item, list_dataset_runs, get_dataset_run, |
| Scores | list_scores_v2, get_score_v2 |
| Metrics | query_metrics, get_metrics_schema |
| Schema | get_data_schema |
{
"mcpServers": {
"langfuse": {
"command": "uvx",
"args": [
"langfuse-mcp"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "YOUR_LANGFUSE_PUBLIC_KEY",
"LANGFUSE_SECRET_KEY": "YOUR_LANGFUSE_SECRET_KEY",
"LANGFUSE_HOST": "https://cloud.langfuse.com",
"LANGFUSE_MCP_DEFAULT_OUTPUT_MODE": "full_json_file"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| LANGFUSE_PUBLIC_KEY | Declared in the maintainer’s client configuration. | Check documentation |
| LANGFUSE_SECRET_KEY | Declared in the maintainer’s client configuration. | Check documentation |
| LANGFUSE_HOST | Declared in the maintainer’s client configuration. | Check documentation |
| LANGFUSE_MCP_DEFAULT_OUTPUT_MODE | Declared in the maintainer’s client configuration. | Check documentation |
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Site & competitor monitoring: snapshots, evidence-backed diffs, briefs, price checks, mentions.
Blockscout - 56 tools for data, metrics, and on-chain analytics
Trademark search, monitoring and conflict research across 30+ registers, with provenance.
Local-first Wi-Fi incident diagnostics with native BLE scan, history, and risk evidence.