Pubchem
Look compounds up in PubChem by name (candidates when a name is ambiguous) and fetch their 3D structures as SDF.
claude mcp add --scope project clio-pubchem -- clio-kit mcp-server pubchem
Install the launcher first. Restart your client after setup. Configuration locations →
Check the connection
clio-kit doctor --server pubchem --connect
Checks prerequisites and tool discovery. Test on known input to verify results. Native backends may require additional setup.
Tools
resolve_nameFind the PubChem compound a name means. A name PubChem maps to exactly one compound returns status 'resolved' with its CID, title, IUPAC name, formula, molecular weight (g/mol), isomeric and canonical SMILES, InChIKey and stereo centre counts. A name that maps to several compounds or to none ('xylene') returns status 'ambiguous' with up to max_candidates candidates (found by PubChem's name dictionary and word search) for the person to choose from.
get_compoundThe PubChem record of one compound by CID: title, IUPAC name, formula, molecular weight (g/mol), isomeric and canonical SMILES, InChIKey, charge, stereo centre counts, components, and its first 20 synonyms (common names, CAS numbers).
fetch_structureDownload a compound's 3D conformer (with hydrogens) from PubChem as an SDF file under output_dir/chemistry/pubchem/cid<CID>-<name>/, plus a JSON compound record. Returns the structure record {path, format, formula, n_atoms, sha256}. When PubChem has no 3D conformer the result says so (has_3d false, fallback '2d_record') and writes the flat 2D record; embed 3D coordinates from the SMILES with ase.smiles_to_structure instead.
Examples
Replace example paths with your own files and check the returned results.
Usage
Available tools: resolve_name, get_compound, fetch_structure.
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.