[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [AlphaFold protein structure prediction](https://spiral.ai/integrations/grok/alphafold-protein-structure-prediction)

# How to Use AlphaFold protein structure prediction in Grok

Retrieve an existing AlphaFold protein model’s metadata, confidence measures, and structure file links. Use it to check which regions support structural analysis before choosing an experimental construct or examining a mutation site.

|  |  |
| --- | --- |
| Model | AlphaFold protein structure prediction |
| 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 AlphaFold protein structure prediction in Grok

- Use AlphaFold protein structure prediction for P04637 and explain which regions have high confidence and which need caution.
- Use AlphaFold protein structure prediction for P00533 and summarize the model’s sequence coverage, confidence, and available structure files.
- Use AlphaFold protein structure prediction for P69905 and P68871 and compare their confidence distributions.
- Use AlphaFold protein structure prediction for Q13542 and list stretches with confidence scores below 50, explaining what those scores can mean.
- Use AlphaFold protein structure prediction for P04637 and assess whether the available predicted aligned error supports interpreting the relative placement of its regions.

## How to set up AlphaFold protein structure prediction 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 AlphaFold protein structure prediction**: 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": "alphafold-ebi-ac-uk/structures/prediction",
    "input": {
      "id": "<id>"
    }
  }'
```

Then paste one of the prompts above: Grok finds AlphaFold protein structure prediction on Spiral, shows the price and runs it.

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

## AlphaFold protein structure prediction tools and prices

- [AlphaFold Protein Structure Database · Prediction](https://spiral.ai/tools/alexandria/alphafold-ebi-ac-uk/structures/prediction) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| id |  | — | UniProt accession (P04637), isoform (P04637-2), entry name (P53_HUMAN), AlphaFold DB model ID (AF-P04637-F1, AF-0000000000710001) or alphafold.ebi.ac.uk entry URL; case-insensitive. Exactly one of id and gene. |
| gene |  | — | Gene symbol (TP53, CD52, HLA-A), resolved to the one reviewed (Swiss-Prot) UniProt entry with that gene name, or that synonym, in organism. A symbol shared by several entries is invalid_input listing them. |
| organism |  | — | Organism for gene: NCBI taxonomy ID (9606) or name (human, Mus musculus). Default 9606 (human). Only with gene. |

## What can you do with AlphaFold protein structure prediction in Grok?

Get a readable assessment of which parts of an AlphaFold protein model support structural interpretation. A chat app can explain local confidence and domain-placement uncertainty using the retrieved model data.

### Choose candidate construct boundaries

Inspect residue confidence before proposing protein fragments for expression experiments. Use confidence changes to identify candidate boundaries for experimental review.

### Review a mutation site’s structural context

Locate a residue in the predicted structure and examine its local confidence. Use the result to decide how much structural detail can support a research discussion.

### Screen models before downstream analysis

Compare confidence distributions across candidate proteins and identify regions that deserve closer inspection before structural calculations.

### Identify possible disordered regions

Find low-confidence stretches for follow-up. Separate possible intrinsic disorder from regions where AlphaFold may lack enough information to predict a structure.

### Review domain placement

Inspect PAE alongside local confidence before interpreting the spatial relationship between two protein regions.

### Prepare a protein model for visualization

Retrieve structure file links and confidence information for a protein visualization or research presentation.

### Check models after database updates

Compare retrieved model metadata with an earlier snapshot and flag entries for review. Account for version labels that change while coordinates remain the same.

## Overview

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

## AlphaFold protein structure prediction in other agents

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

## More Grok guides

- [AlphaFold predicted protein complexes](https://spiral.ai/integrations/grok/alphafold-predicted-protein-complexes)
- [BDPM HAS medicine assessments](https://spiral.ai/integrations/grok/bdpm-has-medicine-assessments)
- [AlphaFold missense predictions](https://spiral.ai/integrations/grok/alphafold-missense-predictions)
- [BDPM medicine details](https://spiral.ai/integrations/grok/bdpm-medicine-details)
- [mempool.space Transaction output spending status](https://spiral.ai/integrations/grok/mempool-space-transaction-output-spending-status)
- [BDPM medicine search](https://spiral.ai/integrations/grok/bdpm-medicine-search)

## Questions about AlphaFold protein structure prediction in Grok

**Can Grok use AlphaFold protein structure prediction?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run AlphaFold protein structure prediction like any built-in tool.

**How much does AlphaFold protein structure prediction 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 AlphaFold protein structure prediction in Grok?**

No. Spiral runs AlphaFold protein structure prediction on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up AlphaFold protein structure prediction 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 AlphaFold protein structure prediction runs?**

AlphaFold protein structure prediction runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

**Does AlphaFold cover proteins outside humans?**

Yes. The core UniProt dataset includes predicted protein structures from more than 1 million organisms, including model organisms and pathogens.

**Does a newer model version mean the structure was recalculated?**

No. AlphaFold DB v6 aligned the core database with UniProt 2025_03, but entries with unchanged sequences retained their v4 coordinates while receiving updated metadata and v6 labels.

**How should I interpret the confidence scores?**

pLDDT measures local confidence for each residue from 0 to 100. Scores above 90 indicate the highest accuracy category; scores below 50 can reflect disorder or insufficient information to predict the region confidently.

**Can I retrieve a complete structure for a very long protein?**

Do not assume a complete model is available. For human proteins longer than 2,700 amino acids, AlphaFold supplies overlapping 1,400-residue fragments in proteome archives, outside the website’s individual structure pages.

**Does high local confidence establish how protein domains fit together?**

Check predicted aligned error, or PAE, when assessing domain placement. Low PAE between residues in different domains indicates lower predicted positional error, while high PAE indicates uncertain relative placement.

