Opik MCP Server
local MCP serverOpik MCP Server is a local MCP server: Interact with Opik prompts, traces, datasets and metrics through the Model Context Protocol. Install it from npm as opik-mcp.
Installation
Terminal
claude mcp add opik-mcp -e OPIK_API_KEY=... -e OPIK_API_BASE_URL=... -e OPIK_WORKSPACE_NAME=... -- npx -y opik-mcp
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"opik-mcp": {
"command": "npx",
"args": [
"-y",
"opik-mcp"
],
"env": {
"OPIK_API_KEY": "...",
"OPIK_API_BASE_URL": "...",
"OPIK_WORKSPACE_NAME": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Node.js 18+ (runs with npx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
OPIK_API_KEY,OPIK_API_BASE_URL,OPIK_WORKSPACE_NAME
Summary
Interact with Opik prompts, traces, datasets and metrics through the Model Context Protocol.
Opik MCP Server vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| Opik MCP Server | 221 | Local | Yes | npm |
| ha-mcp | 4,868 | Local | No | pypi |
| mcp-server-chart | 4,385 | Local | Yes | npm |
| kubernetes-mcp-server | 2,127 | Local | No | npm |
| MCP Server for WinDbg Crash Analysis | 1,594 | Local | Yes | pypi |
Questions
It reads 3 environment variables: OPIK_API_KEY, OPIK_API_BASE_URL, OPIK_WORKSPACE_NAME. Set them in your MCP config before starting the server.
Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
Opik MCP Server is a local MCP server distributed as the npm package opik-mcp.
Run: claude mcp add opik-mcp -e OPIK_API_KEY=... -e OPIK_API_BASE_URL=... -e OPIK_WORKSPACE_NAME=... -- npx -y opik-mcp
Run: codex mcp add opik-mcp --env OPIK_API_KEY=... --env OPIK_API_BASE_URL=... --env OPIK_WORKSPACE_NAME=... -- npx -y opik-mcp
Similar MCP servers
NameStars
- ha-mcpio.github.homeassistant-ai/ha-mcp4,868
- mcp-server-chartio.github.antvis/mcp-server-chart4,385
- kubernetes-mcp-serverio.github.containers/kubernetes-mcp-server2,127
- MCP Server for WinDbg Crash Analysisio.github.svnscha/mcp-windbg1,594
- Microsoft NuGetcom.microsoft/nuget1,554
- nx-consoleio.github.nrwl/nx-console1,413
- nx-mcpio.github.nrwl/nx-mcp1,413
- mongodb-mcp-serverio.github.mongodb-js/mongodb-mcp-server1,138