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
Fetch the live tool list by running this server in a temporary sandbox using the button above.
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
Salesforce MCP Server
tsmztechSalesforce MCP Server
MCP Server for Data Exploration
reading-plus-ai
CryptoWhaleInsights
CryptoWhaleInsights TeamReal-time crypto whale tracking & market intelligence. Monitors 80+ verified whale wallets across 14 blockchains (BTC, ETH, SOL, BSC, Base, ARB, MATIC, TON, SUI, HYPE, TRX, SEI, INJ, APT). 55 tools: whale movements, fear

Kinetic Pricing
Kinetic PricingKinetic Pricing lets you run pricing research with your own customers and manage the work around each decision. Create Van Westendorp, Gabor-Granger, MaxDiff, and choice-based conjoint studies; preview and launch surveys

Grabbit MCP
GrabbitRemote MCP server that helps AI agents find Reddit buyer-intent threads, check subreddit rules, read full conversations, and manage human-reviewed lead workflows.
Comments