
Opik MCP Server: Setup for Claude, Cursor and Other Apps
Lets your assistant read your Opik traces, experiments and prompts, and log scores, comments and new prompt versions.
This is Comet's own server for Opik, the open source tool for watching and testing LLM apps. You can ask which traces failed today, score one, or save a new prompt version without leaving your chat. On Opik Cloud, Comet hosts the server and you sign in with your browser, with no API key. For self-hosted or open source Opik, you run it on your computer with your Opik address.
Good for
- LLM engineers who already run Opik and want to drive it from their coding assistant
- Teams reviewing failed traces and adding scores or comments from chat
- Prompt engineers who save and compare prompt versions
- Self-hosted Opik users who need a server that stays on their network
Works in
14 should work
Tap an app to see how to set it up and any known problems.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports hosted MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports hosted MCP servers.
Install Opik MCP
Claude Code
- 1
Copy this prompt.
Add the Opik MCP server to Claude Code. Run this command: claude mcp add --transport http opik https://www.comet.com/opik/api/v1/mcp Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Sign-in with the vendor account (OAuth).
Built from the package data we hold. Not yet tested by us.
Tools
Shows one project, trace, prompt, dataset or experiment in full
Fetches one record you name, such as a trace with its spans, a prompt with its versions, a dataset or an experiment. Long inner fields may be cut, and the answer says when they are.
Try: “Show me trace 7f2e3c8a with all its spans.”
Network ·
readLists records of one kind, with name filters and paging
Lists projects, traces, spans, threads, experiments and other records, with filters and paging. It helps find the ones worth reading in full.
Try: “Which traces in project 'demo' failed today?”
Network ·
listLogs traces, scores and comments, saves prompts, and manages datasets and experiments
Changes your Opik workspace. Operations include logging traces and spans, attaching scores and comments, saving prompt versions, creating datasets and experiments, opening or closing threads, resolving Diagnostics issues and managing annotation queues.
Try: “Score trace 7f2e3c8a 0.9 on helpfulness with the reason 'great recovery'.”
Write ·
writeReads one of the Opik how-to skills bundled with the server
Gives the assistant a bundled Opik skill, a short guide for tasks such as adding Opik tracing to code.
Try: “Load the Opik skill for instrumenting my code.”
Read ·
read_skillUsed by the assistant behind the scenes
Shows the exact fields a write needs before it is sent
Looks up the shape of a write operation or the filters a list accepts, so the assistant builds a valid request. It makes no call to Opik.
Try: “What fields does a score need?”
Read ·
schema
Read from the source code
Permissions
medium risk · 4 things to watch
Medium risk
The server can read your traces and prompts and change them: log traces, add scores and comments, and save prompt versions. There is no read-only mode, so use a workspace you are comfortable letting the assistant write to.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It can change your Opik data
One tool can log traces, add scores, save prompt versions and close or resolve Diagnostics issues. The docs tell the assistant to ask you before resolving or closing an issue. github.com
An open-source Opik has no login
The README says the open-source backend does not authenticate requests. Keep the server on its default local address and use stdio. github.com
Wrong workspace can go unnoticed
On a self-hosted Comet, leaving the workspace unset reads from your default workspace without an error. Set it to the name in your Opik URL. github.com
Telemetry is on by default
The README lists settings to turn off the analytics and error reporting. github.com
Security advisories
No published security advisories as of Nov 1, 2026.
Technical details
| Talks to | Opik Cloud at www.comet.com, or your own Opik address |
|---|---|
| Sign-in and keys | Opik Cloud: browser sign-in with OAuth, no API key. Local server: an API key (if your deployment needs one) in the client's env settings. |
Questions
What is the Opik MCP server URL?
For Opik Cloud it is https://www.comet.com/opik/api/v1/mcp. Add it to your client and sign in with your browser.
Is the Opik MCP server official?
Yes. It is built by Comet, the company behind Opik, and the repo calls it the official server.
Do I need an API key?
Not for Opik Cloud, which uses a browser sign-in. A self-hosted Comet platform needs an API key and a workspace name. Open-source Opik needs only its address, unless your deployment adds authentication.
Hosted or local: which should I use?
Use the hosted server if you use Opik Cloud, since there is nothing to install. Use the local server for open-source or self-hosted Opik, where it runs on your computer.
Can it delete traces or projects?
Its write operations cover logging, scoring, commenting, prompts, datasets, experiments, threads, Diagnostics issues and annotation queues. None is a delete. It can still change or close things, and there is no read-only mode.
Is there a one-step setup?
Yes. The README has an installer for Claude Code, Codex, Cursor, VS Code and opencode, and a Claude Code plugin. The install box shows the manual setup.
Why do my Cursor calls time out?
The README says Cursor has a hard 60 second limit on tool calls that does not reset on progress. Claude Code has no documented limit.
Information
updated Nov 2, 2026
- Publisher
- Official
- Package
opik-mcp- Registry
- PyPI
- Endpoint
https://comet.com/opik/api/v1/mcp- Transport
- Streamable HTTP, stdio
- Auth
- OAuth
- Version
- 3.0.8
- License
- Apache-2.0
- Last commit
- Oct 28, 2026
- Open issues
- 3
- Listed in
- Official MCP registry, Docker MCP Catalog
Sources
Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.
Show all 1Hide
- github.com · github.com