Langfuse MCP
A community-built Model Context Protocol server for Langfuse that allows AI agents to query trace data, debug sessions, and analyze exceptions. It provides first-class tools for local debugging, including finding exceptions by file or time, fetching trace details, and controlling token output via compact summaries or file dumps.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Find exceptions in the last day
- Fetch trace details by trace ID
- Debug traces and sessions locally
- Analyze error-level observations
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
langfuse-mcp 0.14.0
{
"version": "0.14.0",
"transport": "stdio",
"identifier": "langfuse-mcp",
"runtimeHint": "uvx",
"registryType": "pypi",
"registryBaseUrl": "https://pypi.org",
"environmentVariables": [
{
"name": "LANGFUSE_PUBLIC_KEY",
"format": "string",
"isRequired": true,
"description": "Langfuse public API key"
},
{
"name": "LANGFUSE_SECRET_KEY",
"format": "string",
"isRequired": true,
"description": "Langfuse secret API key"
},
{
"name": "LANGFUSE_HOST",
"format": "string",
"default": "https://cloud.langfuse.com",
"description": "Langfuse API base URL (Cloud or self-hosted)"
},
{
"name": "LANGFUSE_MCP_READ_ONLY",
"format": "boolean",
"default": "false",
"description": "Set true to disable write tools"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"langfuse-mcp": {
"command": "uvx",
"args": [
"langfuse-mcp==0.14.0"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>",
"LANGFUSE_HOST": "<YOUR_LANGFUSE_HOST>",
"LANGFUSE_MCP_READ_ONLY": "<YOUR_LANGFUSE_MCP_READ_ONLY>"
}
}
}
}Cline
{
"mcpServers": {
"langfuse-mcp": {
"command": "uvx",
"args": [
"langfuse-mcp==0.14.0"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>",
"LANGFUSE_HOST": "<YOUR_LANGFUSE_HOST>",
"LANGFUSE_MCP_READ_ONLY": "<YOUR_LANGFUSE_MCP_READ_ONLY>"
}
}
}
}VS Code
{
"servers": {
"langfuse-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"langfuse-mcp==0.14.0"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>",
"LANGFUSE_HOST": "<YOUR_LANGFUSE_HOST>",
"LANGFUSE_MCP_READ_ONLY": "<YOUR_LANGFUSE_MCP_READ_ONLY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"langfuse-mcp": {
"command": "uvx",
"args": [
"langfuse-mcp==0.14.0"
],
"env": {
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>",
"LANGFUSE_HOST": "<YOUR_LANGFUSE_HOST>",
"LANGFUSE_MCP_READ_ONLY": "<YOUR_LANGFUSE_MCP_READ_ONLY>"
}
}
}
}Let your agent find its tools
Find servers like Langfuse MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.