How to Use RCSB PDB ligand details in Claude Code
Fetch a chemical component's identity, formula, molecular weight, chemical descriptors, and available database references from RCSB PDB. Use it to decode a ligand code or prepare compound metadata before investigating structures that contain it.
Prompts to try with RCSB PDB ligand details in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use RCSB PDB ligand details for STI and compare its returned name, synonyms, and formula with the STI row in our compound table. Propose corrections for any mismatch.
Use RCSB PDB ligand details for HEM and ATP, then add their returned formulas and molecular weights to the project's ligand reference table.
Use RCSB PDB ligand details for CFF and build a JSON fixture from its returned name, formula, molecular weight, and available chemical descriptors.
Use RCSB PDB ligand details for STI and add its available external database references to our compound detail view, preserving the source labels.
Use RCSB PDB ligand details for ATP and compare every returned SMILES description with the ATP descriptors in our dataset. Report the differences before editing anything.
How to set up RCSB PDB ligand details in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code 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 ligand details
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/ligands/ligand", "input": { "url": "<url>" } }'
Then paste one of the prompts above: Claude Code finds RCSB PDB ligand details on Spiral, shows the price and runs it.
RCSB PDB ligand details providers and prices
Spiral runs RCSB PDB ligand details through Alexandria. Open a card for today's price, with every fee included.
What can you do with RCSB PDB ligand details in Claude Code?
Build a checked compound reference table from the ligand codes in your project. A coding agent can compare RCSB names, formulas, and descriptors with existing records and prepare a reviewable correction.
Decode ligand codes in a structure report
Turn codes such as STI, HEM, and ATP into a readable glossary with chemical names, synonyms, and formulas.
Prepare a compound comparison table
Collect names, formulas, and molecular weights for a specified list of PDB ligand codes before reviewing their chemistry.
Connect compound records across databases
Extract available external references from RCSB ligand records to support matching against resources such as PubChem and DrugBank.
Prepare chemical descriptors for analysis
Retrieve available SMILES and InChI descriptions for known ligand codes as inputs to a separate chemistry analysis workflow.
Review changes to a ligand reference table
Recheck selected ligand records weekly and flag changes in names, formulas, descriptors, or external references for a curator.
Build a structural biology lesson
Create comparison notes for ATP, HEM, and CFF using their returned names, formulas, molecular weights, and chemical descriptors.
Check compound labels in research files
Compare ligand codes and compound names in a project table against RCSB chemical component records, then report mismatches for review.
More on RCSB PDB ligand details and Claude Code
Overview
RCSB PDB ligand details in other agents
Questions about RCSB PDB ligand details in Claude Code
Can Claude Code use RCSB PDB ligand details?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run RCSB PDB ligand details like any built-in tool.
How much does RCSB PDB ligand details cost in Claude Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use RCSB PDB ligand details in Claude Code?
No. Spiral runs RCSB PDB ligand details 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 ligand details in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while RCSB PDB ligand details runs?
RCSB PDB ligand details runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
Which compounds do RCSB ligand pages cover?
They cover entries in the wwPDB Chemical Component Dictionary. This is a dictionary of PDB chemical components, so its coverage should not be treated as a catalog of every known compound.
How often does the underlying dictionary change?
The Chemical Component Dictionary is updated with each weekly PDB release. A weekly check is useful for maintaining a local collection of ligand metadata.
Are obsolete ligand records removed?
Obsoleted components remain in the dictionary and are marked OBS. Finding an existing record therefore does not establish that its definition is current.
What chemical identifiers and descriptors are available?
RCSB summaries include names, identifiers, synonyms, SMILES, and InChI information. These help reconcile a short PDB ligand code with a compound name or chemical representation.
Does a ligand summary provide a complete search of structures containing it?
RCSB provides a separate search for all PDB entries containing a ligand. Use the chemical component summary to establish identity, then search the structure archive for occurrences.
Start using RCSB PDB ligand details in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


