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

n8n · Health

How to Use RCSB PDB structure search in n8n

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 n8n

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

Every Wednesday afternoon UTC, use RCSB PDB structure search to find human EGFR structures released during the previous seven days. Report PDB identifiers I have not seen before.

RCSB PDB structure searchn8n
Try asking
  • Every Thursday, use RCSB PDB structure search to find newly released Cas9 structures from the previous week, with the newest first.

  • Each week, use RCSB PDB structure search to find Escherichia coli ribosome structures released in the previous seven days. Compare the returned identifiers with last week's digest.

  • Every Monday at 9am: use RCSB PDB structure search to look this up and give me the result as a table.

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

How to set up RCSB PDB structure search in n8n

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

Use the Spiral skill

  1. Send n8n 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 Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run RCSB PDB structure search in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds RCSB PDB structure search, prices it and runs it each time the step fires.

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: n8n 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 n8n 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 n8n?

Produce a weekly digest of newly released PDB structures for a research topic. A scheduled agent can compare returned identifiers with its previous results and summarize selected records with their available citations.

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 n8n

Can n8n use RCSB PDB structure search?

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

How much does RCSB PDB structure search cost in n8n?

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

Do I need an Alexandria account to use RCSB PDB structure search in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs RCSB PDB structure search on its own Alexandria account.

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

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while RCSB PDB structure search runs?

RCSB PDB structure search runs in the background. n8n 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 n8n

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

Paste this into n8n:

Set up n8n

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