About Chemdraw Skill
Chemdraw Skill is an MCP server published by ZiChenWang114514 in the Files category: chemDraw Skill · AI 绘制可编辑化学结构式 — Editable ChemDraw structures for Claude Code, Codex & any AI agent: draw molecules, rebuild paper figures (DECIMER OCSR), SAR & substrate-scope tables, ACS 1996 exam drawings, live ChemDraw in Word/PPT. Conduid read 15 tools from its source: convert_cdx_cdxml, draw_molecule, embed_cdxml_in_office, extract_cdxml_from_office, extract_structures_from_image, format_lab_entry and 9 more. No package is published for it, so it installs from a source checkout.
The repository has 64 stars and 5 forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v0.7.0a2. It is the only release Conduid has on record for this repository. It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include cdxml, chemdraw, chemical-drawing, cheminformatics, chemistry and rdkit.
Install
git clone https://github.com/ZiChenWang114514/chemdraw-skillTools (15)
convert_cdx_cdxmlConvert bidirectionally between CDX (binary) and CDXML (XML) formats.| Parameter | Type | Description |
|---|---|---|
| input_path * | string | Path to .cdx or .cdxml file. |
| output_path | string | Output file path. If not given, same directory as input with the swapped extension (e.g. foo.cdx → foo.cdxml). |
draw_moleculeRender a single molecule to a standalone CDXML document.| Parameter | Type | Description |
|---|---|---|
| mol_json * | object | Molecule dict with at least {"smiles": "..."}. Optional display fields: "label" (used verbatim), "name", "iupac_name". Should come from another tool's output, not hand-constructed. |
| output_path | string | If given, also write CDXML to this file path. |
embed_cdxml_in_officeEmbed a CDXML file as an editable ChemDraw OLE object in PPTX or DOCX.| Parameter | Type | Description |
|---|---|---|
| cdxml_path * | string | Path to the CDXML file to embed. |
| office_path * | string | Path to the target .pptx or .docx file. Created if it does not exist. |
| output_path | string | Output file path. If not given, writes to office_path (modifies in place via temp file). |
extract_cdxml_from_officeExtract embedded ChemDraw objects from a PPTX, DOCX, XLS, or XLSX file.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to a .pptx, .docx, .xlsx, or .xls file. |
| output_dir | string | Directory for extracted CDXML files. Default: a folder named "<basename>_chemdraw/" next to the input file. |
extract_structures_from_imageExtract chemical structures from an image using DECIMER.| Parameter | Type | Description |
|---|---|---|
| detect_labels | boolean | Attempt OCR detection of text labels near structures. Requires pytesseract or easyocr; labels are null without an OCR library. Default True. |
| image_path * | string | Path to PNG, JPG, or PDF file. |
format_lab_entryFormat a list of entry dicts into a structured lab book text entry.| Parameter | Type | Description |
|---|---|---|
| entries_json * | any | List of entry dicts, or a JSON string, or {"entries": [...]}. |
| output_path | string | If given, write the formatted text to this file and return {ok, output_path, size} instead of {ok, text}. |
modify_moleculeAnalyze or transform a molecule with structural verification.| Parameter | Type | Description |
|---|---|---|
| add | array | For "name_surgery" — list of {"locant": str, "prefix": str} dicts. |
| description | string | For "set_smiles" — optional context note. |
| mol_json * | object | Source molecule dict with at least {"smiles": "..."}. |
| new_name | string | For "set_name" — new display name string. |
| new_smiles | string | For "set_smiles" — validated SMILES string. |
| operation * | string | One of: "analyze", "name_surgery", "smarts", "set_smiles", "set_name", "reaction". |
| reaction_name | string | For "smarts"/"reaction" — template name. |
| reagent | object | For "reaction" — dict with "smiles" key for the second reagent. |
| remove | array | For "name_surgery" — list of prefix strings to remove. |
| smarts | string | For "smarts" — reaction SMARTS string. |
parse_analysis_fileParse an LCMS or NMR analysis file to extract peaks and data.| Parameter | Type | Description |
|---|---|---|
| output_path | string | If given, write the parsed data as JSON to this file and return {ok, output_path, size} instead of the full dict. |
| pdf_path * | string | Path to an LCMS file (.pdf, .rpt, .daml, report.txt, .mzML/.mzXML or a Waters .raw folder) or NMR PDF. |
parse_reactionParse reaction files into a semantic JSON descriptor.| Parameter | Type | Description |
|---|---|---|
| cdx | string | Path to a .cdx reaction file (converted internally). |
| cdxml | string | Path to a .cdxml reaction file. |
| csv | string | Path to a Findmolecule ELN CSV export. |
| input_dir | string | Directory containing experiment files (auto-discovers cdxml/cdx/csv/rxn by experiment ID). |
| output_path | string | If given, write the result JSON to this file and return {ok, output_path} instead of the full dict. |
| rxn | string | Path to a .rxn file. |
parse_schemeParse a CDXML reaction scheme into a structured description.| Parameter | Type | Description |
|---|---|---|
| cdxml_path * | string | Path to a CDXML file containing a reaction scheme. |
| output_path | string | If given, write the result JSON to this file and return {ok, output_path, size} instead of the full dict. |
render_schemeRender an editable chemical reaction scheme with per-fragment chemical validation.| Parameter | Type | Description |
|---|---|---|
| compact_text | string | Compact DSL syntax string. |
| json_path | string | Path to a reaction JSON file. |
| layout | string | Layout for json_path: "auto", "landscape", "portrait". |
| output_path | string | If given, write the CDXML to this file and return {ok, output_path, size} instead of the raw CDXML string. |
| yaml_text | string | YAML scheme descriptor string. |
render_to_pngRender a CDXML file to PNG using ChemDraw.| Parameter | Type | Description |
|---|---|---|
| cdxml_path * | string | Path to the CDXML file to render. |
| output_path | string | Output PNG path. If not given, writes to the same directory as the input with a .png extension. |
resolve_nameResolve any chemical identifier to a rich molecule descriptor.| Parameter | Type | Description |
|---|---|---|
| query * | string | Chemical identifier — common name, IUPAC name, abbreviation, condensed formula (e.g. "PhB(OH)2"), or CAS number. Examples: "aspirin", "Cs2CO3", "2-chloropyridine", "534-17-8", "Et3N". |
| use_network | boolean | Allow PubChem lookup (requires internet). Default True. |
search_compoundSearch for a compound across experiment JSON files by SMILES similarity.| Parameter | Type | Description |
|---|---|---|
| experiment_dir * | string | Directory containing reaction JSON files to search. |
| similarity_threshold | number | Tanimoto similarity cutoff (0–1). Default 0.85. |
| smiles * | string | SMILES string of the compound to search for. Use resolve_name to get a validated SMILES first. |
summarize_reactionReturn a compact, context-efficient view of a reaction JSON file.| Parameter | Type | Description |
|---|---|---|
| eln_fields | array | ELN data fields. Available: sm_mass, product_obtained, product_yield, procedure_text, procedure_plain, reaction_type, start_date, labbook_name, solvents, solvent_details. Pass ["*"] for all. |
| json_path * | string | Path to a reaction JSON file from parse_reaction. |
| species_fields | array | Species fields to include. Available: id, name, role, role_detail, smiles, smiles_neutral, is_sm, is_dp, is_substrate, is_solvent, exact_mass, exact_mass_full, mw, formula, adducts, source, source_id, csv_equiv, csv_mass, csv_name, csv_volume, csv_supplier, display_text, original_geometry. Pass ["*"] for all. |
| top_fields | array | Top-level fields. Available: version, experiment, input_files, reaction_smiles, reaction_class, reaction_name, classification_confidence, warnings, metadata, conditions. Pass ["*"] for all. |
Security checks
- ✓README presentThe repository's README runs to about 3.3K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionScanned 131 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 3.3K words, fetched a month ago. The original in the repository is authoritative.
Read full README