[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [RCSB PDB ligand details](https://spiral.ai/integrations/grok/rcsb-pdb-ligand-details)

# How to Use RCSB PDB ligand details in Grok

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.

|  |  |
| --- | --- |
| Model | RCSB PDB ligand details |
| 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 ligand details in Grok

- Use RCSB PDB ligand details for STI. Explain its returned chemical name and synonyms, and show its formula and molecular weight.
- Use RCSB PDB ligand details for HEM and ATP. Make a side-by-side table of their names, formulas, and molecular weights.
- Use RCSB PDB ligand details for CFF. Show its returned SMILES and InChI descriptions and explain what each type of description represents.
- Use RCSB PDB ligand details for STI. List the external database references present in the result, organized by source.
- Use RCSB PDB ligand details for ATP, HEM, and CFF. Prepare a short classroom glossary using their returned names, synonyms, and formulas.

## How to set up RCSB PDB ligand details in Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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 ligand details**: 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/ligands/ligand",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Grok finds RCSB PDB ligand details on Spiral, shows the price and runs it.

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

## RCSB PDB ligand details tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Ligand page URL, e.g. https://www.rcsb.org/ligand/STI. Give this or `comp_id`. |
| comp_id |  | — | Chemical Component Dictionary id, 1 to 5 letters or digits (`STI`, `HEM`, `ATP`). Give this or `url`. Pattern: ^[A-Za-z0-9]{1,5}$. |

## What can you do with RCSB PDB ligand details in Grok?

Turn an unfamiliar PDB ligand code into a readable compound brief. A chat app can explain the returned names and chemical descriptors and organize available external references for further reading.

### 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.

## Overview

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

## RCSB PDB ligand details in other agents

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

## More Grok guides

- [PubMed related articles](https://spiral.ai/integrations/grok/pubmed-related-articles)
- [RCSB PDB structure details](https://spiral.ai/integrations/grok/rcsb-pdb-structure-details)
- [PubMed article details](https://spiral.ai/integrations/grok/pubmed-article-details)
- [RCSB PDB structure search](https://spiral.ai/integrations/grok/rcsb-pdb-structure-search)
- [PubMed and PMC literature search](https://spiral.ai/integrations/grok/pubmed-and-pmc-literature-search)
- [Reactome pathway details](https://spiral.ai/integrations/grok/reactome-pathway-details)

## Questions about RCSB PDB ligand details in Grok

**Can Grok use RCSB PDB ligand details?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run RCSB PDB ligand details like any built-in tool.

**How much does RCSB PDB ligand details cost in Grok?**

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

**Do I need an Alexandria account to use RCSB PDB ligand details in Grok?**

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

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while RCSB PDB ligand details runs?**

RCSB PDB ligand details runs in the background. Grok 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.

