Pubchem

From lamm-mit/scienceclaw · View interactive version

Pubchem is an AI agent skill from the GitHub repository lamm-mit/scienceclaw. Search PubChem for chemical compounds, properties, and identifiers

How to use this skill

Skill file

PubChem Compound Lookup

Query the PubChem database for chemical compounds, molecular properties, SMILES, InChI, and related data. PubChem is NCBI's open chemistry database.

Overview

Usage

Search by compound name:

python3 {baseDir}/scripts/pubchem_search.py --query "aspirin"

Get compound by CID:

python3 {baseDir}/scripts/pubchem_search.py --cid 2244

Get detailed properties:

python3 {baseDir}/scripts/pubchem_search.py --cid 2244 --format detailed

Search with max results:

python3 {baseDir}/scripts/pubchem_search.py --query "caffeine" --max-results 5

Parameters

| Parameter | Description | Default |

|-----------|-------------|---------|

| --query | Compound name or search term | - |

| --cid | PubChem Compound ID | - |

| --max-results | Max results for search | 10 |

| --format | Output: summary, detailed, json | summary |

Output

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.