Spiral gives your agent every tool with one account. Browse the tools →

Cursor · Health

How to Use PubChem compound patents in Cursor

Returns patent publication identifiers linked to mentions of a compound. Use it to build a reading list, keeping in mind that a mention does not establish what the patent claims.

Prompts to try with PubChem compound patents in Cursor

Copy an example into Cursor, or ask in your own words.

Use PubChem compound patents to look this up and give me the result as a table. Save the result in ./assets.

PubChem compound patentsCursor
Try asking
  • Pull the latest numbers from PubChem compound patents and tell me what changed since last week.

  • Check PubChem compound patents and summarize what you find in three bullet points.

  • Pull the newest data from PubChem compound patents and give me the result as a table.

  • Check PubChem compound patents every morning and tell me only when something changed.

How to set up PubChem compound patents in Cursor

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):

    {
      "mcpServers": {
        "spiral": { "url": "https://api.spiral.ai/mcp" }
      }
    }
  2. Sign in

    Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

Use the Spiral skill

  1. Send Cursor this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run PubChem compound patents

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "pubchem-ncbi-nlm-nih-gov/compounds/patents",
        "input": {
          "compound": "<compound>"
        }
      }'

Then paste one of the prompts above: Cursor finds PubChem compound patents on Spiral, shows the price and runs it.

PubChem compound patents providers and prices

Spiral runs PubChem compound patents through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth

Settings you can ask for

Ask Cursor for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Cida number from 1

A PubChem CID, instead of compound. Pass exactly one of compound or cid.

Kindauto, cid, name, smiles, inchikey, or inchiauto

How to read compound; auto guesses from its shape. Set smiles for short SMILES that read as formulas or names ("CO").

Limit1 to 50050

Publications per page.

Offset0 to 5000000

Publications to skip, from next_offset.

Every API field of PubChem: chemical compounds, bioassays, targets and patents · Patents is on its tool page: open its card above.

What can you do with PubChem compound patents in Cursor?

Build a compound research view in your project that connects chemical identities with properties and research evidence. Use PubChem CIDs to keep structural matches, assay results, targets, and patent links attached to the intended chemical.

Prepare a compound research dossier

Resolve imatinib to its chemical record, collect its properties, summarize reported targets and assays, and assemble linked patent publications for reading.

Triage structural analogues

Find structures resembling a seed compound, confirm their identities, and compare available properties, assay evidence, targets, and patent links before selecting candidates for closer study.

Build a patent reading list around a structure

Confirm a seed compound, find related structures, and collect their linked patent publication identifiers. Organize documents for reading without treating chemical mentions as proof of claim coverage.

Review a research watchlist each week

Repeat identity, property, structural-neighbor, assay, target, and patent queries for a fixed compound watchlist. Compare retrieved results with earlier snapshots to flag changes for a researcher.

Annotate a public chemical dataset

Resolve chemical names to CIDs and attach computed properties, reported biological targets, assay references, and patent publication links to each identified structure.

Questions about PubChem compound patents in Cursor

Can Cursor use PubChem compound patents?

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run PubChem compound patents like any built-in tool.

How much does PubChem compound patents cost in Cursor?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cursor plan is separate.

Do I need an Alexandria account to use PubChem compound patents in Cursor?

No. Spiral runs PubChem compound patents on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up PubChem compound patents in Cursor?

About two minutes: add the hosted server, then sign in.

Does Cursor wait while PubChem compound patents runs?

PubChem compound patents runs in the background. Cursor starts the run, checks on it and gives you the json when it's ready.

Does PubChem cover only small molecules?

Small molecules make up most of PubChem, but it also includes nucleotides, carbohydrates, lipids, peptides, and chemically modified macromolecules.

Why can several submitted records lead to one CID?

PubChem combines submitted Substance records that standardize to the same chemical structure into one Compound record. The CID identifies that structure, while the original submissions retain their Substance identifiers.

Are PubChem CAS-number matches authoritative?

PubChem does not verify or manually curate CAS numbers supplied by third parties. Its documentation explicitly warns that CAS-to-CID assignments can contain errors or inconsistencies.

Does PubChem publish new data on a guaranteed daily schedule?

PubChem says a daily processing cycle is not a publication guarantee. Submission size, processing, reviews, revision requests, and service workload affect when contributed data becomes public.

Can a PubChem structure search miss matching compounds?

Yes. A formula or structure search can stop at an operational time or result limit before examining every candidate, leaving a valid but incomplete result list whose count is a lower bound.

Get started

Start using PubChem compound patents in Cursor

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Cursor:

Set up Cursor

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options