Langfuse MCP
@therealsachin
About Langfuse MCP
Production-ready Langfuse MCP Server with 28 tools for LLM analytics, cost monitoring, and dataset management. Features secure dual-mode operation (readonly & readwrite), real-time cost analysis, trace debugging, and comprehensive usage insights. Deploy instantly with npx for sea
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"langfuse-mcp": {
"command": "npx",
"args": [
"langfuse-mcp"
],
"env": {
"LANGFUSE_SECRET_KEY": "<YOUR_LANGFUSE_SECRET_KEY>",
"LANGFUSE_PUBLIC_KEY": "<YOUR_LANGFUSE_PUBLIC_KEY>",
"LANGFUSE_HOST": "<YOUR_LANGFUSE_URL>"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Langfuse MCP?
Comprehensive MCP server providing 28 powerful tools for Langfuse analytics, cost monitoring, and dataset management. Built for production environments with enterprise-grade security features.
How to use Langfuse MCP?
Run npx @therealsachin/langfuse-mcp --readwrite with environment variables LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, and LANGFUSE_BASEURL. Alternatively install globally via npm and run with --readonly or set the LANGFUSE_MCP_MODE environment variable.
Key features of Langfuse MCP
- Real-time analytics: cost analysis, usage tracking, trace debugging
- Dual security modes: readonly (default) and readwrite with audit logging
- Dataset management: complete CRUD operations for training datasets
- Advanced debugging: trace details, observation analysis, model insights
- Cost optimization: usage by model/service, expensive trace identification
- Production security: HTTPS validation, pre-commit hooks, credential scanning
Use cases of Langfuse MCP
- AI teams managing LLM costs and performance
- DevOps engineers monitoring production AI systems
- Data scientists analyzing model usage patterns
- Product teams optimizing AI feature costs
FAQ from Langfuse MCP
What security modes does Langfuse MCP support?
Langfuse MCP supports two modes: readonly (safe default) and readwrite (requires explicit --readwrite flag). Audit logging and HTTPS enforcement are included.
What environment variables are required to run Langfuse MCP?
You need LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, and optionally LANGFUSE_BASEURL (defaults to https://us.cloud.langfuse.com).
How can I install Langfuse MCP?
You can run it via npx (npx @therealsachin/langfuse-mcp) or install globally with npm (npm install -g @therealsachin/langfuse-mcp).
How does Langfuse MCP ensure production security?
It enforces HTTPS to prevent credential leaks, provides pre-commit hooks with Gitleaks integration for credential scanning, and logs all write operations for audit.
Frequently asked questions
What security modes does Langfuse MCP support?
Langfuse MCP supports two modes: readonly (safe default) and readwrite (requires explicit `--readwrite` flag). Audit logging and HTTPS enforcement are included.
What environment variables are required to run Langfuse MCP?
You need `LANGFUSE_PUBLIC_KEY`, `LANGFUSE_SECRET_KEY`, and optionally `LANGFUSE_BASEURL` (defaults to `https://us.cloud.langfuse.com`).
How can I install Langfuse MCP?
You can run it via npx (`npx @therealsachin/langfuse-mcp`) or install globally with npm (`npm install -g @therealsachin/langfuse-mcp`).
How does Langfuse MCP ensure production security?
It enforces HTTPS to prevent credential leaks, provides pre-commit hooks with Gitleaks integration for credential scanning, and logs all write operations for audit.
Basic information
More Data & Analytics MCP servers
mcp-simple-arxiv
andybrandtTool to work with arXiv, provide LLM with ability to search and read papers from there

Octolens
OctolensGive your AI agents every brand mention across the internet β 15+ platforms, AI-filtered, one structured feed.
πͺβ¨ Jupyter MCP Server
datalayerπͺ π§ Model Context Protocol (MCP) Server for Jupyter.
Bright Data MCP
brightdataA powerful Model Context Protocol (MCP) server that provides an all-in-one solution for public web access.
ArXiv MCP Server
blazickjpA Model Context Protocol server for searching and analyzing arXiv papers
Comments