Best for
- Users who want to create, run, and analyze Optuna studies through an MCP client.
- Users who need trial visualizations or the Optuna Dashboard.
The README lists study management, trial, visualization, and dashboard tools, and provides uv and Docker configuration examples for Claude Desktop. The server path is the repository root. No server manifest was provided, so the transport is inferred from the stdio-style client configuration example.
Strongest · Setup experience 13/20 Weakest · Reliability 9/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Python 3.12+ · Docker
Install Astral's uv, add the README configuration to your MCP client's configuration file, then restart Claude Desktop. You can pass --storage to specify Optuna storage for persistence. The README also provides a Docker configuration example.
{"mcpServers":{"Optuna":{"command":"/path/to/uvx","args":["optuna-mcp"]}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"Optuna": {
"command": "/path/to/uvx",
"args": [
"optuna-mcp"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.Optuna] command = "/path/to/uvx" args = ["optuna-mcp"]
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add Optuna -- /path/to/uvx optuna-mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm the Optuna tools appear in your client’s tool list, then ask it to create a minimization study and check that the server responds.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Optuna MCP Server is an MCP server for interacting with Optuna APIs. It can create and manage studies, suggest and report trials, produce optimization visualizations, and launch the Optuna Dashboard. The README shows a configuration example for Claude Desktop.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision c59e6340c763 Data synced 2026-12-05 Read the FMRS scoring method Markdown