How to Use RCSB PDB structure search in Amp
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 Amp
Copy an example into Amp, 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.
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 Amp
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
No header and no client ID or secret: Amp registers itself with Spiral.
amp mcp add spiral https://api.spiral.ai/mcp
- Sign in
Start amp. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.
- Check it
amp mcp doctor
Use the Spiral skill
- Send Amp this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- 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: Amp 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.
Settings you can ask for
Ask Amp for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | relevance, newest, or resolution | relevance |
|
| Limit | 1 to 50 | 10 | limit |
| Offset | 0 to 1000000 | 0 | Number of hits to skip; pass the previous page's |
| Max resolution | a number up to 100 | Best resolution cutoff in ångströms (≤). Entries without a resolution (most NMR) are excluded when set. | |
| Experimental method | X-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 Amp?
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.
More on RCSB PDB structure search and Amp
Overview
RCSB PDB structure search in other agents
Questions about RCSB PDB structure search in Amp
Can Amp use RCSB PDB structure search?
Yes. Add Spiral to Amp as an MCP server, and Amp can find and run RCSB PDB structure search like any built-in tool.
How much does RCSB PDB structure search cost in Amp?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Amp plan is separate.
Do I need an Alexandria account to use RCSB PDB structure search in Amp?
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 Amp?
About two minutes: add the server, then sign in, then check it.
Does Amp wait while RCSB PDB structure search runs?
RCSB PDB structure search runs in the background. Amp 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.
Start using RCSB PDB structure search in Amp
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Amp:
set up https://spiral.ai/SKILL.md


