Feedback

Langfuse MCP — by therealsachin

@therealsachin Claim

Basic information

Category
License
MIT
Transports
stdio
Author
therealsachin
Submitted by
Community
Quality
25

About Langfuse MCP Server

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

Langfuse MCP is a MCP server in the Data & Analytics category listed in the AddMCP.net directory, published by therealsachin. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: ai-tools, analytics, cost-monitoring, datasets, debugging.

Setup

{
    "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>"
            }
        }
    }
}

Langfuse MCP — by therealsachin 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>"
            }
        }
    }
}

Langfuse MCP — by therealsachin tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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

Frequently asked questions

1 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.

2 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).

3 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).

4 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.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