Ase MCP
Molecular calculations with ASE: SMILES to 3D, energies, optimizations, vibrations, thermochemistry and IR spectra.
claude mcp add --scope project clio-ase -- clio-kit mcp-server ase
Install the launcher first. Restart your client after setup. Configuration locations →
Check the connection
clio-kit doctor --server ase --connect
Checks prerequisites and tool discovery. Test on known input to verify results. Native backends may require additional setup.
Tools
smiles_to_structureBuild a 3D structure from a SMILES string with RDKit: ETKDG embedding, hydrogens added, MMFF94 (else UFF) relaxation. Writes XYZ and SDF and returns the structure record, the canonical SMILES, formal charge and radical-electron count.
inspect_structureReport a structure file's formula, composition, bonds (covalent radii) with lengths, fragments and size, and measure distances (2 indices), angles (3) or dihedrals (4) for the index lists in measure. Indices are 0-based in file order. For a trajectory, frame picks the frame (default last).
set_geometryWrite a new structure with a distance (Å), angle (degrees) and/or dihedral (degrees) set to a value, each as {indices, value}. The smaller of the two fragments the bond splits the molecule into moves rigidly; bonds in rings are refused. Reports the values before and after.
run_aseRun a calculation on a structure file. driver: energy (single point), opt (optimize), vib (optimize, then harmonic frequencies), thermo (vib + ideal-gas H, S, G at temperature/pressure), ir (vib + IR intensities; needs a dipole: xtb, nwchem, orca). calculator: {type: emt|xtb|mace|uma|nwchem|orca, model?, method?, basis?, ...settings}, e.g. {type: 'xtb'} (GFN2-xTB), {type: 'mace'} (MACE-OFF23 small), {type: 'nwchem', method: 'B3LYP', basis: '6-31G*'}. charge and multiplicity go to the calculator and the thermochemistry. constraints hold atoms or internal coordinates during the optimization: {type: 'fix_atoms', indices}, {type: 'bond', indices: [a, b], value_A?}, {type: 'angle', indices, value_deg?}, {type: 'dihedral', indices: [a, b, c, d], value_deg?}; frequencies always use the unconstrained Hessian. optimize false runs vib/thermo/ir on the structure as given. Writes result.json, final.xyz, the trajectory (extended XYZ) and a per-step CSV, frequencies.csv, one animation per mode, IR CSVs. The first xtb/mace/uma calculation builds that calculator's environment (minutes).
displace_along_modeWrite a structure displaced along a normal mode, e.g. to leave a saddle point along its imaginary mode before re-optimizing. source: a run_ase result JSON (with vibrations), its normal_modes.npz, or a mode_NNN.xyz animation; mode_index as in frequencies.csv; amplitude is the largest atomic displacement in Å. both=true also writes the opposite direction.
trajectory_frameWrite one frame of a trajectory (e.g. opt_trajectory.xyz or an ASE .traj) as a structure file, to restart from it. frame is 0-based; -1 is the last.
calculatorsWhich calculators are ready here, which need setup and what each missing one needs (NWChem/ORCA executables, a Hugging Face token for UMA, uv for the xTB/MACE/UMA environments), and which calculator environments are already prepared. prepare: calculators whose environment to build now (xtb, mace, uma), so the first calculation does not wait for it.
Examples
Replace example paths with your own files and check the returned results.
Usage
Available tools: smiles_to_structure, inspect_structure, set_geometry, run_ase, displace_along_mode, trajectory_frame, calculators.
Inspect the tool input schema in your MCP client before calling it. Use a small known input, check the result and any reported errors, then expand to the intended workload.