← Back to COMSOL Multiphysics
Install COMSOL Multiphysics
Pick your client, copy the command, done.
1
Add it to Claude Code
claude mcp add comsol-multiphysics -- python -m src.serverEnvironment Variables
Set these before running COMSOL Multiphysics.
VariableDescriptionRequired
HF_ENDPOINTHugging Face mirror endpoint for model downloadsNoAvailable Tools (14)
Once configured, COMSOL Multiphysics gives your AI agent access to:
comsol_startStart local COMSOL clientcomsol_connectConnect to remote servercomsol_disconnectClear sessioncomsol_statusGet session infomodel_loadLoad .mph filefile_pathmodel_createCreate empty modelmodel_saveSave to filefile_pathmodel_save_versionSave with timestampmodel_listList loaded modelsmodel_set_currentSet active modelmodel_idmodel_cloneClone modelmodel_idmodel_removeRemove from memorymodel_idmodel_inspectGet model structuremodel_idparam_getGet parameter valueparameter_nameTry It Out
After setup, try these prompts with your AI agent:
→Start a new COMSOL session and create an empty model.
→Load the chip_tsv_thermal model and inspect its current structure.
→Create a block geometry with dimensions 10mm x 10mm x 2mm.
→Run a stationary study on the current model and export the results.
→Search the knowledge base for troubleshooting steps regarding heat transfer physics.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
Keep this setup from going cold
Save the docs, env vars, and workflow around COMSOL Multiphysics in Conare so Claude Code, Codex, and Cursor remember it next time.