Neural Inverse Docs MCP Server
The Neural Inverse Docs MCP server exposes the Neural Inverse docs to AI agents.
Core use case: Use Cursor (or other AI Coding Agent) to automatically integrate Neural Inverse Tracing into your codebase, see get started for detailed instructions and an example prompt.
This is the public MCP server for the Neural Inverse documentation. There is also an authenticated MCP server to integrate with the rest of the Neural Inverse data platform (docs).
Install
Add Langfuse Docs MCP to Cursor via the one-click install:
Manual configuration
Add the following to your mcp.json:
{
"mcpServers": {
"langfuse-docs": {
"url": "https://langfuse.com/api/mcp"
}
}
}Add Langfuse Docs MCP to Copilot in VSCode via the one-click install:
Manual configuration
Add Langfuse Docs MCP to Copilot in VSCode via the following steps:
- Open Command Palette (⌘+Shift+P)
- Open "MCP: Add Server..."
- Select
HTTP - Paste
https://langfuse.com/api/mcp - Select name (e.g.
langfuse-docs) and whether to save in user or workspace settings - You're all set! The MCP server is now available in Agent mode
Add Langfuse Docs MCP to Claude Code via the CLI:
claude mcp add \
--transport http \
langfuse-docs \
https://langfuse.com/api/mcp \
--scope userManual configuration
Alternatively, add the following to your settings file:
- User scope:
~/.claude/settings.json - Project scope:
your-repo/.claude/settings.json - Local scope:
your-repo/.claude/settings.local.json
{
"mcpServers": {
"langfuse-docs": {
"transportType": "http",
"url": "https://langfuse.com/api/mcp",
"verifySsl": true
}
}
}One-liner JSON import
claude mcp add-json langfuse-docs \
'{"type":"http","url":"https://langfuse.com/api/mcp"}'Once added, start a Claude Code session (claude) and type /mcp to confirm the connection.
Add Langfuse Docs MCP to Windsurf via the following steps:
-
Open Command Palette (⌘+Shift+P)
-
Open "MCP Configuration Panel"
-
Select
Add custom server -
Add the following configuration:
{ "mcpServers": { "langfuse-docs": { "command": "npx", "args": ["mcp-remote", "https://langfuse.com/api/mcp"] } } }
Langfuse uses the streamableHttp protocol to communicate with the MCP server. This is supported by most clients.
{
"mcpServers": {
"langfuse-docs": {
"url": "https://langfuse.com/api/mcp"
}
}
}If you use a client that does not support streamableHttp (e.g. Windsurf), you can use the mcp-remote command as a local proxy.
{
"mcpServers": {
"langfuse-docs": {
"command": "npx",
"args": ["mcp-remote", "https://langfuse.com/api/mcp"]
}
}
}About
- Endpoint:
https://langfuse.com/api/mcp - Transport:
streamableHttp - Authentication: None
The MCP Reference is the canonical source for current Docs MCP tools, input schemas, and generated request examples.
References
- Implementation of the MCP server: route.ts
- MCP Reference: reference for MCP servers, setup snippets, tools, schemas, and requests
- Agentic Onboarding powered by the MCP server
- Ask AI: RAG chat with the Neural Inverse docs to get answers to your questions
- langfuse.com/llms.txt: concise overview with page titles and links to detailed sub-files (llms-docs.txt, llms-integrations.txt, llms-self-hosting.txt)
REST Endpoint
The underlying docs search (searchLangfuseDocs tool) is also available independently as a REST API at https://langfuse.com/api/search-docs.
curl "https://langfuse.com/api/search-docs?query=Neural Inverse+Docs+MCP+Server"Use this endpoint directly when you need lightweight semantic search outside of MCP.