- Home
- MCP servers
- Langfuse
Langfuse
- typescript
0
GitHub Stars
typescript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"therealsachin-langfuse-mcp": {
"command": "npx",
"args": [
"@therealsachin/langfuse-mcp"
],
"env": {
"LANGFUSE_BASEURL": "https://us.cloud.langfuse.com",
"LANGFUSE_MCP_MODE": "readwrite",
"LANGFUSE_PUBLIC_KEY": "pk-lf-xxx",
"LANGFUSE_SECRET_KEY": "sk-lf-xxx"
}
}
}
}Available tools
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
Identify the most expensive traces
get_trace_detail
Retrieve detailed information for a specific trace
get_projects
Alias for list_projects to fetch available Langfuse projects
get_metrics
Query aggregated metrics with flexible filtering
get_traces
Fetch traces with comprehensive filtering options
get_observations
Get LLM generations and spans with details and filtering
get_cost_analysis
Cost breakdowns by model/user/daily trends
get_daily_metrics
Daily usage trends and averages
get_observation_detail
Detailed information about a specific observation
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