
Opik
Opik Mcp provides an MCP server that integrates Opik, a prompt engineering and LLM observability platform, with MCP-compatible clients through both local stdio and remote streamable-http transports. The server exposes tools for prompt lifecycle management, workspace and project exploration, trace analysis, metrics and dataset operations, and MCP resources for metadata-aware workflows. It solves the problem of enabling AI assistants and development tools to programmatically interact with Opik's LLM evaluation and monitoring capabilities without requiring direct API integration.
- GitHub stars
- 226
- tools
- 10
- auth
- Secret needed
- transport
- STDIO, HTTP
- env vars
- 4
- last updated
- Nov 6, 2026
Install
From registry metadata$ npx add-mcp https://www.comet.com/opik/api/v1/mcp --name opik-mcpRun in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http opik-mcp https://www.comet.com/opik/api/v1/mcpRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 10 toolsVerified live against the running server on Jun 11, 2026.
get-server-infoReturn server configuration and enabled Opik capabilities. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-15
Return server configuration and enabled Opik capabilities. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-15
No parameters. Call it with no arguments.
get-opik-helpReturn Opik capability documentation, optionally filtered by topic. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-151 params
Return Opik capability documentation, optionally filtered by topic. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-15
topicstringprompts · projects · traces · metrics · generalget-opik-examplesReturn Opik usage examples for a requested task. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-151 params
Return Opik usage examples for a requested task. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-15
taskstringget-opik-metrics-infoReturn Opik metric definitions and usage guidance. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-151 params
Return Opik metric definitions and usage guidance. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-15
metricstringget-opik-tracing-infoReturn tracing guidance for traces, spans, feedback, search, and visualization. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-151 params
Return tracing guidance for traces, spans, feedback, search, and visualization. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-15
topicstringtraces · spans · feedback · search · visualizationlist-projectsList projects in the active workspace to find IDs for traces and metrics operations. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-153 params
List projects in the active workspace to find IDs for traces and metrics operations. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-15
pageintegersizeintegerworkspaceNamestringlist-tracesList traces for a project for quick inspection and navigation. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-155 params
List traces for a project for quick inspection and navigation. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-15
pageintegerprojectIdstringprojectNamestringsizeintegerworkspaceNamestringget-trace-by-idGet full details for a trace, including metadata and serialized input/output. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-152 params
Get full details for a trace, including metadata and serialized input/output. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-15
traceId*stringworkspaceNamestringget-trace-statsGet aggregated trace statistics (count, tokens, cost, and duration) over time. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-155 params
Get aggregated trace statistics (count, tokens, cost, and duration) over time. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-15
endDatevalueprojectIdstringprojectNamestringstartDatestringworkspaceNamestringget-trace-threadsList trace threads (conversation/session groupings) or fetch one thread by ID. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-156 params
List trace threads (conversation/session groupings) or fetch one thread by ID. ⚠️ DEPRECATED — migrate to `uvx opik-mcp@latest` by 2026-11-15
pageintegerprojectIdstringprojectNamestringsizeintegerthreadIdstringworkspaceNamestringSponsors
Configuration
OPIK_API_KEYsecretOpik API key, for Opik Cloud and self-hosted Comet. Leave unset for open-source Opik.
OPIK_WORKSPACEWorkspace name: the segment after comet.com/opik/ in your Opik URL. Leave unset for open-source Opik.
OPIK_URLOpik REST API base, for open-source Opik.
COMET_URL_OVERRIDEBase URL of a self-hosted Comet platform; Opik's API is <url>/opik/api.
Readme
Opik MCP Server
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.
Built for LLM engineers who already run Opik and want to drive it from the same AI assistant they code with.
You: "Which traces in project 'demo' failed today?"
Claude: → list(entity_type="trace", project_name="demo") → "Three traces failed…"
You: "Score trace 7f2e… 0.9 on helpfulness with reason 'great recovery'."
Claude: → write(score.create) → done
Quick start
Details
- Repository
- github.com/comet-ml/opik-mcp
- Website
- www.comet.com/docs/opik/mcp-server
- Package
opik-mcp- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active
- Resources
- 2
- Prompts
- 2
- Tools verified
- Jun 11, 2026