Decimer
Read a chemical structure drawing (PNG, JPEG) into SMILES with the DECIMER image-to-SMILES model, checked with RDKit.
claude mcp add --scope project clio-decimer -- clio-kit mcp-server decimer
Install the launcher first. Restart your client after setup. Configuration locations →
Check the connection
clio-kit doctor --server decimer --connect
Checks prerequisites and tool discovery. Test on known input to verify results. Native backends may require additional setup.
Tools
image_to_smilesRead the chemical structure drawn in an image (PNG, JPEG, GIF, TIFF, BMP, WEBP; one molecule) into a SMILES string with DECIMER, then check it with RDKit: valid or not, canonical SMILES, formula, molecular weight (g/mol), stereo centres, InChIKey, and the model's per-token confidence. An invalid SMILES is still returned as the model wrote it. hand_drawn=true uses DECIMER's model for sketches. The result is a model's reading and must be checked against the image.
crop_imageCut a rectangle out of an image (for example one structure from a paper's figure) and save it as PNG under output_dir/chemistry/decimer/. box is [left, top, right, bottom] in pixels from the top-left corner, or as fractions of the width and height with unit='fraction'. Returns the new image's path.
Examples
Replace example paths with your own files and check the returned results.
Usage
Available tools: image_to_smiles, crop_image.
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.