What is optuna-mcp?
optuna-mcp is a MCP server by optuna that orchestrate hyperparameter search and other optimization tasks with Optuna. It is listed under Data & databases and has 88 GitHub stars.
| Type | Mcp server |
|---|---|
| Author | optuna |
| Repository | optuna/optuna-mcp |
| Popularity | 88 GitHub stars |
| Category | Data & databases |
| Security | Low risk (100/100) |
| Rank | #635 of 4,418 MCP servers; #63 in Data & databases |
| License | MIT |
| Last commit | 2026-08-05 |
| Runs | Locally |
| Language | Python |
| Platforms | macOS, Linux |
Is optuna-mcp safe to install?
optuna-mcp scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 6 of 6 checks.
MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.
| Check | Result |
|---|---|
| Published by the service itself | Pass |
| Runs on your machine only | Pass |
| No credentials mentioned | Pass |
| Read-only by description | Pass |
| No code execution | Pass |
| Source on GitHub | Pass |
How do I install optuna-mcp?
- Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
https://github.com/optuna/optuna-mcp
- Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
claude mcp add optuna-mcp -- <command from README> claude mcp add --transport http optuna-mcp <server-url>
- Check it connected. This lists your MCP servers and their status.
claude mcp list
Or ask Claude to set it up
Paste this into Claude Code and it installs optuna-mcp for you:
Add the "optuna-mcp" MCP server from https://github.com/optuna/optuna-mcp to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.