chemdraw-mcp
CLAUDE.md33 starsChanged 7 days agoApache-2.0View on GitHub
Maintainer process rules live in plans/regeln-intern.md, a private repo; helpers must read it before working. MCP server for Claude Desktop that turns molecule names or SMILES into publication-style 2D structure drawings. PNG/SVG are the primary outputs (rendered offline via RDKit) — ChemDraw CDXML is an optional extra format, never a runtime requirement. Renamed from chemdraw-mcp (22.11.2026, plan plans/umbenennung-chempane.md). Distribution and import package are chempane; the commands chempane, chempane-install, chempane-doctor are new, the four old ones (chemdraw-mcp, chemdraw-tool-server, chemdraw-install, chemdraw-doctor) stay…
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- chempane/chempaneword for word, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 1
- chempane/chempane★ 33100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 69
Check panel appearance, first-install permissions and recordings manually.
- Very specific: line 199
Prefer a parameter over a new tool when the output is the same kind of thing.
- Very specific: line 357
Test output paths are redirected with monkeypatch.setattr against chempane.server.<DIR>.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
chemdraw-mcp
Maintainer process rules live in plans/regeln-intern.md, a private repo; helpers must read it before working.
MCP server for Claude Desktop that turns molecule names or SMILES into publication-style 2D structure drawings. PNG/SVG are the primary outputs (rendered offline via RDKit) — ChemDraw CDXML is an optional extra format, never a runtime requirement.
Build / Run
./install.sh # one-command setup: uv + deps + Claude Desktop config
uv sync # deps only
uv run chempane # run the MCP server (stdio) manually
uv run chempane-doctor # diagnose the installation (env, paths, network)Renamed from chemdraw-mcp (22.11.2026, plan plans/umbenennung-chempane.md). Distribution and import package are
chempane; the commands chempane, chempane-install, chempane-doctor are new, the four old ones
(chemdraw-mcp, chemdraw-tool-server, chemdraw-install, chemdraw-doctor) stay as aliases until 1.0. Desktop
connectors are chempane and chempane-pharma; the installer replaces chemdraw/chemdraw-pharma and keeps the
user's own env values. Rule for everything the user sees: write new, read old, move nothing —
chempane/settings.py is the only place that reads CHEMPANE_* (falls back to CHEMDRAW_*) and picks the output
folder (~/chempane-output, an existing ~/ChemDraw-Output stays in use). huelle/chemdraw-mcp is the old PyPI
package as a shell: only the shim chemdraw_tool (three main re-exports) and the four old commands, depending on
chempane>=<version> (tests/test_huelle.py; measured upgrade paths in the plan). User docs use the new names as of release 0.12.0; old commands and environment variables remain compatible until 1.0.
install.sh registers the server via chempane/desktop_config.py
(idempotent merge, writes a .bak backup, never touches other configured MCP
servers). The config logic lives in the package, not in scripts/, because the
wheel ships only chempane — PyPI users get chempane-install and a fully
working chempane-doctor from it. Claude Desktop launches MCP servers with a
minimal GUI PATH, so command must be an absolute path; the installer resolves
it and prints what it wrote.
If a host keeps the server process alive (Claude Desktop does), restart it
after changing server code or dependencies — a stale process mixes old
in-memory modules with new files and manifests as confusing RDKit/Boost
signature errors. Restart it yourself after such changes (osascript -e 'quit
app "Claude"' && sleep 2 && open -a Claude); an MCP stdio handshake
(initialize → tools/list) is the hard proof that the registered command works.
Verification workflow
- While editing:
npm --prefix chempane/ui run test:ui:watch, and for the panelnpm --prefix chempane/ui run build:watch—chem_app_ui()readsdist/on everyresources/read, so a host that re-reads the resource gets the new panel without a server restart (whether Desktop re-reads or caches is unmeasured). A watch rebuild is not byte-identical to a clean build (measured: 3,000.67 vs 2,996.67 kB for the same source): stop the watch and runnpm --prefix chempane/ui run buildbefore committing, or the gate goes red on the bundle. - Before every commit:
./test.sh. - After a panel or tool change:
test:host,./scripts/handshake.sh, andnpm --prefix chempane/ui run test:inspector— every panel tool rendered by a host we did not write (MCP Inspector 2.15.0 web, deep link, real server over HTTP viascripts/dev_http.py). - Before a release, scripted:
uv run python evals/tool-routing/run_claude.py --echt(Claude Code calls the real server once per panel tool: tool call, error-free result, no denied call) and the stub run of the routing cases. - Before a release and after a host-specific change, scripted in Desktop:
scripts/desktop-probe/run.sh A(one new prompt per panel tool: does the model call the tool, is there a permission dialog, does the panel appear) andscripts/desktop-probe/run.sh B(the checkpoints ofcheckpoints.jsonon the chats A left behind: the panel is rebuilt when a chat is reopened, tabs and toggles respond). XCUIAutomation drives the installed Claude Desktop. Update the accessibility names incheckpoints.jsonin the same commit — it searches by accessibility name, not by visible text. Rules for a probe run: (a) The probe counts as green only after two complete runs in a row with no change to the test code in between — a run that needed a fix to the probe proves the fix, not the product. (b) Every checkpoint must prove what its name says: a checkpoint called "rotatable 3D model" has to drag and compare the image before and after the drag. - Check panel appearance, first-install permissions and recordings manually.
evals/panel-beispiele.json feeds stages 3, 4 and 5 (arguments, prompt and a ready selector per panel tool);
tests/test_panel_beispiele.py keeps it in sync with the registration, so a new panel tool needs an entry.
scripts/dev_http.py is a development launcher bound to 127.0.0.1 and deliberately no wheel entry point: the
server writes files and has a destructive tool, so HTTP without auth is not a product feature.
Auto-Gate (the project's green/red)
./test.sh # lint + backend + bundle + frontend
npm --prefix chempane/ui run test:watch # JS unit tests in watch mode
./scripts/handshake.sh # real stdio handshake (needs network)
npm --prefix chempane/ui run test:host # panel in a sandboxed iframe behind a real AppBridge host + real server (needs network)
uv run python scripts/identitaet.py # name → right molecule (needs network)One-time frontend setup: cd chempane/ui && npm install && npx playwright install chromium
handshake.sh sits outside the gate because its first run downloads the MCP
Inspector. It is the only check that starts the server the way Claude Desktop
does — the absolute command out of claude_desktop_config.json — and asserts
the numbers the Python side predicts per registered connector (default MVP: 18 tools, 13 with a panel; pharma: 9, 4;
full profile: 25 tools, 17 with a panel).
The host test runs the panel in a sandboxed iframe against the real server. The Desktop check covers model routing and host-specific behavior.
The gate is built against two failure modes that cost more than a real test failure:
- false red — the dependency guard launches the actual Chromium build instead of checking that the cache folder exists (an existing folder with the wrong build killed the gate with the very stacktrace the guard exists to prevent). Playwright is pinned to one exact version on both sides.
- false green — the server serves
chempane/ui/dist/, notsrc/, so the gate rebuilds the bundle and compares bytes.package-lock.jsonis versioned to keep that comparison deterministic across machines.
Two frozen renderings guard against silent visual drift, and neither may be regenerated to make a diff disappear:
tests/__fixtures__/*.golden.svg— the Python renderer's default output (both paths: UI preview and file export). The input coordinates are frozen inaspirin.coords.json, so an RDKit layout change (rdkit 2026.9 mirrors aspirin) no longer turns it red — it measures the renderer only. Regenerate only for an intentional rendering change or an RDKit drawing-code change, and look at the result; never touch the coordinate fixture to do so. The layout half is guarded separately:tests/test_layout_guard.pypins wheregenerate_2dputs the atoms for seven probes (direct comparison, so a mirror counts). Red there means an RDKit update turns or mirrors what users get — look at before/after, then bless deliberately withUPDATE_LAYOUT=1in the commit that moves the version. Playwright's double pin is test-enforced too (tests/test_dependency_pins.py).chempane/ui/src/utils/__fixtures__/aspirin.expected.png— the JS rasterization, machine-specific,npm run test:e2e:updateonce per machine.
identitaet.py is the same idea one step earlier, and it is the only check
on the step that can make everything else consistently wrong: if resolve()
picks the wrong record, drawing, formula, mass and CAS all agree — for the
wrong substance. tests/identity/stoffe.json pins input → InChIKey for 57
entries (plus 3 broken SMILES that must fail as invalid_smiles) (German trivial names, IUPAC names, raw SMILES, a salt, O for water)
and the runner separates red (resolved to something else) from yellow
(a source is down, or a documented gap) — a check that goes red because PubChem
hiccups is a check that gets ignored. It paid for itself on the first run:
PubChem answered the metformin SMILES with its [14C] record (no CAS), which is
why properties are now fetched by InChIKey. The SMILES route behind it is
opt-in since E12 (CHEMPANE_SMILES_LOOKUP, the bundles' user_config checkbox):
by default a typed structure (SMILES, InChI) goes to no database, only its
InChIKey does — lookup included. tests/test_smiles_privacy.py catches every
requests call per tool and goes red on a SMILES or InChI in URL or body.
"Glucose" (like Xylol, Kresol, Toluidin, Butanol) is now pinned as ambiguous:
generate_molecule returns an isomer picker instead of silently choosing one.
A third frozen set covers the text the model actually reads:
tests/__snapshots__/tools/*.json pins each tool's name, description and schemas.
A diff is red on purpose — a reworded description changes which tool the model
picks. Bless it deliberately with UPDATE_TOOLSNAPS=1 uv run pytest
tests/test_tool_snapshots.py, in the same commit that changes the text.
The five tool areas (where a new tool goes)
The model picks a tool from its name and description alone, so a fuzzy boundary
is a precision bug, not cosmetics — "draw aspirin" once landed in
generate_scope_table and produced a one-cell grid. Since then the tool set is
a tested promise in tests/test_server_taxonomy.py:
| Area | Tools | What belongs here |
| Draw | generate_molecule · compare_molecules · batch_generate · generate_reaction · generate_mechanism · generate_scope_table · generate_3d · generate_protein_or_antibody | structures and reactions |
| Lab graphics | generate_spectrum · generate_tlc · generate_titration_curve · generate_species_distribution · generate_calibration_curve · generate_pk_curve · generate_dose_response | measured data as a diagram |
| Look up | lookup · lookup_molecule_data · predict_spectrum | facts about a substance, from a database or derived from its structure |
| Calculate | calculate_solution · calculate_content · calculate_ph · calculate_pharmacokinetics | a number and the working behind it |
| Anki | export_anki_deck | flashcard decks |
Outside the areas sit exactly two panel tools: save_png, the server half of the
panel's export button, and load_panel_part (12.11.2026), which fetches the parts a
large result held back (see "Result size" below). They stay registered because the UI
calls them by name, and their descriptions mark them internal so the model never calls
them on its own — saving a picture is the user's click.
Adding a tool means picking an area and entering it in the taxonomy test.
The test fails on an unlisted tool by design. Two more rules keep the set
selectable: any tool confusable with an existing one must carry a
Not this tool for: … — use X line naming the alternative (also test-enforced),
and the count has a ceiling that is only ever raised deliberately, with the
reason written into the test (16 → 18 for the calculating area, → 19 for the
calibration curve, → 20 for the spectrum prediction, → 21 for pharmacokinetics, → 23 for the pharmacology curves, → 24 for
generate_protein_or_antibody, because Claude Desktop routes on tool names alone before its
tool search: 0 of 8 protein requests reached the server without one, → 25 for the internal
load_panel_part, panel infrastructure like save_png rather than a candidate for requests).
Delimit in both directions. The tool that fails to exclude a case is the
one that wins it. generate_titration_curve therefore points at
calculate_ph just as much as the other way round — a one-sided fence
reproduces the aspirin misfire with new names.
A fence does not help against an underspecified prompt. A bare compound
name ("caffeine") names no tool's job, so it goes to whichever description
sounds most like it — which is why lookup used to win it with the sentence
"the right choice whenever the user just asks 'what is X'". The answer is not a
sharper fence but a stated default: generate_molecule claims the bare name in
writing, and the server's instructions= says so once before any tool
description is read. Both are test-enforced.
- Describe, never advertise. A superlative moves a tool's usage share measurably (7.48 : 1 for one appended sales sentence, arXiv:2505.18135) without improving accuracy — it steals calls from its neighbours. The taxonomy test greps for the usual phrases.
- Stay under 2 KB per description. Claude Code truncates there, from the end. Cut the parameter docs, never a fence.
Prefer a parameter over a new tool when the output is the same kind of thing.
That is why the five text lookups are one lookup with a topic literal, the
curated decks are a curated_deck_id parameter, and the fat characteristics
(acid/saponification/iodine value, Karl Fischer) are method values of
calculate_content rather than four more tools.
Prompt → tool is a test, not a story. evals/tool-routing/cases.yaml holds
the cases; tests/test_eval_cases.py keeps them in sync with the tool list
without touching the network and goes red when a fence has no case. The scored
run needs an API key — see evals/README.md.
Architecture
chempane/
├── resolver.py — parse-first (SMILES wins if it parses: "O" is water,
│ not O₂), then a 5-step name cascade: OPSIN (offline,
│ needs Java; degrades gracefully) → PubChem →
│ PubChem transliterated (ä→ae) → NCI CIR ×2.
│ Errors carry a `kind`: not_found / offline /
│ sources_down / partial / invalid_smiles /
│ ambiguous (family names → isomer picker) / protein
│ (UniProt entry instead of a structure; enzyme names
│ checked first) — the message tells the user
│ what actually helps. generate_molecule adds
│ too_large (name → over 200 heavy atoms)
├── generator.py — RDKit 2D coordinates; structure switches: linear
│ peptides (CoordGen), metal tetrapyrroles (metal in
│ the ring centre; N–M bonds only via
│ coordination_drawing, which every renderer calls)
├── image_export.py — PNG/SVG file rendering (primary output path)
├── svg_renderer.py — SVG for the embedded UI preview (shared BOND_LINE_WIDTH)
├── render_style.py — named render profiles (compact/presentation/grayscale)
│ + group abbreviation; "" always means today's look
├── spectrum.py — schematic spectra from peak lists (matplotlib → PNG/SVG)
├── tlc.py — TLC plates from Rf values (lanes × spots)
├── scope.py — substrate-scope figures (structure grid + captions)
├── cdxml_writer.py — RDKit mol → ChemDraw CDXML (optional format)
├── layout.py — reaction scheme layout (arrows, +, conditions)
├── mechanism*.py — reaction mechanism definitions/coords/rendering
├── structure3d.py — 3D conformer for the rotatable viewer
├── protein_catalog.py — which protein entry: lab-standard table, antibody
│ table, gene symbols (RecA), organism in the name;
│ ProteinChoice feeds message, image and data sheet
├── protein_structure.py — backbone N/Cα/C/O + bound groups (heme, metals,
│ inhibitors; no water/buffer) from RCSB ModelServer /
│ PDBe best structure / AlphaFold DB (mmCIF parser)
├── protein_ss.py — DSSP-style H/E/C when an entry has no HELIX/SHEET
├── protein_view.py — view rotation (choose_frame) + panel format
│ (Base64 int16 Cα / int8 O offsets, ~12 chars/residue)
├── protein_render.py — 2D cartoon PNG/SVG (protein_cartoon.py geometry)
├── igg_scheme.py — 2D IgG domain scheme for antibody answers
├── databases.py — PubChem / ChEBI / KEGG / UniProt lookups
├── ph_plots.py — titration curves + species distribution
├── anki_export.py — .apkg decks with rendered images
├── curated_decks.py — bundled starter decks
├── validator.py — input validation + CDXML round-trip validation
├── solution.py — weighing, dilution, mixing cross, molar mass
│ (molmass — it parses hydrates, RDKit cannot)
├── ph_calc.py — pH/buffer numbers; shares `ph_plots.exact_ph`
│ with the curve, so figure and number agree
├── calibration.py — least squares, read-back, LOD/LOQ (ICH Q2: 3,3·s(y)/a)
├── calibration_plot.py — the calibration figure (reuses ph_plots helpers)
├── spectro.py — expected IR bands (curated table × SMARTS) and
│ ¹H signal counts; no ppm shifts on purpose
├── calculator/ — Ph.Eur. content determination + fat characteristics
│ (titration, photometry, stats incl. Grubbs,
│ fat_values); pure functions behind calculate_content
├── payloads.py — Pydantic models for MCP structured output;
│ each `type` needs a matching case in App.jsx
├── png_writer.py — client-rendered PNG → file
├── vault.py — optional notes lookup (only if CHEMPANE_VAULT_PATH)
├── prompts.py — MCP prompts (study_compound, practice_mechanism,
│ exam_flashcards, compare_compounds); mvp tools only
├── privacy.py — may a typed structure go online? (CHEMPANE_SMILES_LOOKUP,
│ default off; read on every call)
├── settings.py — names after the rename: CHEMPANE_*/CHEMDRAW_* env, output
│ folder, cache name (the only reader of these)
├── desktop_config.py — Claude Desktop registration (chempane-install)
├── doctor.py — installation diagnosis (chempane-doctor)
├── server.py — MCPServer (mcp 2.x, stdio) + tool definitions;
│ `_INSTRUCTIONS` is the area map the client may put
│ in the system prompt — the one place the five
│ areas are explained once instead of 20 times
└── ui/ — embedded MCP App UI (React/Vite, served as resource)Pipeline: input (name/SMILES) → resolver → RDKit 2D → image_export (PNG/SVG)
[→ cdxml_writer if requested] → ~/chempane-output/ (or an existing ~/ChemDraw-Output/)
Output formats: generate_* tools accept formats=["png","svg","cdxml"],
default ["png","svg"]. CDXML only on explicit request, and only for actual
structures (a TLC plate or scope figure is not one).
Adding a panel tool is a five-link chain — miss one and the panel silently
shows nothing: renderer → payload model with a type default → tool with
meta=_UI_META → View component + case in ui/src/App.jsx → rebuild the
bundle. Tests enforce every link (panel tools are derived from the MCPServer
registration, payload types are compared against App.jsx cases in both
directions, the gate checks bundle freshness). Removing one walks the same
chain backwards — and the bundle rebuild is just as mandatory.
The panel switches between structure and data sheet, so which of the two tools the model picked matters less. The two directions cost different things and are therefore built differently:
- → structure is always local.
MoleculePayloadandDatabasePayloadboth carryatomsandfunctionalGroups(same types on purpose — both views feed the sameStructureCanvas). RDKit computes them from the mol object that is already in hand; no network, no spinner. - → data is fetched on click, once, then cached, via
app.callServerTool({name: "lookup_molecule_data", …})— the same bridgeExportPngButtonuses. Only successes are cached, so a failure stays retryable, and a user who switches back mid-flight keeps their view (awantedref decides, not the arriving response).
The panel talks to Claude through two channels, both gated on host capabilities (12.11.2026).
components/ContinueRow.jsx sends one user message per click (app.sendMessage, only inside the click
handler) and does not render at all without the host capability message; its sentences are pure functions in
utils/followUps.js and offer only what the server can deliver (a mechanism button needs a carboxylic acid, a
primary/secondary alcohol or a halide on an sp3 carbon). ModelContext.jsx is the single owner of
app.updateModelContext: views only report their text (utils/modelContext.js), the provider sends the full
state, debounced, because the host keeps only the last update — a second sender would overwrite the first. A
view that is hidden (parent structure behind the stereo-variant list) must report "", and the view that
replaces it must report itself, or the host keeps the stale text. Hover is a preview, a click pins a group or
atom (pinnedGroup); hover must never clear the pin. The Study tab (components/StudyPanel.jsx, molecule view
only, opt-in) covers name, key facts and groups — nothing in that mode may leak the name (tooltips, title,
aria-label, file paths). test:host switches the capabilities on and off and sends toolinput before
toolresult (placeholder in components/ToolPlaceholder.jsx).
Tool titles, annotations and prompts live next to the registration. _TOOL_LABELS in server.py gives
every tool a human title and honest ToolAnnotations (a tool that writes under the output folder is not
read-only; export_anki_deck is destructive because it updates notes in Anki); a new tool needs an entry, and
tests/test_tool_annotations.py lists the writing tools explicitly. save_png and load_panel_part carry
_meta.ui.visibility: ["app"] without a resourceUri, so they stay registered and counted but are not panel
tools.
Result size (M2, 12.11.2026). Claude Desktop shows no panel once a tool result passes ~150,000 characters
(Anthropic troubleshooting, "App doesn't render when tool results are large"), and the payload travels twice —
structuredContent plus its JSON in the text block, which must stay because a Desktop version dropped
structuredContent before the iframe (ui/src/utils/toolData.js). So every panel tool result goes through
result_budget.py (wrapped in create_server): compact JSON instead of indented, and above 55,000 characters
per copy the biggest strings (SVGs), then lists, are replaced by ""/[] and noted under _deferred; the panel
fetches them as one block in pieces via load_panel_part (loadToolData, used by main.jsx and every
callServerTool site). The block lives in memory and on disk (~/Library/Caches/chempane/panel-parts/,
last 200, token = content hash), because Desktop may hand old results to a fresh panel when a chat is reopened (unmeasured),
also after a server restart; if the block is gone the panel names the written files instead of an empty area.
Tests redirect result_budget.STORE_DIR (autouse fixture in tests/conftest.py). tests/test_result_size.py holds every panel tool plus large cases under 120,000 and
proves the reassembled payload equals the original; test:host runs a 20-molecule batch without
structuredContent and Vancomycin through the real server. A view that calls a panel tool must use
loadToolData, never extractToolData alone. chempane/prompts.py holds four study prompts; they may name only tools of the mvp profile
(tests/test_prompts.py).
A component test for an async panel path is worthless outside act(): the
follow-up render never flushes and the test passes while the bug is live.
src/__tests__/harness.mjs wraps clicks; resolving a deferred promise must be
wrapped too.
Test output paths are redirected with monkeypatch.setattr against
chempane.server.<DIR>. tests/conftest.py compares the real
~/chempane-output and ~/ChemDraw-Output before and after the suite, so a redirect that points
nowhere fails loudly instead of quietly writing into the user's folder.
The protein panel carries a 3D engine — and a fallback that must survive.
ui/src/protein/cartoonEngine.js (Mol* 5.13.1, MIT, pinned exactly; notices in
THIRD_PARTY_LICENSES) is built by vite.config.js into a separate IIFE and
embedded as <script type="text/plain" id="chem-cartoon-engine">; only
protein/loadEngine.js executes it, when a protein is shown. Measured
10.11.2026: panel file 0.47 → 2.96 MB (0.13 → 0.85 MB gzip), molecule panel
start ~30 → ~55 ms (a plain import cost 210 ms — never import Mol* from the
main bundle). The engine path uses no eval, Worker or blob URL; test:host
runs the panel under the ext-apps default CSP. Fallback rule: the SVG
backbone trace (BackboneCanvas) shows while the engine loads and stays when
it fails (no WebGL, blocked script, engine error) — never an empty area. Both
are tested: proteinView.test.mjs (forced failure, fake engine) and
test:host (real Mol* in Chromium, plus a run with WebGL removed).
Colours: ui/src/protein/colors.js mirrors protein_render.py (SS, element
colours) — change both. ui/src/components/IgGScheme.jsx redraws
igg_scheme.py for the panel with theme variables; a content change to the
scheme belongs in both.
Conventions
- Python 3.11+, package manager:
uv - Tests: pytest, TDD (red first — no production code without a failing test)
- UI preview and exported files must stay visually consistent
(shared constants like
BOND_LINE_WIDTH; parity is test-enforced per style) - New rendering options are opt-in; the default output must not change
- User-facing text (tools, docstrings, README, doctor output) is English; code comments and commits are German
- Dependencies: rdkit, lxml, requests, mcp, Pillow, matplotlib, py2opsin,
genanki, molmass (OPSIN needs a JRE at runtime; without one the resolver
degrades to PubChem/NCI — never make Java a hard requirement). Weigh every
new dependency against what it drags in:
molmassearned its place with zero required dependencies of its own, whilechempy,pintandmendeleevwere rejected for pulling in scipy/pandas/sympy-sized trees.
Licence and copyright
Licence and copyright. The project is Apache-2.0; the holder line is Copyright 2026 jurimaxam-dotcom in NOTICE.
- Every package that ends up inside the panel file needs its entry, version and licence text in
THIRD_PARTY_LICENSESin the same commit (tests/test_lizenzhinweise.py; the file is embedded into the panel as a banner, so rebuild the bundle). Before adding a dependency read its licence. Inside what we ship as one file (panel,.mcpb): MIT, BSD, ISC, Apache-2.0 and 0BSD only. As a Python dependency that pip installs separately, LGPL and MPL are acceptable too (frozendict, LGPL-3.0, comes withgenanki). GPL, AGPL, "non-commercial" and anything without a licence file are out on both sides. - No third-party material in the tree: figures, tables or text from textbooks, lecture slides, papers, pharmacopoeias or other repos are not committed, not even as a test fixture. Facts and public-domain data are fine; record the source and its terms in the README section "License and third-party data".
- Code copied from elsewhere keeps its copyright header and gets a
THIRD_PARTY_LICENSESentry; code without a clear licence is not copied. - Names are not licensed. Apache-2.0 grants no trademark rights. "ChemDraw" belongs to Revvity; every public description keeps the "unofficial, not affiliated" line.
- Outside contributions come in under Apache-2.0 (section 5 of the licence). Never merge a PR whose author states another licence or whose origin is unclear.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

