[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [RCSB PDB structure search](https://spiral.ai/integrations/devin/rcsb-pdb-structure-search)

# How to Use RCSB PDB structure search in Devin

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

|  |  |
| --- | --- |
| Model | RCSB PDB structure search |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with RCSB PDB structure search in Devin

- 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 Devin

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

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

1. **Send Devin 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.

```bash
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.

```bash
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: Devin finds RCSB PDB structure search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/devin

## RCSB PDB structure search tools and prices

- [RCSB Protein Data Bank · Search](https://spiral.ai/tools/alexandria/rcsb-org/structures/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | relevance, newest, resolution | relevance | `relevance` (search score), `newest` (initial release date, newest first) or `resolution` (best first, entries without a resolution last). |
| limit | 1 to 50 | 10 | limit |
| query |  | — | Full-text search over titles, descriptions, keywords, organisms, ligand names, citations and annotations, e.g. `imatinib`, `spike glycoprotein`, `CRISPR Cas9`. |
| ligand |  | — | Structures containing this Chemical Component Dictionary id as a non-polymer ligand, e.g. `STI` (imatinib), `HEM`, `ATP`. Look ids up with the `ligand` function. Pattern: ^[A-Za-z0-9]{1,5}$. |
| offset | 0 to 1000000 | 0 | Number of hits to skip; pass the previous page's `next_offset`. |
| organism |  | — | Source organism scientific name, matched case-insensitively against the NCBI taxonomy lineage of every polymer entity, so `Escherichia coli` includes its strains and `Mammalia` includes every mammal. |

## What can you do with RCSB PDB structure search in Devin?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Devin guides](https://spiral.ai/integrations/devin)

## RCSB PDB structure search in other agents

- [Amp](https://spiral.ai/integrations/amp/rcsb-pdb-structure-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/rcsb-pdb-structure-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/rcsb-pdb-structure-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/rcsb-pdb-structure-search)
- [Cline](https://spiral.ai/integrations/cline/rcsb-pdb-structure-search)
- [Codex](https://spiral.ai/integrations/codex/rcsb-pdb-structure-search)
- [Cursor](https://spiral.ai/integrations/cursor/rcsb-pdb-structure-search)
- [dots](https://spiral.ai/integrations/dots/rcsb-pdb-structure-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/rcsb-pdb-structure-search)
- [Gemini](https://spiral.ai/integrations/gemini/rcsb-pdb-structure-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/rcsb-pdb-structure-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/rcsb-pdb-structure-search)
- [goose](https://spiral.ai/integrations/goose/rcsb-pdb-structure-search)
- [Grok](https://spiral.ai/integrations/grok/rcsb-pdb-structure-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/rcsb-pdb-structure-search)
- [Hermes](https://spiral.ai/integrations/hermes/rcsb-pdb-structure-search)
- [Instinct](https://spiral.ai/integrations/instinct/rcsb-pdb-structure-search)
- [Manus](https://spiral.ai/integrations/manus/rcsb-pdb-structure-search)
- [Muse](https://spiral.ai/integrations/muse/rcsb-pdb-structure-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/rcsb-pdb-structure-search)
- [n8n](https://spiral.ai/integrations/n8n/rcsb-pdb-structure-search)
- [Notion](https://spiral.ai/integrations/notion/rcsb-pdb-structure-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/rcsb-pdb-structure-search)
- [opencode](https://spiral.ai/integrations/opencode/rcsb-pdb-structure-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/rcsb-pdb-structure-search)
- [Raycast](https://spiral.ai/integrations/raycast/rcsb-pdb-structure-search)
- [VS Code](https://spiral.ai/integrations/vscode/rcsb-pdb-structure-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/rcsb-pdb-structure-search)
- [Zapier](https://spiral.ai/integrations/zapier/rcsb-pdb-structure-search)

## More Devin guides

- [RCSB PDB structure details](https://spiral.ai/integrations/devin/rcsb-pdb-structure-details)
- [Reactome pathway details](https://spiral.ai/integrations/devin/reactome-pathway-details)
- [RCSB PDB ligand details](https://spiral.ai/integrations/devin/rcsb-pdb-ligand-details)
- [Reactome pathway enrichment](https://spiral.ai/integrations/devin/reactome-pathway-enrichment)
- [PubMed related articles](https://spiral.ai/integrations/devin/pubmed-related-articles)
- [Reactome pathway molecules](https://spiral.ai/integrations/devin/reactome-pathway-molecules)

## Questions about RCSB PDB structure search in Devin

**Can Devin use RCSB PDB structure search?**

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

**How much does RCSB PDB structure search cost in Devin?**

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

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

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 Devin?**

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

**Does Devin wait while RCSB PDB structure search runs?**

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

