MCP.so
登录

Langfuse MCP Server

@therealsachin

基本信息

分类

数据与分析

传输方式

stdio

作者

therealsachin

提交者

Sachin Shenoy

关于 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 Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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 Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

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.

评论

数据与分析 分类下的更多 MCP 服务器