AL

avivsinai/langfuse-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

112 stars 28 forks 品質 86 トレンド 35MIT

avivsinai/langfuse-mcpは、https://github.com/avivsinai/langfuse-mcp.からインポートされたMCPサーバー候補です。

概要

avivsinai/langfuse-mcpは、https://github.com/avivsinai/langfuse-mcp.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

使用頻度: 先月12,518件のPyPIダウンロード(pypistats、2026年8月19日)。v0.10.1。

LangfuseのローカルMCPサーバーとスキル。Claudeコード、Codex、Cursor、または任意のMCPクライアントからのトレース、セッション、例外のデバッグ。

なぜネイティブのLangfuse MCPではなくこれなのか?

ローカルデバッグにこれを活用してください:ファーストクラスのトレース、セッション、例外;ルート決定ツール;コンパクト/ファイルダンプ出力;さらに付属のlangfuseスキルも使えます。

公式のLangfuse MCPを使って、ホスティング済みでインストール不要の広範なAPI(スコア書き込み、コメント、モデル、メディア)へのアクセスを行ってください。

2026年6月現在:

langfuse-mcp ネイティブのLangfuse MCP
プライマリーフィット ローカルデバッグ:トレース、セッション、例外 ホストされたゼロインストールAPIサーフェス
デプロイ ローカルstdioまたはHTTP、Langfuse Python SDK経由 ネイティブストリーミング可能なHTTPは/api/public/mcpで
トレース/セッション/例外ツールファーストクラス 観察/API指向アクセス
ルート決定ツールはい いいえ
トークン&出力制御コンパクトサマリー、切り詰め、ファイルダンプモード、ツールグループゲート ホストツールレスポンス+クライアント
メトリクスとデータセットの実行はい はい

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Langfuse MCP Server

Usage: 12,518 PyPI downloads last month (pypistats, 2026-08-19). v0.10.1.

Local MCP server and skill for Langfuse. Debug traces, sessions, and exceptions from Claude Code, Codex, Cursor, or any MCP client.

Why this instead of native Langfuse MCP?

Use this for local debug: first-class traces, sessions, and exceptions; route-decision tools; compact / file-dump output; plus the included langfuse skill.

Use official Langfuse MCP for hosted, zero-install access to the broader API (score writes, comments, models, media).

As of June 2026:

langfuse-mcp Native Langfuse MCP
Primary fit Local debug: traces, sessions, exceptions Hosted, zero-install API surface
Deployment Local stdio or HTTP, via the Langfuse Python SDK Native streamable HTTP at /api/public/mcp
Trace / session / exception tools First-class Observation/API-oriented access
Route-decision tools Yes No
Token & output control Compact summaries, truncation, file-dump mode, tool-group gating Hosted tool response + client
Metrics & dataset runs Yes Yes
Prompt, dataset, queue & score reads Yes Yes
Score writes, comments, models, media No Yes

langfuse-mcp for local debug. Native MCP for hosted breadth.

See a failing trace in 2 minutes

Install is uvx langfuse-mcp plus Langfuse API keys — Quick Start for Claude Code, Codex, Cursor, or Docker.

After the client restarts, ask:

find exceptions in the last day

That maps to existing tools:

find_exceptions(age=1440, group_by="file")
find_exceptions_in_file(filepath="", age=1440)
get_exception_details(trace_id="")
GitHub で README 全文を見る

インストール

uvx langfuse-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "langfuse": { "command": "uvx", "args": ["langfuse-mcp"], "env": { "LANGFUSE_PUBLIC_KEY": "pk-...", "LANGFUSE_SECRET_KEY": "sk-...", "LANGFUSE_HOST": "https://cloud.langfuse.com", "LANGFUSE_MCP_DEFAULT_OUTPUT_MODE": "full_json_file" } } } }