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 225 GitHub stars, is released under the Apache-2.0 license and runs locally with uvx opik-mcp.
github.com/comet-ml/opik-mcp (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
- Official
- Needs API key
- Cloud & DevOps
- Apache-2.0
- Active
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
HomeLab Monitor
SikamikanikoBG/homelab-monitor
Self-hosted homelab dashboard with a built-in read-only MCP server (hosts, Docker, GPU, services).
Active · last commit Oct 24, 2026
Cloud & DevOpsPythonMCP Apache Spark History Server
kubeflow/mcp-apache-spark-history-server
MCP Server and CLI for Apache Spark History Server.
Active · last commit Oct 20, 2026
OfficialCloud & DevOpsPythonLobu
lobu-ai/lobu
Shared, permission-aware company context for AI agents, with provenance, approvals and audit.
Active · last commit Oct 26, 2026
Cloud & DevOpsTypeScriptOpenClaw MCP Server
freema/openclaw-mcp
MCP server bridging Claude.ai/Desktop with self-hosted OpenClaw via OAuth 2.1.
Active · last commit Oct 25, 2026
Cloud & DevOpsTypeScriptMCP Victoriametrics
VictoriaMetrics/mcp-victoriametrics
MCP Server for VictoriaMetrics. Provides integration with VictoriaMetrics API and documentation.
Maintained · last commit Oct 25, 2026
OfficialCloud & DevOpsGoAlibabacloud DevOps MCP Server
aliyun/alibabacloud-devops-mcp-server
Yunxiao MCP Server provides AI assistants with the ability to interact with the Yunxiao platform.
Active · last commit Oct 10, 2026
OfficialCloud & DevOpsTypeScript
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 23, 2026. The latest release is 3.0.7, published Oct 23, 2026. appsgit only lists MCP servers with a commit in the last six months.