BIOVIA Draw MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BIOVIA Draw MCP Server draw aspirin and embed it in my report.docx as an editable OLE object"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BIOVIA Draw MCP Server (biovia-draw-mcp)
Disclaimer: This is an unofficial, independent community project licensed under the MIT License. It is not affiliated with, endorsed by, or sponsored by Dassault Systèmes or BIOVIA. No proprietary BIOVIA binaries or libraries are distributed in this repository — the helper engine compiles locally against your own legally installed copy of BIOVIA Draw on Windows.
Русская версия документации (README.ru.md)
A Model Context Protocol (MCP) server that gives AI assistants (Antigravity, OpenAI Codex CLI, Claude Desktop, Cursor, VS Code, etc.) native control over BIOVIA Draw (.skc, .mol, .rxn, .sdf, .cdx, HELM, InChI, offline IUPAC, Journal Settings presets, clipboard) and Microsoft Office (genuine double-clickable BIOVIA Draw OLE objects inside Word .docx and PowerPoint .pptx documents — not static images!).
Key Features
Native BIOVIA Draw
.NET& OLE Integration — builds real.skcsketches, MDL.mol(V2000 & V3000),.rxnreactions, and genuine OLE Compound Binary objects (MDLDrawOLE.MDLDrawObject.1) via your locally installed BIOVIA Draw assemblies (auto-discovered via Windows Registry & GAC across versions).Chemical Reactions & Biopolymers — construct reaction schemes (
CleanUpReaction()layout from Reaction SMILES or structured reactants/reagents/products) and HELM peptides / oligonucleotides.Bidirectional GUI & Format Conversion — read
.skc,.mol,.rxn, ChemDraw.cdx, and structures copied (Ctrl+C) directly from BIOVIA Draw; convert offline betweenSMILES ↔ IUPAC ↔ InChI ↔ InChIKey ↔ HELM ↔ Molfile V2000/V3000 ↔ SKC ↔ PNG.Journal Publication Presets — supports BIOVIA Draw's built-in
Journal Settings(ACS Document,RSC Document,Wiley Document,Presentations, etc.), black-and-white or element coloring, implicit hydrogen modes, and CIPR/S+E/Zstereo labels.Structure Validation & SDF Libraries — stereochemistry validation via
PPChemAPI(GetBadStereos, axial stereo, allenes, atropisomers) plus.sdfinspect / split / merge tools.Authoritative Scientific Databases — built-in non-Wikipedia lookups via PubChem (NIH) and ChEMBL (EMBL-EBI) including Lipinski Rule-of-5 descriptors.
Microsoft Office Native OLE Objects (Word & PowerPoint):
Insert into any existing
.docxvia placeholders ({{biovia:aspirin}}), table cell coordinates, or appending — preserving all existing styles and formatting.Generate formatted Word chemistry/pharmacology reports with auto-subscripted formulas, embedded BIOVIA Draw OLE objects, optional Wikipedia URL blocker, and automatic PDF export + Word OLE verification.
Create 16:9 PowerPoint
.pptxdecks with genuine double-clickable BIOVIA Draw OLE structures on every slide.
Zero External Python Dependencies — runs on standard Python 3.9+ stdlib.
Related MCP server: live-chemdraw-mcp
Platform Support Matrix
Because BIOVIA Draw and Windows COM/OLE are Windows-only technologies, biovia-draw-mcp automatically selects the best backend for your OS (override anytime with BIOVIA_BACKEND=biovia|rdkit):
Capability | Windows + BIOVIA Draw ( | Linux / macOS ( |
Structures ( | ✅ Native BIOVIA Draw | ✅ RDKit |
Native BIOVIA | ✅ | ❌ (Windows only) |
Chemical reactions ( | ✅ | ✅ RDKit |
Peptides / Biopolymers (HELM, 1-letter, 3-letter) | ✅ | ✅ |
Journal Settings presets (ACS, RSC, Wiley, etc.) | ✅ All 9 BIOVIA XML presets | ✅ BW / Color styles |
Structure validation & stereochemistry checks | ✅ PPChemAPI | ✅ RDKit sanitization & stereo |
| ✅ | ✅ |
PubChem (NIH) & ChEMBL (EMBL-EBI) lookups | ✅ | ✅ |
Word ( | ✅ Editable BIOVIA Draw OLE objects ( | ✅ Crisp 300-DPI inline images |
PDF export | ✅ Microsoft Word / PowerPoint COM | ✅ LibreOffice ( |
BIOVIA Draw GUI clipboard ( | ✅ | ❌ (Windows only) |
Requirements
Windows (Full Native BIOVIA Draw + Office OLE):
Windows 10/11 (64-bit), locally installed BIOVIA Draw (2020–2026+), Python 3.9+ (zero pip dependencies), .NET Framework 4.x, (optional) Microsoft Word/PowerPoint.
Linux & macOS (Cross-Platform RDKit Backend):
Python 3.9+,
rdkit(pip install rdkit— installed automatically by./install.sh), (optional) LibreOffice (soffice) for PDF export.
Quick Start
Windows
git clone https://github.com/jakecharisma-prog/biovia-draw-mcp.git
cd biovia-draw-mcp
powershell -ExecutionPolicy Bypass -File .\install.ps1
# Or auto-register in OpenAI Codex CLI too:
powershell -ExecutionPolicy Bypass -File .\install.ps1 -ConfigureCodexLinux & macOS
git clone https://github.com/jakecharisma-prog/biovia-draw-mcp.git
cd biovia-draw-mcp
chmod +x install.sh
./install.sh
# Or auto-register in OpenAI Codex CLI too:
./install.sh --configure-codexinstall.ps1 automatically:
Discovers your installed BIOVIA Draw
.NETassemblies in the Windows GAC and compilesbin\BioviaEngine.exelocally.Runs a full health check (
BIOVIADraw.exe, OLE ProgID, offline OpenEye IUPAC, PPChemAPI InChI/HELM, Word/PowerPoint COM, Journal presets).Prints the ready-to-paste JSON snippet for your MCP client.
Client Configuration
OpenAI Codex CLI (%USERPROFILE%\.codex\config.toml)
You can register automatically with install.ps1 -ConfigureCodex, via CLI:
codex mcp add biovia-draw -- "C:/path/to/python.exe" -u "C:/path/to/biovia-draw-mcp/server.py"or manually in %USERPROFILE%\.codex\config.toml (see examples/codex_config.toml):
[mcp_servers.biovia-draw]
command = "C:/path/to/python.exe"
args = [
"-u",
"C:/path/to/biovia-draw-mcp/server.py"
]
startup_timeout_sec = 30
tool_timeout_sec = 180Then start codex and run /mcp to verify all 17 biovia_* tools are connected.
Antigravity / Claude Desktop / Cursor (JSON)
Add the server to your MCP client config (see examples/):
{
"mcpServers": {
"biovia-draw": {
"command": "python",
"args": [
"-u",
"C:/path/to/biovia-draw-mcp/server.py"
]
}
}
}Antigravity:
~/.gemini/config/mcp_config.jsonClaude Desktop:
%APPDATA%\Claude\claude_desktop_config.jsonCursor:
.cursor/mcp.jsonor global MCP settings
Available MCP Tools (17)
Category | Tool | Description |
System |
| Verify BIOVIA Draw, OLE handler, OpenEye IUPAC, PPChemAPI, Office COM, presets |
| List installed BIOVIA Draw | |
Drawing |
| Build |
| Build reaction schemes from Reaction SMILES, | |
| Build peptides/nucleotides/ADCs from HELM notation | |
| Open | |
| Put | |
Reading & QA |
| Read |
| Read structure copied from BIOVIA Draw ( | |
| Offline conversion between SMILES, IUPAC, InChI, InChIKey, HELM, V2000/V3000, SKC, PNG | |
| Stereo & structure quality checks via PPChemAPI (bad stereos, axial, allenes, atropisomers) | |
Data |
|
|
| Query PubChem (NIH) and/or ChEMBL (EMBL-EBI) (non-Wikipedia) + Lipinski Ro5 | |
Office OLE |
| Inject editable BIOVIA Draw OLE objects into any existing |
| Generate formatted Word report with BIOVIA Draw OLE objects, subscripts, non-Wiki links & PDF | |
| Create 16:9 PowerPoint | |
| Export |
Architecture
MCP Client (Antigravity / Claude / Cursor)
│ JSON-RPC 2.0 (stdio)
▼
server.py ──► src/biovia_draw_mcp/
├── server.py (17 MCP tools)
├── chem_utils.py (V2000/V3000 formula/MW, SDF parser/writer)
├── databases.py (PubChem NIH + ChEMBL EMBL-EBI)
├── docx_builder.py (OOXML report & existing-DOCX OLE injector)
├── pptx_builder.py (OOXML PowerPoint OLE deck builder)
└── engine_bridge.py (JSON IPC + auto-build)
│
▼
bin/BioviaEngine.exe (.NET 4.x x64, compiled locally)
├── MDL.Draw.Foundation / Renderer / Clipboard (GAC)
├── SymyxDrawOLE.dll (MDLDrawOLE.MDLDrawObject)
└── Microsoft Word / PowerPoint COM (PDF export & OLE verify)Running Tests
# Fast cross-platform unit tests (no BIOVIA Draw required — also runs in GitHub Actions CI)
python -m unittest discover -s tests -p "test_*.py" -v
# or with pytest:
pytest -v -m "not integration"
# Full live integration tests (Windows + BIOVIA Draw + Microsoft Office)
python tests/test_integration_live.pyLicense
MIT License. BIOVIA and BIOVIA Draw are trademarks of Dassault Systèmes. Microsoft Word and PowerPoint are trademarks of Microsoft Corporation.
Available Tools
17 toolsbiovia_convert_formatB
Convert chemical representations offline via BIOVIA Draw between SMILES, IUPAC name, InChI, InChIKey, HELM, Molfile V2000/V3000, SKC, CDX (input), and PNG.
Inputs: target_format (required), helm, inchi, scale, +10 more.
biovia_copy_structure_to_clipboardB
Render a structure via BIOVIA Draw and place native MDLCT/MDLSK/EMF clipboard formats onto the Windows clipboard for instant Ctrl+V.
Inputs: helm, inchi, scale, smiles, +7 more.
biovia_create_drug_reportC
Generate a formatted Word (.docx) chemistry/pharmacology table report where column 3 contains genuine embedded BIOVIA Draw OLE objects (MDLDrawOLE.MDLDrawObject.1), auto-subscripted formulas, clickable non-Wikipedia links, exact margins/typography, and automatic PDF export.
Inputs: compounds (required), output_docx_path (required), scale, title, +12 more.
biovia_create_pptx_slidesA
Create a 16:9 PowerPoint (.pptx) presentation where each slide embeds a genuine editable BIOVIA Draw OLE object (molecule, reaction, or HELM sequence) with title, subtitle, bullet notes, and optional PDF export.
Inputs: slides (required), output_pptx_path (required), scale, export_pdf, +5 more.
biovia_create_reactionB
Build a chemical reaction scheme natively in BIOVIA Draw with CleanUpReaction() layout. Accepts reaction SMILES (e.g. 'CC(=O)O.OCC>>CC(=O)OCC.O'), MDL $RXN text, or structured reactants/reagents/products. Outputs .rxn, .skc, genuine BIOVIA Draw OLE .bin, and 300-DPI PNG.
Inputs: scale, title, rxnfile, products, +10 more.
biovia_create_sequenceA
Build a biopolymer / peptide structure natively in BIOVIA Draw from HELM notation (e.g. 'PEPTIDE1{A.G.C.K}$$$$'), 1-letter ('AGCK'), or 3-letter ('Ala-Gly-Cys-Lys') sequence. Outputs .skc, .mol, OLE .bin, and 300-DPI PNG.
Inputs: helm, scale, sequence, file_stem, +5 more.
biovia_create_structureB
Create a chemical structure natively using BIOVIA Draw from SMILES, IUPAC name, InChI, HELM, Molfile, or an existing file (.skc/.mol/.cdx). Generates .skc, .mol (V2000/V3000), genuine BIOVIA Draw OLE binary storage (.bin), 300-DPI PNG preview, and computes IUPAC, InChI, InChIKey, formula, and MW.
Inputs: helm, inchi, scale, smiles, +11 more.
biovia_export_pdfB
Convert a Word (.docx) or PowerPoint (.pptx) document to PDF via Microsoft Office COM and verify all embedded BIOVIA Draw OLE objects.
Inputs: pdf_path, docx_path, pptx_path.
biovia_healthB
Check BIOVIA Draw installation, assembly version, OLE handler (MDLDrawOLE.MDLDrawObject), offline OpenEye IUPAC, PPChemAPI (InChI/HELM), Microsoft Word/PowerPoint COM, and available Journal Settings presets.
Inputs: no named parameters.
biovia_insert_ole_into_docxA
Embed genuine editable BIOVIA Draw OLE objects (MDLDrawOLE.MDLDrawObject.1 — NOT plain pictures!) into ANY existing Word (.docx) document. Supports replacing placeholders like '{{biovia:aspirin}}', inserting into a specific table cell (table_index/row_index/col_index), or appending.
Inputs: insertions (required), input_docx_path (required), scale, export_pdf, +6 more.
biovia_list_presetsA
List all BIOVIA Draw Journal Settings rendering presets installed locally (e.g. ACS Document, RSC Document, Wiley Document, Presentations).
Inputs: no named parameters.
biovia_lookup_compoundA
Search authoritative non-Wikipedia scientific databases — PubChem (NIH) and/or ChEMBL (EMBL-EBI) — by name, SMILES, or InChIKey. Returns canonical SMILES, IUPAC, formula, MW, LogP, TPSA, Lipinski Rule of 5, and official URL.
Inputs: query (required), database, query_type.
biovia_open_structureB
Open an existing .skc/.mol/.rxn file (or generate from SMILES/IUPAC/InChI/HELM and open) directly inside the BIOVIA Draw GUI window.
Inputs: helm, inchi, smiles, file_path, +1 more.
biovia_read_clipboardA
Read the chemical structure currently copied from BIOVIA Draw (Ctrl+C) on the Windows clipboard (MDLSK/MDLCT). Returns SMILES, IUPAC name, InChI, InChIKey, formula, MW, and stereo validation.
Inputs: include_molfile.
biovia_read_structureA
Read any .skc (BIOVIA Draw), .mol (V2000/V3000), .rxn, .cdx (ChemDraw!), or BIOVIA .xml file. Returns SMILES, offline IUPAC name, InChI, InChIKey, HELM, formula, MW, stereochemistry validation, and optional PNG preview.
Inputs: file_path (required), scale, style_preset, hydrogen_mode, +4 more.
biovia_sdf_toolsB
Inspect, split (to .skc/.mol/.png/OLE), or merge multi-molecule MDL .sdf libraries with associated tag properties.
Inputs: action (required), scale, entries, sdf_path, +6 more.
biovia_validate_structureC
Validate a chemical structure using BIOVIA Draw PPChemAPI (stereochemistry errors, bad axial stereo, allenes, atropisomers).
Inputs: helm, inchi, smiles, molfile, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Most tools have clearly distinct verbs and resources (create_reaction vs create_sequence vs validate_structure vs lookup_compound are unambiguous). There is some blur between the creation/reading family: create_structure, open_structure, and convert_format all accept the same inputs (SMILES/InChI/HELM) and can all emit mol/skc, so an agent may hesitate over which to pick when it just wants a converted file. read_structure vs read_clipboard is well-differentiated by source.
All 17 tools share a consistent 'biovia_' prefix with snake_case verb_noun bodies (create_structure, read_structure, insert_ole_into_docx, export_pdf). Two deviations: 'biovia_health' has no verb/object structure and 'biovia_sdf_tools' is a noun bucket rather than an action. These are minor and still readable.
17 tools sit just above the comfortable 3-15 band, but the surface splits into coherent functional groups (format conversion, structure/reaction/sequence creation, clipboard I/O, SDF handling, database lookup, Office embedding and export) with essentially no redundant filler. Slightly heavy, yet each tool maps to a distinct workflow an agent would actually invoke.
The lifecycle is well covered: ingest (open/read/clipboard), create (structure/reaction/sequence), convert, validate, look up, batch SDF operations, and publish into Word/PowerPoint/PDF. Gaps are minor but real — there is no tool to edit/modify an existing structure file in place, no delete/cleanup, and no way to close or save a GUI document session. Agents can work around these by re-creating structures from read output.
Maintenance
Related MCP Connectors
Draw, name and check chemical structures with a chemist, in an editor inside the chat.
Draws chemical structures and reactions as journal-style figures; converts and analyses molecules.
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Chemistry, pharma and biotech tools for AI assistants: NMR, MS, IR and UV analysis, ADMET and ICH M7, stability (ICH Q1), HPLC methods, DoE, docking, retrosynthesis, biologics. Deterministic results you can check. Built in Leipzig, Germany.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables generation of chemical structures, reactions, spectra, titration curves, 3D models, and more from natural language or SMILES, using RDKit for offline rendering and supporting formats like PNG, SVG, CDXML, and Anki decks.1833Apache 2.0
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to a live ChemDraw window on Windows via COM automation, enabling drawing, editing, and organizing chemical structures directly in the open document. Supports structure insert/export, scope tables, shorthand groups, figure layout, chemistry QC, publication tools, annotations, polymer brackets, and TLC plates.2MIT
- AlicenseCqualityFmaintenanceEnables LLM agents to draw and edit ChemDraw reaction schemes, parse ELN exports and LCMS/NMR data, and generate publication-ready CDXML files through grounded chemistry tools.353MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to create and edit Office documents, presentations, and spreadsheets, as well as generate diagrams, charts, citations, and research project structures.14ISC