pubchem-database

Query PubChem compounds and properties via REST and PubChemPy.

4|1|Updated Jun 18, 2025
One-click install
npx skills add https://github.com/HolobiomicsLab/Toolomics --skill pubchem-database-holobiomicslab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pubchem-database
Source: https://github.com/HolobiomicsLab/Toolomics/tree/main/mcp_host/skills/scientific-skills/scientific-skills/pubchem-database
Command: npx skills add https://github.com/HolobiomicsLab/Toolomics --skill pubchem-database-holobiomicslab

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PubChem data is essential for cheminformatics research, but programmatic access and aggregation require integrating REST endpoints and Python libraries, making it tedious to orchestrate queries, fetch properties, and analyze bioactivity data.

Core Features & Use Cases

  • Chemical search by name, CID, SMILES, or InChI to retrieve compounds and properties.
  • Property retrieval and conversions: fetch molecular formula, weight, SMILES, InChI/InChIKey, XLogP, TPSA, etc.
  • Similarity and substructure searches to identify related compounds.
  • Batch queries, synonyms, and PUG-View annotations for in-depth data; use cases include academic cheminformatics research, drug discovery, and data aggregation.

Quick Start

Run the PubChem utility to search for a compound by name, then fetch and print its key properties.

Frequently Asked Questions about pubchem-database

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

FAQPage Schema
How do I retrieve chemical properties from PubChem using Python?

You can retrieve chemical properties from PubChem programmatically by querying compound names, CIDs, SMILES, or InChI. This Skill leverages PUG-REST and PubChemPy to fetch molecular formulas, weights, XLogP, and TPSA for automated cheminformatics workflows.

Can I perform batch queries for multiple compounds in PubChem?

Yes, batch queries for multiple compounds are supported. The Skill orchestrates PUG-REST endpoints to aggregate property retrieval and synonym data across lists of compound identifiers, enabling high-throughput PubChem data extraction.

Does this approach support similarity and substructure searches for drug discovery?

Similarity and substructure searches are supported to identify related compounds for drug discovery. The Skill queries PubChem to match chemical structures, retrieving bioactivity data and annotations useful for academic cheminformatics research.

What is the best way to get PubChem annotations via PUG-View?

The best way to access PubChem annotations is via PUG-View. This Skill queries the REST endpoints to retrieve in-depth annotations, synonyms, and bioactivity data, aggregating them into structured outputs for cheminformatics analysis.

Do I need PubChemPy and requests library to query chemical information?

Yes, the PubChemPy and requests libraries are required dependencies to query chemical information. They handle PUG-REST calls, compound identifier lookups, and property retrieval tasks within the automated workflow.

Why does programmatic PubChem access require integrating REST endpoints?

Programmatic PubChem access requires integrating REST endpoints because chemical data is distributed across multiple services. This Skill abstracts PUG-REST and PubChemPy to simplify fetching properties, managing batch queries, and aggregating bioactivity data.