Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LANGFUSE_BASEURLNoYour Langfuse instance URLhttps://us.cloud.langfuse.com
LANGFUSE_PUBLIC_KEYYesYour Langfuse public key
LANGFUSE_SECRET_KEYYesYour Langfuse secret key

Tools

Functions exposed to the LLM to take actions

NameDescription
list_projects

List configured Langfuse projects available to this MCP server.

project_overview

Get a summary of total cost, tokens, and traces for a project over a time window.

usage_by_model

Break down usage and cost by AI model over a time period.

usage_by_service

Analyze usage and cost by service/feature tag over a time period.

top_expensive_traces

Find the most expensive traces by cost over a time period.

get_trace_detail

Get detailed information about a specific trace including all observations.

get_projects

List available Langfuse projects (alias for list_projects).

get_metrics

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

get_traces

Fetch traces with flexible filtering options.

get_observations

Get LLM generations/spans with details and filtering.

get_cost_analysis

Specialized cost breakdowns by model, user, and daily trends.

get_daily_metrics

Daily usage trends and patterns.

get_observation_detail

Get detailed information about a specific observation by ID.

get_health_status

Get system health status and availability information.

list_models

List all available AI models in the Langfuse project.

get_model_detail

Get detailed information about a specific AI model.

list_prompts

List all prompt templates in the Langfuse project.

get_prompt_detail

Get detailed information about a specific prompt template.

list_datasets

List all datasets in the project with pagination support.

get_dataset

Get detailed information about a specific dataset by name.

list_dataset_items

List items in datasets with filtering and pagination.

get_dataset_item

Get detailed information about a specific dataset item.

list_comments

List comments with filtering options for objects and users.

get_comment

Get detailed information about a specific comment.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/therealsachin/langfuse-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server