Opik
Opik is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Read and score Opik traces, experiments, datasets and prompts from your AI assistant. It has 219 GitHub stars, is released under the Apache-2.0 license and runs locally with uvx opik-mcp.
- Official
- Needs API key
- Cloud & DevOps
- Apache-2.0
- Actively maintained
Install Opik
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"opik": {
"command": "uvx",
"args": [
"opik-mcp"
],
"env": {
"OPIK_API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env OPIK_API_KEY=your-value --transport stdio opik -- uvx opik-mcpCursor
{
"mcpServers": {
"opik": {
"type": "stdio",
"command": "uvx",
"args": [
"opik-mcp"
],
"env": {
"OPIK_API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "opik_api_key",
"description": "OPIK_API_KEY",
"password": true
}
],
"servers": {
"opik": {
"type": "stdio",
"command": "uvx",
"args": [
"opik-mcp"
],
"env": {
"OPIK_API_KEY": "${input:opik_api_key}"
}
}
}
}Claude Code (remote)
claude mcp add --transport http opik "https://www.comet.com/opik/api/v1/mcp"The same server is also hosted as a remote MCP endpoint, so nothing runs on your machine.
Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
OPIK_API_KEYsecret | No | Opik API key, for Opik Cloud and self-hosted Comet. Leave unset for open-source Opik. |
OPIK_WORKSPACE | No | Workspace name: the segment after comet.com/opik/ in your Opik URL. Leave unset for open-source Opik. |
OPIK_URL | No | Opik REST API base, for open-source Opik. |
COMET_URL_OVERRIDE | No | Base URL of a self-hosted Comet platform; Opik's API is /opik/api. |
Tools (22)
Parsed from the Tools section of the README; check the repository for the current list.
read_skillRead one of the Opik agent skills bundled with this server
readOne tool for any "show me X" question. Takes an entitytype plus an id
listBrowse or search a collection with pagination. Project-scoped types (trace,
writeUniversal write dispatcher. Pass operation + data and the dispatcher
trace.createLog a single trace (or a batch). Parent for spans / scores / comments.
trace.updateFinalize or amend an existing trace.
span.createLog a span on an existing trace (or a batch).
score.createAttach a numeric feedback score to a trace, span, or thread.
comment.createAttach a free-text comment to a trace, span, or thread.
prompt_version.saveSave a new prompt version (creates the prompt by name if missing).
dataset.createCreate a dataset — type: "testsuite" makes it an evaluation test suite.
dataset_item.upsertUpsert items into a dataset (always the envelope shape).
experiment.createCreate an experiment scoped to a dataset.
experiment_item.createAttach trace + dataset_item rows to an experiment.
thread.closeClose a thread (mark it inactive). Pass threadid and the project.
thread.openReopen a closed thread. Pass threadid and the project.
agent_insights_job.enableTurn Diagnostics on for a project (daily scans, safe to repeat).
agent_insights_job.triggerRun a Diagnostics scan now, over the last 24 hours.
agent_insights_issue.resolveMark a Diagnostics issue dealt with (ask the user first).
agent_insights_issue.closeMark a Diagnostics issue not worth acting on (ask the user first).
agent_insights_issue.reopenPut a resolved or closed Diagnostics issue back on the open list.
schemaInspect the exact JSON shape and required fields of any write operation before
About Opik
The official Model Context Protocol (MCP) server for Opik, the open-source LLM observability and evaluation platform, built by Comet. Plug your AI host (Claude Code, Cursor, VS Code Copilot, Codex, opencode, or any MCP client) directly into your Opik workspace: read traces, log scores, and save prompt versions, all from the chat.
- mcp-server
- claude-code
- llm-observability
- mcp
- model-context-protocol
- opik
- python
- generative-ai
Similar MCP servers
More cloud & devops MCP servers
Worldmonitor
koala73/worldmonitor
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface.
Cloud & DevOpsTypeScriptNetdata
netdata/netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Cloud & DevOpsGoopenstatus
openstatusHQ/openstatus
Manage monitors, status pages, incidents and maintenances in your openstatus workspace.
OfficialCloud & DevOpsTypeScriptMCP Server Cloudflare
cloudflare/mcp-server-cloudflare
Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems.
OfficialCloud & DevOpsTypeScriptDagu
dagucloud/dagu
Self-hostable workflow orchestrator for teams whose main work isn't orchestration.
Cloud & DevOpsGoAzure MCP Server
microsoft/mcp
All Azure MCP tools to create a seamless connection between AI agents and Azure services.
OfficialCloud & DevOpsC#
What is Opik?
Opik is an MCP server that adds cloud and DevOps tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Read and score Opik traces, experiments, datasets and prompts from your AI assistant. It has 219 GitHub stars, is released under the Apache-2.0 license and runs locally with uvx opik-mcp. The source code is at github.com/comet-ml/opik-mcp.
How do I install the Opik MCP server?
Add the command uvx opik-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Opik free?
The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (OPIK_API_KEY) for the service it connects to, which may require a paid account.
Is Opik actively maintained?
The most recent commit was on Oct 6, 2026. The latest release is 3.0.0, published Oct 5, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.