Provides a package that can be installed from npm to set up the MCP server for Langfuse integration.
Displays npm version badge for the package using Shields.io.
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
Related MCP server: Nuanced MCP Server
Installation
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
Using in Your Code
Available Tools
The server provides the following langfuse integration tools:
getLLMMetricsByTimeRange: Get LLM Metrics by Time Range
License
ISC
Author
shouting.hsiao@gmail.com
Repository
https://github.com/z9905080/mcp-langfuse