AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

Langfuse API

Community

MCP server by rodrigorjsf · updated · ★ 0

Score 30

Langfuse public API (Cloud and self-hosted): traces, prompts, datasets and gated writes. Langfuse API is a community project by rodrigorjsf, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 3 days ago

Licence

Apache-2.0: permissive, fine for commercial use

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
LANGFUSE_PUBLIC_KEYEnvironment variable, secretRequiredThe project's public key (pk-lf-...).
LANGFUSE_SECRET_KEYEnvironment variable, secretRequiredThe project's secret key (sk-lf-...).
LANGFUSE_BASE_URLEnvironment variableRequiredYour Langfuse host, e.g. https://cloud.langfuse.com; https only, http only for localhost.
LANGFUSE_CA_CERTEnvironment variableOptionalOptional PEM file with your corporate or private CA, added to the system trust store.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install Langfuse API

Built from the published package, never by AI
claude mcp add langfuse-api -e LANGFUSE_PUBLIC_KEY=YOUR_LANGFUSE_PUBLIC_KEY -e LANGFUSE_SECRET_KEY=YOUR_LANGFUSE_SECRET_KEY -e LANGFUSE_BASE_URL=YOUR_LANGFUSE_BASE_URL -- npx -y langfuse-api-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Langfuse API in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the langfuse-api block.

Alternatives to Langfuse API

All alternatives →

Langfuse API: common questions

How do I install Langfuse API?

In Claude Code run claude mcp add langfuse-api -e LANGFUSE_PUBLIC_KEY=YOUR_LANGFUSE_PUBLIC_KEY -e LANGFUSE_SECRET_KEY=YOUR_LANGFUSE_SECRET_KEY -e LANGFUSE_BASE_URL=YOUR_LANGFUSE_BASE_URL -- npx -y langfuse-api-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Langfuse API the official server?

Langfuse API is a community project by rodrigorjsf, not verified by a company domain.

Is Langfuse API free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Langfuse API safe to use?

It scores 30 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to Langfuse API?

Similar MCP servers: Harness, MCP Registry Server, ref-tools-ref-tools-mcp, Microsoft Learn MCP.

Does Langfuse API work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.