PubChem: chemical compounds, bioassays, targets and patents API

How to connect PubChem: chemical compounds, bioassays, targets and patents to ChatGPT

Add the Firecrawl plugin to ChatGPT once and it can call the PubChem: chemical compounds, bioassays, targets and patents API and every other provider in Firecrawl Alexandria, with no PubChem: chemical compounds, bioassays, targets and patents integration code.

Open Markdown

To connect PubChem: chemical compounds, bioassays, targets and patents to ChatGPT, add the Firecrawl plugin to ChatGPT, sign in on a Firecrawl team with Alexandria enabled, and ask for PubChem: chemical compounds, bioassays, targets and patents data in plain language. The connection works in ChatGPT and Codex, and you set it up once.

ChatGPT uses PubChem: chemical compounds, bioassays, targets and patents as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for PubChem: chemical compounds, bioassays, targets and patents.

ChatGPT is OpenAI's AI assistant. Plugins add tools from other services, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

How do I connect PubChem: chemical compounds, bioassays, targets and patents to ChatGPT?

  1. Install the Firecrawl plugin

    Open the Firecrawl listing in ChatGPT's plugin directory and select Install plugin. You can also open Plugins in ChatGPT or Codex and search for Firecrawl.

    The Firecrawl plugin page in ChatGPT with the Install plugin button
  2. Connect your Firecrawl account

    ChatGPT opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and approve access. No account yet? You can create one for free in the same flow.

    Firecrawl's consent screen asking to connect chatgpt.com to Firecrawl
  3. Attach Firecrawl to a chat

    Start a new chat so it loads the plugin, open the + menu and choose Firecrawl. You can also ask ChatGPT to use Firecrawl by name.

    ChatGPT's + menu with the Firecrawl plugin listed
  4. Ask ChatGPT for the data

    Ask in plain language and mention PubChem: chemical compounds, bioassays, targets and patents or Firecrawl Alexandria. ChatGPT finds the PubChem: chemical compounds, bioassays, targets and patents capability that fits and runs it. For example:

    Use Firecrawl to answer this: What are semaglutide's molecular formula, molecular weight and CAS number?

What can ChatGPT do with PubChem: chemical compounds, bioassays, targets and patents?

PubChem, the U.S. National Library of Medicine's open chemistry database at NCBI, through its documented PUG REST and PUG View services: find compounds by name, synonym, brand name, CAS number, SMILES, InChI, InChIKey or molecular formula; read a compound's computed properties (formula, weights, XLogP, TPSA, hydrogen-bond counts, stereochemistry), InChI, SMILES, synonyms and cross-referenced identifiers (CAS, UNII, ChEBI, ChEMBL, DrugBank, DSSTox and more); find similar compounds, substructures and superstructures ranked by Tanimoto similarity; list a compound's bioassay results across depositors and aggregate the protein and gene targets it is active against; and list the patent publications linked to it. NCBI places no restrictions on PubChem data; cross-references are identifiers only, bioassays from depositors that restrict commercial use are excluded, and every answer carries its terms and the PubChem citation.

ChatGPT can run any of PubChem: chemical compounds, bioassays, targets and patents's 6 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

  • Bioassays: A compound's bioassay results in PubChem: every deposited assay outcome (active, inactive, inconclusive, unspecified, probe) with the assay, its type, target protein accession and NCBI Gene ID, activity value in µM and what it measures (IC50, Ki, EC50...), the PubMed ID and the depositor (ChEMBL, BindingDB, NCATS, DTP/NCI, IUPHAR/BPS, ToxCast and others). Filter by outcome (active by default), target accession or Gene ID, and assay type; counts give the compound's outcomes over all rows. Assays from depositors that restrict commercial use (NIAID ChemDB) are left out and counted in excluded. Costs 5 Firecrawl credits per call.
  • Get: One PubChem compound by CID, name or synonym, InChIKey, SMILES, InChI or compound page URL: names (title, IUPAC name), formula, molecular weight, exact and monoisotopic mass, XLogP, TPSA, complexity, charge, hydrogen-bond donors and acceptors, rotatable bonds, heavy atoms, stereocentre counts, InChI, InChIKey and SMILES; its synonyms; and its cross-references (CAS, EC, UNII, ChEBI, ChEMBL, DrugBank, DrugCentral, DSSTox, KEGG, Wikidata, NSC and other identifiers), as identifiers only, each with the sources that supplied it. Costs 5 Firecrawl credits per call.
  • Patents: The patent publications PubChem links to a compound (deposited by Google Patents, SureChEMBL, IBM and WIPO PATENTSCOPE): each publication's number, office, kind code, and Google Patents and PubChem links, deduplicated across PubChem's ID formats, with counts by office. Filter by office (US, EP, WO, CN, JP...) and page through them. Publication numbers only; no patent text. Costs 5 Firecrawl credits per call.
  • Search: Find PubChem compounds by name or synonym (brand names, INNs, CAS numbers, ChEMBL and DrugBank IDs PubChem holds as synonyms), SMILES, InChI, InChIKey, molecular formula or CID. Each hit has its CID, name, formula, molecular weight, exact mass, XLogP, TPSA, InChIKey and SMILES. A name returns the compounds it names exactly, in PubChem's order, followed by compounds whose synonyms contain all its words; a formula returns every compound with that formula; a SMILES or InChI returns the compound with that exact structure. Costs 5 Firecrawl credits per call.
  • Similar: Compounds structurally related to one compound, from PubChem's 2D structure searches: similarity (Tanimoto on PubChem's substructure fingerprint at or above a threshold), substructure (compounds containing the query) or superstructure (compounds the query contains). Similarity hits are scored here from PubChem's Fingerprint2D and sorted by score, highest first; the query compound itself is left out. Each hit has its CID, name, formula, molecular weight, InChIKey and SMILES. Costs 5 Firecrawl credits per call.
  • Targets: The protein and gene targets a compound is active against in PubChem bioassays, aggregated from its active results: each target's accession (UniProt, RefSeq, GenBank or PDB chain), NCBI Gene ID, gene symbol and name, protein name, organism, how many assays and rows found it active, the most potent deposited value (IC50, Ki, Kd, EC50...) with its assay, and PubMed IDs. Most active assays first. Results from depositors that restrict commercial use are left out. Costs 5 Firecrawl credits per call.

