langfuse-mcp
View on GitHubA Model Context Protocol (MCP) server for Langfuse, enabling AI agents to query Langfuse trace data for enhanced debugging and observability
A local or HTTP MCP server that lets AI clients query and analyze Langfuse traces, sessions, exceptions, metrics, prompts, and datasets. Includes a Langfuse agent skill and supports Claude Code, Codex, Cursor, and other MCP clients.
Use Cases
Query Langfuse traces and observations from an AI clientFind and inspect exceptions for debuggingAnalyze latency, cost, token usage, and other metricsInspect sessions and route decisionsManage prompts and datasets through MCP toolsGuide agents through Langfuse workflows with the included skill
Built With
- Language
- Python
- Frameworks
- Model Context Protocol · Langfuse Python SDK · Pydantic
Tags
Langfuse · observability · tracing · debugging · MCP server · AI agents · exceptions · metrics · datasets · prompts · Claude Code · Codex