pubchem-database

Query PubChem via PUG-REST API and PubChemPy for chemical compounds.

557|98|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/jimmc414/Kosmos --skill pubchem-database-jimmc414
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pubchem-database
Source: https://github.com/jimmc414/Kosmos/tree/main/kosmos-claude-scientific-skills/scientific-skills/pubchem-database
Command: npx skills add https://github.com/jimmc414/Kosmos --skill pubchem-database-jimmc414

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pubchempy, requests, pandas, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides access to PubChem, the world's largest chemical database, enabling users to search for compounds, retrieve properties, and find bioactivity data programmatically.

Core Features & Use Cases

  • Chemical Structure Search: Find compounds by name, CID, SMILES, or molecular formula.
  • Property Retrieval: Access detailed molecular properties like molecular weight, LogP, and TPSA.
  • Similarity & Substructure Search: Discover related compounds or identify specific chemical motifs.
  • Bioactivity Data: Retrieve information on compound interactions with biological targets.
  • Use Case: A medicinal chemist needs to find all compounds similar to a lead compound with a Tanimoto similarity above 85% and retrieve their molecular weights and XLogP values.

Quick Start

Use the pubchem-database skill to find the molecular weight and canonical SMILES for aspirin.

Frequently Asked Questions about pubchem-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search PubChem for chemical compounds by name, CID, or SMILES string?

You can search PubChem for chemical compounds by name, CID, or SMILES string using this Skill's integration with the PUG-REST API and PubChemPy. It queries the database directly to retrieve compound records and molecular structures programmatically.

Can I retrieve molecular properties like molecular weight, LogP, and TPSA from PubChem?

Yes, you can retrieve detailed molecular properties like molecular weight, LogP, and TPSA from PubChem. The Skill queries the database to access these specific physical and chemical property values for identified compounds.

How do I find compounds similar to a lead compound with a specific Tanimoto similarity threshold?

To find similar compounds, the Skill performs a similarity search against PubChem using a SMILES string input. You can specify a Tanimoto similarity threshold, such as 85%, to retrieve related compounds and their molecular properties.

What is the best way to access bioactivity data for chemical compounds in cheminformatics applications?

The best way to access bioactivity data is using this Skill to query PubChem for compound interactions with biological targets. It retrieves this information alongside molecular properties to support cheminformatics applications and drug discovery.

Does this PubChem database query tool require pandas and requests to function?

Yes, this PubChem database query tool requires pandas, requests, and pubchempy to function. These dependencies handle the API queries, data formatting, and chemical structure parsing required for retrieving molecular properties.

When do I need to perform a substructure search in a chemical database?

You need to perform a substructure search when identifying specific chemical motifs within larger molecules in a chemical database. This Skill queries PubChem to find compounds containing your specified structural subunits for cheminformatics analysis.