What should I ask ChatGPT?

Name PubChem: chemical compounds, bioassays, targets and patents or Firecrawl Alexandria in the prompt so ChatGPT reaches for it. Each example opens in ChatGPT with the prompt filled in.

Troubleshooting

Why doesn't ChatGPT use PubChem: chemical compounds, bioassays, targets and patents?

Start a new chat after installing so ChatGPT loads the plugin, then attach Firecrawl from the + menu and name PubChem: chemical compounds, bioassays, targets and patents or Firecrawl Alexandria in the prompt.

How do I switch the Firecrawl team ChatGPT uses?

Open the Firecrawl plugin page in ChatGPT, uninstall it from the menu next to Settings, then install it again and choose the other team on Firecrawl's consent screen.

Why does ChatGPT say PubChem: chemical compounds, bioassays, targets and patents isn't available?

Alexandria needs a Firecrawl team with Alexandria enabled. Reinstall the plugin and pick that team when you approve access.

Use PubChem: chemical compounds, bioassays, targets and patents in other AI apps

The same Firecrawl account reaches PubChem: chemical compounds, bioassays, targets and patents from other AI apps. Pick one for its setup steps:

Other data providers you can connect to ChatGPT

Frequently Asked Questions

What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl plugin brings those tools into ChatGPT, along with every data provider in Firecrawl Alexandria.

What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, PubChem: chemical compounds, bioassays, targets and patents among them. Each provider returns structured data through documented capabilities. ChatGPT finds the capability that fits your question and calls it through the Firecrawl plugin, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

Is there a PubChem: chemical compounds, bioassays, targets and patents MCP server for ChatGPT?

ChatGPT reaches PubChem: chemical compounds, bioassays, targets and patents through Firecrawl's hosted MCP server, which serves PubChem: chemical compounds, bioassays, targets and patents and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for PubChem: chemical compounds, bioassays, targets and patents.

What does connecting PubChem: chemical compounds, bioassays, targets and patents to ChatGPT unlock?

ChatGPT can run all 6 of PubChem: chemical compounds, bioassays, targets and patents's capabilities, including Bioassays, Get and Patents, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: What are semaglutide's molecular formula, molecular weight and CAS number?" In the same conversation, ChatGPT can combine PubChem: chemical compounds, bioassays, targets and patents with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

Do I need my own PubChem: chemical compounds, bioassays, targets and patents account or API key to use it in ChatGPT?

No. ChatGPT calls PubChem: chemical compounds, bioassays, targets and patents through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate PubChem: chemical compounds, bioassays, targets and patents account or API key.

How much does it cost to use PubChem: chemical compounds, bioassays, targets and patents in ChatGPT?

Each PubChem: chemical compounds, bioassays, targets and patents call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to ChatGPT, and finding the right capability is free.

Can ChatGPT use other providers besides PubChem: chemical compounds, bioassays, targets and patents?

Yes. The same Firecrawl plugin reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

Can I use PubChem: chemical compounds, bioassays, targets and patents in other AI apps?

Yes. Connect Firecrawl to Claude, Cursor, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same PubChem: chemical compounds, bioassays, targets and patents capabilities are available there. Keyless connections don't include Alexandria.

//
Get started
//
Ready to build?
Start getting web context for free and scale seamlessly as your project expands. No credit card needed.
Are you an AI agent? See setup options