
Pubchem Database
This gives Claude Code access to PubChem's chemical compound database through a Python wrapper that handles rate limiting and JSON parsing. It's designed for scientific workflows where you need to query molecular structures, chemical properties, or biological activity data. The skill comes from Google DeepMind's science-skills collection and includes license notifications since PubChem has specific citation requirements. Worth noting that it depends on uv being installed first. With over 1,000 installs and clean security audits from most scanners, it seems like the standard way to integrate PubChem lookups into agent workflows without manually dealing with the REST API's quirks.
- skills.sh installs
- 2.3K
- GitHub stars
- 3.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add google-deepmind/science-skills --skill pubchem-database --agent claude-codeInstalls into .claude/skills of the current project.
Files
PubChem Database
Prerequisites
uv: Read theuvskill and follow its Setup instructions to ensureuvis installed and on PATH.- User Notification: If .licenses/pubchem_database_LICENSE.txt does not already exist in the workspace root directory then (1) prominently notify the user to check the terms at https://pubchem.ncbi.nlm.nih.gov/docs/citation-guidelines and https://pubchem.ncbi.nlm.nih.gov/docs/pug-rest, then (2) create the file recording the notification text and timestamp.
Quick Start
PubChem queries are executed via a robust Python wrapper script to respect terms-of-service and handle complex JSON parsing. This script allows safe multi-agent use of APIs.
Example: Resolve a chemical name to its Compound ID (CID)
uv run scripts/pubchem_api.py resolve --name "aspirin" --output result.json
Core Rules
Sponsors
Details
- Repository
- github.com/google-deepmind/science-skills
- Categories
- Backend & APIs, Databases
- First seen
- Jul 14, 2026
More from google-deepmind/science-skills
All 37- Ncbi Sequence Fetch2.3K
- Pymol2.3K
- Openfda Database2.3K
- Alphagenome Single Variant Analysis2.3K
- Uniprot Database2.3K
- Chembl Database2.3K
- Clinvar Database2.3K
- Ensembl Database2.3K
- Human Protein Atlas Database2.3K
- Opentargets Database2.3K
- Dbsnp Database2.2K
- Protein Sequence Msa2.2K
- Protein Sequence Similarity Search2.2K
- Embl Ebi Ols2.2K
- Reactome Database2.2K
- Interpro Database2.2K
- String Database2.2K
- Foldseek Structural Search2.2K
- Gtex Database2.2K
- Jaspar Database2.2K
- Gnomad Database2.2K
- Quickgo Database2.2K
- Encode Ccres Database2.2K
- Ucsc Conservation And Tfbs2.2K