TokenToSeaMCP Hub
中文 Console

langfuse-mcp-server

therealsachin

MCP Server to connect to langfuse for usage & cost analysis.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add langfuse --env LANGFUSE_BASEURL='<LANGFUSE_BASEURL>' --env LANGFUSE_PUBLIC_KEY='<LANGFUSE_PUBLIC_KEY>' --env LANGFUSE_SECRET_KEY='<LANGFUSE_SECRET_KEY>' -- npx @therealsachin/langfuse-mcp

Environment variables

  • LANGFUSE_BASEURL
  • LANGFUSE_PUBLIC_KEY
  • LANGFUSE_SECRET_KEY

Replace the placeholders with your own credentials and keep them out of version control.