About optuna/optuna-mcp
optuna/optuna-mcp is an MCP server published by optuna in the Developer Tools category: the Optuna MCP Server is a Model Context Protocol (MCP) server to interact with Optuna APIs. Conduid read 26 tools from its source: add_trial, add_trials, ask, best_trial, best_trials, create_study and 20 more. No package is published for it, so it installs from a source checkout.
The repository has 95 stars and 27 forks, is licensed MIT, and its last commit was on 22 Oct 2026. The latest release is v0.2.0 (10 Nov 2025). It follows v0.1.2 (13 Jun 2025), and the 4 most recent releases go back to v0.1.0 (11 Jun 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include optimization and hyperparameter-optimization.
Install
From sourcegit clone https://github.com/optuna/optuna-mcp
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.4K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 4 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- No file writes or deletes
- Lockfile
- uv.lock
Pattern matches on the source text of 4 files: places to read, not proof of what the code does at run time.
Releases
v0.2.0v0.2.0 · 10 Nov 2025What's Changed Fix README.md by @y0z in https://github.com/optuna/optuna-mcp/pull/26 Add matplotlib example to `README.md` by @nabenabe0928 in https://github.com/optuna/optuna-mcp/pull/27 Update bottle to 0.13.4 by @toshihikoyanase in… v0.1.2v0.1.2 · 13 Jun 2025What's Changed Fix pypi publish by @HideakiImamura in https://github.com/optuna/optuna-mcp/pull/16 Fix bottle dependency in pyproject.toml by @toshihikoyanase in https://github.com/optuna/optuna-mcp/pull/21 Update README. by @y0z in… v0.1.1v0.1.1 · 11 Jun 2025What's Changed Add badges for Python versions and license. by @toshihikoyanase in https://github.com/optuna/optuna-mcp/pull/2 Update `README.md` and `CONTRIBUTING.md`. by @toshihikoyanase in https://github.com/optuna/optuna-mcp/pull/3 Add… v0.1.0v0.1.0 · 11 Jun 2025What's Changed Add badges for Python versions and license. by @toshihikoyanase in https://github.com/optuna/optuna-mcp/pull/2 Update `README.md` and `CONTRIBUTING.md`. by @toshihikoyanase in https://github.com/optuna/optuna-mcp/pull/3 Add…
README
The repository's README runs to about 1.4K words, fetched a month ago. The original in the repository is authoritative.
Read full README