Opik
v3.0.13Read and score Opik traces, experiments, datasets and prompts from your AI assistant.
Values you need
| Variable | What it is | |
|---|---|---|
OPIK_API_KEY | optional secret | Opik API key, for Opik Cloud and self-hosted Comet. Leave unset for open-source Opik. |
OPIK_WORKSPACE | optional | Workspace name: the segment after comet.com/opik/ in your Opik URL. Leave unset for open-source Opik. |
OPIK_URL | optional | Opik REST API base, for open-source Opik. |
COMET_URL_OVERRIDE | optional | Base URL of a self-hosted Comet platform; Opik's API is <url>/opik/api. |
PyPI (uvx) verified
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add opik-mcp -- uvx opik-mcp==3.0.13Add to
claude_desktop_config.json{
"mcpServers": {
"opik-mcp": {
"args": [
"opik-mcp==3.0.13"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"opik-mcp": {
"args": [
"opik-mcp==3.0.13"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"opik-mcp": {
"args": [
"opik-mcp==3.0.13"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.opik-mcp]
command = "uvx"
args = ["opik-mcp==3.0.13"]Remote (hosted)
Run in a terminal
claude mcp add --transport http opik-mcp https://www.comet.com/opik/api/v1/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"opik-mcp": {
"args": [
"-y",
"mcp-remote",
"https://www.comet.com/opik/api/v1/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"opik-mcp": {
"url": "https://www.comet.com/opik/api/v1/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"opik-mcp": {
"type": "http",
"url": "https://www.comet.com/opik/api/v1/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.opik-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://www.comet.com/opik/api/v1/mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: read, list, write, schema, read_skill, send_feedback.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json