Atlas / MCP servers / sebotic / CDK Pywrapper

CDK PywrapperCAUTION

mcp/sebotic/cdk-pywrapper

A Python wrapper for the Chemistry Development Kit (CDK)

Verdict
CAUTION
Grade
B
Trust score
87 /100
Exposed tools
8 8r · 0w · 0d
Transport
—
License
AGPL-3.0
Stars
38
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Python Wrapper for the Chemistry Development kit

tl;dr

  • A Python wrapper for the Chemistry Development Kit (CDK), which is written in Java
  • Primary purpose:
  • Generate diverse chemical compound identifiers (SMILES, InChI).
  • Inter-convert between these identifiers.
  • Integration with chem
  • Fully compatible with Python 3.x.

Motivation

Cheminformatics only has a small number of open source tools, e.g. OpenBabel, the Chemistry Development Kit and RDKit.

Every framework has its pros and cons, e.g. OpenBabel has issues with InChI generation from SMILES.

CDK lacks the ability to be used with Python, while Python has become the indispensable programming language for data science, also in cheminformatics and computational biology.

Also, all three frameworks lack integration with databases.

Installation

Before installing cdk_pywrapper, make sure to have a Java JDK available on your system, e.g. OpenJDK.

Then, you can install from the repository directly.

# Create Python virtual environment named 'cdk_pywrapper'
python3 -m venv ./cdk_pywrapper
source ./cdk_pywrapper/bin/activate

# Clone repository from GitHub
git clone https://github.com/sebotic/cdk_pywrapper.git
cd cdk_pywrapper

# Install into created venv
pip install .

This will install the package on your local system. Setuptools will take care of downloading the CDK.jar and it will build the cdkbridge.java. So after that, cdkpywrapper should be ready to use, like in the example below.

cdk_pywrapper was tested on Linux and MacOS, but it should also work on Windows.

Example

from cdk_pywrapper.cdk_pywrapper import Compound

smiles = 'CCN1C2=CC=CC=C2SC1=CC=CC=CC3=[N+](C4=CC=CC=C4S3)CC.[I-]'
cmpnd = Compound(compound_string=smiles, identifier_type='smiles')
ikey = cmpnd.get_inchi_key()
print(ikey)

Output: 'MNQDKWZEUULFPX-UHFFFAOYSA-M'

MCP server

I al

Read from source at commit 224922749a82OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add cdk_pywrapper -- uvx cdk_pywrapper
claude-desktop
{
  "mcpServers": {
    "cdk_pywrapper": {
      "command": "uvx",
      "args": [
        "cdk_pywrapper"
      ]
    }
  }
}
03

Exposed tools (8)

8 read · 0 write · 0 destructive.

ToolRiskDescription
calculate_lipinski_rule_of_5read
calculate_molecular_descriptorsread
generate_molecule_svgread
get_compound_identifiersread
get_tautomersread
perform_substructure_searchread
query_chembl_by_inchi_keyread
search_compound_by_nameread
04

Trust audit

CAUTIONgrade B · trust 87/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (5 observation(s))
Shell
declared (2 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (6)

MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
cdk_pywrapper/chemlib.py:779
'Β': '\u0392',
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
cdk_pywrapper/chemlib.py:780
'Γ': '\u0393',
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
cdk_pywrapper/chemlib.py:782
'Ε': '\u0395',
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
cdk_pywrapper/chemlib.py:784
'Η': '\u0397',
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
cdk_pywrapper/chemlib.py:785
'Θ': '\u0398',
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
py4j, psutil, wget, fastmcp, requests, pandas, numpy, wikidataintegrator
Why it matters. 9 requirement(s) not pinned with ==
Fix. pin exact versions

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 224922749a82full audit observations/trust-audit/mcp-server/sebotic__cdk-pywrapper.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08224922749a82CAUTIONB87first audit
06

Questions

What is the CDK Pywrapper MCP server?

A Python wrapper for the Chemistry Development Kit (CDK)

What tools does CDK Pywrapper expose?

8 in total: 8 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is CDK Pywrapper safe to connect to an agent?

With care. The audit graded it B (87/100) and found 6 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does CDK Pywrapper need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (224922749a82), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement