Gives you programmatic access to PubChem's 110M+ compound database through PUG-REST API and PubChemPy. You can search by name, CID, SMILES, or molecular formula, retrieve properties like molecular weight and LogP, and run similarity or substructure searches to find related compounds. The bioactivity endpoints let you pull screening assay data, which is useful for early stage drug discovery work. The skill includes helper scripts for batch processing and common queries. Response times can lag on similarity searches since they're asynchronous on PubChem's end, but PubChemPy handles the polling automatically. Solid option if you're doing cheminformatics work and need more than what RDKit gives you locally.

skills.sh installs
288
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill pubchem-database --agent claude-code

Installs into .claude/skills of the current project.

Files

PubChem Database

Overview

PubChem is the world's largest freely available chemical database with 110M+ compounds and 270M+ bioactivities. Query chemical structures by name, CID, or SMILES, retrieve molecular properties, perform similarity and substructure searches, access bioactivity data using PUG-REST API and PubChemPy.

When to Use This Skill

This skill should be used when:

  • Searching for chemical compounds by name, structure (SMILES/InChI), or molecular formula
  • Retrieving molecular properties (MW, LogP, TPSA, hydrogen bonding descriptors)
  • Performing similarity searches to find structurally related compounds
  • Conducting substructure searches for specific chemical motifs
  • Accessing bioactivity data from screening assays
  • Converting between chemical identifier formats (CID, SMILES, InChI)
  • Batch processing multiple compounds for drug-likeness screening or property analysis

Core Capabilities

1. Chemical Structure Search

Search for compounds using multiple identifier types:

By Chemical Name:

import pubchempy as pcp
compounds = pcp.get_compounds('aspirin', 'name')
compound = compounds[0]

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Backend & APIs, Databases
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1secondsky avatardatabase-shardingsecondsky/claude-skillsDatabase sharding for PostgreSQL/MySQL with hash/range/directory strategies. Use for horizontal scaling, multi-tenant isolation, billions of records, or encount277skills.sh installs
2patricio0312rev avatarbackend-latency-profiler-helperpatricio0312rev/skillsIdentifies API latency hotspots and bottlenecks with profiling tools, slow endpoint detection, suspected causes, and fix roadmap. Use for "latency profiling", "272skills.sh installs
3rmyndharis avatarbackend-architectrmyndharis/antigravity-skillsExpert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven 270skills.sh installs
4davila7 avataruniprot-databasedavila7/claude-code-templatesDirect REST API access to UniProt. Protein searches, FASTA retrieval, ID mapping, Swiss-Prot/TrEMBL. For Python workflows with multiple databases, prefer bioser269skills.sh installs
5davila7 avatarmetabolomics-workbench-databasedavila7/claude-code-templatesAccess NIH Metabolomics Workbench via REST API (4,200+ studies). Query metabolites, RefMet nomenclature, MS/NMR data, m/z searches, study metadata, for metabolo264skills.sh installs
6awslabs avataraws-lambdaawslabs/agent-pluginsDesign, build, deploy, test, and debug serverless applications with AWS Lambda. Triggers on phrases like: Lambda function, event source, serverless application,260skills.sh installs