MCP App Store
by KeenEthics
Education & Research
MolChart icon

MolChart

by XIANGYANG WANG

Overview

Draw and manipulate molecular structures and chemical reactions. Create molecules from SMILES, add atoms and bonds, and export to various formats.

Tools

molchart.add_atom

ChatGPT
Add an atom to a molecule, optionally bonded to an existing atom.

molchart.add_bond

ChatGPT
Add a bond between two atoms.

molchart.add_ring_template

ChatGPT
Add a ring template to the canvas.

molchart.analyze_stereochemistry

ChatGPT
Analyze stereochemistry: identify stereocenters, E/Z double bonds, and validate wedge bonds

molchart.analyze_substituents

ChatGPT
Analyze electron-donating/withdrawing effects of substituents (Hammett sigma values)

molchart.attach_functional_group

ChatGPT
Attach a functional group to an atom.

molchart.calculate_charges

ChatGPT
Calculate Gasteiger partial charges for all atoms

molchart.calculate_properties

ChatGPT
Calculate physicochemical properties: MW, LogP, TPSA, H-bond donors/acceptors, drug-likeness (Lipinski, Veber)

molchart.cleanup_geometry

ChatGPT
Recalculate 2D coordinates for a molecule, preserving canvas position.

molchart.cleanup_stereochemistry

ChatGPT
Clean up stereochemistry issues: fix wedge directions, remove redundant wedges, add missing wedges

molchart.clear_canvas

ChatGPT
Clear all objects from the canvas.

molchart.create_document

ChatGPT
Create a new document to draw molecules on. Returns doc_id to use in other tools.

molchart.create_molecule_from_smiles

ChatGPT
Create a new molecule from SMILES notation.

molchart.create_reaction_arrow

ChatGPT
Create a reaction or electron-pushing arrow on the canvas.

molchart.create_text

ChatGPT
Create a text label on the canvas.

molchart.delete_atom

ChatGPT
Delete an atom and all connected bonds.

molchart.delete_bond

ChatGPT
Delete a bond.

molchart.delete_document

ChatGPT
Delete a document permanently

molchart.delete_object

ChatGPT
Delete an object from the canvas.

molchart.draw_reaction

ChatGPT
Draw a complete chemical reaction with proper layout. Creates reactants, arrow with conditions, and products all in one row with + signs. This is the recommended way to draw reactions. Each species can be a string (SMILES or formula) or an object with 'formula' and optional 'coefficient'.

molchart.enumerate_tautomers

ChatGPT
Enumerate possible tautomers of a molecule

molchart.export_3mf

ChatGPT
Export molecule to 3MF format for 3D printing

molchart.export_cdxml

ChatGPT
Export a molecule in CDXML format (ChemDraw)

molchart.export_molfile

ChatGPT
Export a molecule in MOL file format (V2000)

molchart.export_sdf

ChatGPT
Export molecule to SDF format with 3D coordinates

molchart.export_smiles

ChatGPT
Export a molecule as SMILES string

molchart.generate_3d

ChatGPT
Generate 3D coordinates for a molecule with optional geometry optimization

molchart.get_canvas_state

ChatGPT
Get the current canvas state including all molecules

molchart.get_compound_details

ChatGPT
Get detailed information about a PubChem compound by CID

molchart.import_molfile

ChatGPT
Import a molecule from MOL file (V2000) format

molchart.list_documents

ChatGPT
List all available documents

molchart.list_objects

ChatGPT
List all objects on the canvas with their IDs, types, and basic info

molchart.move_object

ChatGPT
Move an object to new canvas coordinates.

molchart.open_document

ChatGPT
Open an existing document to continue working on it

molchart.search_by_name

ChatGPT
Search PubChem database by compound name

molchart.search_pubchem

ChatGPT
Search PubChem database by structure (identity, similarity, substructure)

molchart.set_arrow_style

ChatGPT
Recolour or re-weight an existing arrow (style.stroke / style.strokeWidth,

molchart.set_atom_charge

ChatGPT
Set the formal charge on an atom.

molchart.set_atom_element

ChatGPT
Change the element of an atom.

molchart.set_atom_hydrogens

ChatGPT
Pin (or reset) the number of hydrogens drawn on an atom.

molchart.set_bond

ChatGPT
Modify an existing bond's order or stereochemistry.

molchart.set_lone_pairs

ChatGPT
Override (or reset) the lone-pair count drawn on an atom, and show the dots.

molchart.set_molecule_style

ChatGPT
Recolour a molecule (QA-0066). Writes the same keys the toolbar colour

molchart.set_text_style

ChatGPT
Restyle an existing label: colour, size, weight, italic, family, underline.

molchart.show_document

ChatGPT
Display the document in the MolChart widget. Call this after creating or modifying molecules to show the result to the user. This is the ONLY way to display the widget. If doc_id is not provided, shows the most recently used document.

molchart.show_lone_pairs

ChatGPT
Draw (or hide) lone-pair and unpaired-electron dots on a molecule.

molchart.update_document

ChatGPT
Update document properties (title, notes)

molchart.validate_structure

ChatGPT
Validate molecular structure for common issues (valence errors, missing coordinates)

Capabilities

WritesInteractive

Example Prompts

Click any prompt to copy it.

App Stats

48

Tools

2

Prompts

ChatGPT

Platforms

Works with

ChatGPT

Data refreshed daily