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

Cursor · Health

How to Use RCSB PDB structure search in Cursor

Finds matching PDB entries for a protein, organism, ligand, or experimental method. Use it to build a shortlist of structures before reading individual records.

Prompts to try with RCSB PDB structure search in Cursor

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

Use RCSB PDB structure search to find human EGFR structures determined by X-ray crystallography. Add a shortlist of returned PDB identifiers to the project's research notes.

RCSB PDB structure searchCursor
Try asking
  • Use RCSB PDB structure search to find Escherichia coli ribosome structures. Create a CSV of the returned identifiers for our visualization project.

  • Use RCSB PDB structure search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from RCSB PDB structure search and tell me what changed since last week.

  • Check RCSB PDB structure search and summarize what you find in three bullet points.

How to set up RCSB PDB structure search 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 RCSB PDB structure search

    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": "rcsb-org/structures/search",
        "input": {
          "sort": "relevance"
        }
      }'

Then paste one of the prompts above: Cursor finds RCSB PDB structure search on Spiral, shows the price and runs it.

RCSB PDB structure search providers and prices

Spiral runs RCSB PDB structure search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
RCSB Protein Data Bank · Search
rcsb-org/structures/search

Settings you can ask for

Ask Cursor for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortrelevance, newest, or resolutionrelevance

relevance (search score), newest (initial release date, newest first) or resolution (best first, entries without a resolution last).

Limit1 to 5010

limit

Offset0 to 10000000

Number of hits to skip; pass the previous page's next_offset.

Max resolutiona number up to 100

Best resolution cutoff in ångströms (≤). Entries without a resolution (most NMR) are excluded when set.

Experimental methodX-ray, EM, NMR, Neutron, Multiple methods, Integrative, or Other

Combined experimental method label.

Every API field of RCSB Protein Data Bank · Search is on its tool page: open its card above.

What can you do with RCSB PDB structure search in Cursor?

Build a structure reference table for a research project from PDB identifiers, experimental methods, ligands, and citations. A coding agent can turn retrieved records into project documentation or a collection of coordinate download links.

Select structures for a target review

Find entries for human EGFR, then inspect their experimental methods, ligands, and citations to choose structures for a research discussion.

Build a ligand-bound structure collection

Find entries containing ATP, then read their records to organize the collection by protein, organism, and experimental method.

Prepare a weekly structural biology digest

Find newly released Cas9 entries and inspect their records to produce a digest with PDB identifiers, structure descriptions, and available citations.

Compare experimental approaches

Find ribosome structures determined by different methods, then compare their composition and experimental metadata in a reading table.

Prepare molecular visualization examples

Find hemoglobin structures, inspect their chains and ligands, and collect coordinate download links for a classroom visualization exercise.

Connect structures to the literature

Search for structures of citrate synthase, then collect each selected entry's available primary citation to build a structural biology reading list.

Questions about RCSB PDB structure search in Cursor

Can Cursor use RCSB PDB structure search?

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run RCSB PDB structure search like any built-in tool.

How much does RCSB PDB structure search 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 RCSB PDB structure search in Cursor?

No. Spiral runs RCSB PDB structure search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up RCSB PDB structure search in Cursor?

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

Does Cursor wait while RCSB PDB structure search runs?

RCSB PDB structure search runs in the background. Cursor starts the run, checks on it and gives you the json when it's ready.

How often does the PDB archive change?

New and modified entries are released weekly, with the Wednesday archive update scheduled by 00:00 UTC.

Does a PDB structure cover the entire protein?

A structure can cover only a folded domain or another partial sequence. PDB structures can also contain engineered mutations or sequence artifacts introduced for the experiment.

Are coordinates available for every atom?

Most PDB entries omit coordinates for some atoms. A deposited structure therefore does not guarantee a complete atomic model of the identified molecule.

Does the coordinate file show the biological assembly?

For crystal structures, the primary coordinate file typically contains one asymmetric unit. That unit may differ from the biologically relevant assembly, so check which representation you need.

Can I retrieve coordinates before a structure is released?

Unreleased coordinate sets are distributed only to the entry's authors. Selected metadata may become public before release when the author gives permission.

Get started

Start using RCSB PDB structure search 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