Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

medchem

Skill by K-Dense-AI

Applies medicinal chemistry filters to triage compound libraries. It covers drug-likeness rules, structural alerts, complexity metrics and a query language for drug discovery work.

  • Score 94
  • 59k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install medchem

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/medchem ~/.claude/skills/medchem

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install medchem in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The medchem skill guides an AI assistant through the medchem Python library from datamol-io for molecular filtering in drug discovery. It covers drug-likeness rules such as Lipinski, Veber, CNS and lead-like rules, structural alert catalogs including PAINS, NIBR and ChEMBL-derived sets, and complexity thresholds based on ZINC-15. It also covers chemical group detection and a query language for combining criteria.

Filters return pandas DataFrames or boolean masks, and they run locally without credentials. The source states the skill was verified with medchem 2.1.1, datamol 0.13.0 and RDKit 2026.3.6 on Python 3.11 or later. It is aimed at medicinal chemists and computational teams triaging compounds for hit-to-lead or lead optimization, and it stresses that filters are context-specific and need domain expertise.

Written from the project's SKILL.md and checked against it.

What it can do

  • Drug-likeness rulesApplies Lipinski, Veber, CNS, lead-like and other rules to compound libraries.
  • Structural alert filtersFlags problematic patterns using common alert sets and NIBR screening-deck rules.
  • Named catalog filtersChecks molecules against RDKit FilterCatalog sets such as PAINS and Brenk.
  • Complexity metricsCompares Bertz, SAS, QED and other metrics against ZINC-15 percentile thresholds.
  • Chemical group detectionFinds functional groups and curated pattern collections in molecules.
  • Scaffold constraintsMatches a core scaffold and applies per-atom constraint functions.
  • Query language filteringCombines rules, alerts, properties and substructures in one filter expression.

What you need

  • Python 3.11 or later
  • medchem, datamol and RDKit packages
  • Network access for installation
  • C++ compiler, make, zlib and Ruby for optional Lilly tools

Try asking

  • Filter this CSV of SMILES with Lipinski and Veber rules
  • Flag PAINS and NIBR alerts in my compound list
  • Run a CNS rule check and keep molecules with TPSA at or below 90

Good to know

  • Lilly native execution was not tested in the source review.
  • The alert_filter class defaults to BMS only unless alert sets are set explicitly.
  • Filters are context-specific guidelines and need domain expertise.
  • bredt_filter kekulizes molecules in place, so pass copies.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/medchem/SKILL.md, skills/medchem/scripts/filter_molecules.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read Write Edit Bash

  • SKILL.md15 KB
  • references/api_guide.md14 KB
  • references/rules_catalog.md11 KB
  • scripts/filter_molecules.py13 KB

Alternatives to medchem

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

medchem: common questions

Does medchem need an API key or account?

The source says filters run locally without credentials. Installation and documentation lookup need network access.

Which rules and alerts does medchem support?

The source names Lipinski, Veber, CNS and lead-like rules, plus PAINS, NIBR, BMS, Dundee, Glaxo and Brenk catalogs.

What does the query language look like?

It uses functions such as MATCHRULE, HASALERT, HASPROP and HASSUBSTRUCTURE, combined with AND, OR and NOT.

How do I install medchem?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is medchem free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is medchem safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to medchem?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

medchem Install

Add to stack

Loading.