MCP Server for langfuse
A Model Context Protocol (MCP) server implementation for integrating AI assistants with Langfuse workspaces.
Overview
This package provides an MCP server that enables AI assistants to interact with Langfuse workspaces. It allows AI models to:
- Query LLM Metrics by Time Range
Installation
Copy
You can find the package on npm: shouting-mcp-langfuse
Prerequisites
Before using the server, you need to create a Langfuse project and obtain your project's public and private keys. You can find these keys in the Langfuse dashboard.
- set up a Langfuse project
- get the public and private keys
- set the environment variables
Configuration
The server requires the following environment variables:
LANGFUSE_DOMAIN
: The Langfuse domain (default:https://api.langfuse.com
)LANGFUSE_PUBLIC_KEY
: Your Langfuse Project Public KeyLANGFUSE_PRIVATE_KEY
: Your Langfuse Project Private Key
Usage
Running as a CLI Tool
Copy
Using in Your Code
Copy
Available Tools
The server provides the following langfuse integration tools:
getLLMMetricsByTimeRange
: Get LLM Metrics by Time Range
License
ISC
Author
Repository
This server cannot be installed
An MCP server implementation that integrates AI assistants with Langfuse workspaces, allowing models to query LLM metrics by time range.