langfuse-mcp

therealsachin/langfuse-mcp

3.2

If you are the rightful owner of langfuse-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Langfuse MCP Server is a comprehensive tool for querying analytics, cost metrics, and usage data across multiple projects.

Tools

Functions exposed to the LLM to take actions

list_projects

List all configured Langfuse projects

project_overview

Get cost, tokens, and trace summary for a project

usage_by_model

Break down usage and cost by AI model

usage_by_service

Analyze usage by service/feature tag

top_expensive_traces

Find the most expensive traces

get_trace_detail

Get detailed information about a specific trace

get_projects

Alias for list_projects (list available Langfuse projects)

get_metrics

Query aggregated metrics (costs, tokens, counts) with flexible filtering

get_traces

Fetch traces with comprehensive filtering options

get_observations

Get LLM generations/spans with details and filtering

get_cost_analysis

Specialized cost breakdowns by model/user/daily trends

get_daily_metrics

Daily usage trends and patterns with averages

get_observation_detail

Get detailed information about a specific observation/generation

get_health_status

Monitor Langfuse system health and status

list_models

List all AI models available in the project

get_model_detail

Get detailed information about a specific AI model

list_prompts

List all prompt templates with filtering and pagination

get_prompt_detail

Get detailed information about a specific prompt template

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources