# Opik MCP Server

Integrate seamlessly with your IDE and access all Opik features through a standardized protocol. Manage prompts, projects, and metrics efficiently with a unified interface. Leverage multiple transpor…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add comet-ml/opik-mcp-server

# Browse available tools
npx -y @smithery/cli@latest tool list comet-ml/opik-mcp-server

# Get full schema for a tool
npx -y @smithery/cli@latest tool get comet-ml/opik-mcp-server opik-integration-docs

# Call a tool
npx -y @smithery/cli@latest tool call comet-ml/opik-mcp-server opik-integration-docs '{}'
```

## Tools (13)

- `opik-integration-docs` — Provides detailed documentation on how to integrate Opik with your LLM application
- `get-prompts` — Get a list of prompts with optional filtering
- `create-prompt` — Create a new prompt
- `get-prompt-version` — Retrieve a specific version of a prompt
- `save-prompt-version` — Save a new version of a prompt
- `list-projects` — Get a list of projects with optional filtering
- `create-project` — Create a new project
- `list-traces` — Get a list of traces from a project. Use this for basic trace retrieval and overview
- `get-trace-by-id` — Get detailed information about a specific trace including input, output, metadata, and timing information
- `get-trace-stats` — Get aggregated statistics for traces including counts, costs, token usage, and performance metrics over time
- `search-traces` — Advanced search for traces with complex filtering and query capabilities
- `get-trace-threads` — Get trace threads (conversation groupings) to view related traces that belong to the same conversation or session
- `add-trace-feedback` — Add feedback scores to a trace for quality evaluation and monitoring. Useful for rating trace quality, relevance, or cu…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get comet-ml/opik-mcp-server <tool-name>
```

## Resources

- `opik://workspace-info`
- `opik://projects-list`

---

Source: https://github.com/comet-ml/opik-mcp | License: Apache-2.0
