Best for
- LLM engineers already using Opik
- Developers who want to manage LLM observability directly from their coding environment
- Workflows needing deep integration with the Opik platform
Opik MCP Server is the official MCP server for Opik, designed for LLM observability and evaluation. It offers a comprehensive tool set and good client support, but some advanced features are limited, and security configuration requires attention.
Opik MCP Server is the official Model Context Protocol (MCP) server for Opik, the open-source LLM observability and evaluation platform built by Comet. It enables AI hosts like Claude Code, Cursor, and VS Code Copilot to interact with your Opik workspace, allowing you to read traces, log scores, save prompt versions, and ask Ollie, Opik's in-product AI assistant, investigative questions. The server provides six tools—read, list, write, ask_ollie, schema, and run_experiment—covering the full lifecycle from reading and annotating to curating, authoring, and iterating.
curl -LsSf https://astral.sh/uv/install.sh | sh)OPIK_API_KEY from your Opik workspace; optionally set OPIK_WORKSPACE (defaults to default)uvx opik-mcp and set environment variables as shown{
"mcpServers": {
"opik-mcp": {
"type": "stdio",
"command": "uvx",
"args": ["opik-mcp"],
"env": {
"OPIK_API_KEY": "<your-key>",
"OPIK_WORKSPACE": "<your-workspace>"
}
}
}
}