Optuna
Created 5 months ago
A Model Context Protocol (MCP) server that automates optimization and analysis using Optuna.
development
documentation
public
optimization
MCP
What is Optuna?
Official MCP server enabling seamless orchestration of hyperparameter search and other optimization tasks with [Optuna](https://optuna.org/).
Documentation
Optuna MCP Server
A Model Context Protocol (MCP) server that automates optimization and analysis using Optuna.
Use Cases
- Automated hyperparameter optimization by LLMs
- Interactive analysis of Optuna's optimization results via chat interface
- Optimize input and output of other MCP tools
Installation
The Optuna MCP server can be installed using uv or Docker.
Usage with uv
- Install
uvfrom Astral. - Add the Optuna MCP server configuration to the MCP client.
Usage with Docker
- Ensure Docker is installed and running.
Tools provided by Optuna MCP
- Study: create_study, set_sampler, get_all_study_names, etc.
- Trial: ask, tell, set_trial_user_attr, etc.
- Visualization: plot_optimization_history, plot_hypervolume_history, etc.
- Web Dashboard: launch_optuna_dashboard
License
MIT License (see LICENSE).
Server Config
{
"mcpServers": {
"optuna-server": {
"command": "npx",
"args": [
"optuna"
]
}
}
}
Links & Status
Project Info
Hosted
Featured
Created At:
Jul 02, 2025
Updated At:
Aug 07, 2025
Author:
Optuna Team
Category:
official
License:
MIT License
Tags:
development
documentation
public