← Index

Opik MCP Server

io.github.comet-ml/opik-mcp·v2.0.1·Other
Quality Score
98
/100

Interact with Opik prompts, traces, datasets and metrics through the Model Context Protocol.

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "opik-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "opik-mcp"
      ],
      "env": {
        "OPIK_API_KEY": "<your-opik_api_key>",
        "OPIK_API_BASE_URL": "<opik_api_base_url>",
        "OPIK_WORKSPACE_NAME": "<opik_workspace_name>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "opik-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "opik-mcp"
      ],
      "env": {
        "OPIK_API_KEY": "<your-opik_api_key>",
        "OPIK_API_BASE_URL": "<opik_api_base_url>",
        "OPIK_WORKSPACE_NAME": "<opik_workspace_name>"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y opik-mcp
§02  Environment variables
OPIK_API_KEY
requiredsecret

API key from your Opik workspace for authenticating SDK calls.

OPIK_API_BASE_URL

Override the API base URL when using a self-hosted Opik deployment.

OPIK_WORKSPACE_NAME

Default workspace to scope prompt and trace operations.

§03  MCP Quality Score  ·  methodology
freshness
23
completeness
25
installability
25
documentation
15
stability
10
§04  Alternatives in Other