[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [UniProt protein search](https://spiral.ai/integrations/n8n/uniprot-protein-search)

# How to Use UniProt protein search in n8n

Find UniProtKB protein records matching a name, gene, or biological query. Use it to discover accessions and compare candidate matches before requesting detailed annotations.

|  |  |
| --- | --- |
| Model | UniProt protein search |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with UniProt protein search in n8n

- Every month, use UniProt protein search for reviewed human insulin receptor records and report additions or removals in the matching accession list.
- Every month, use UniProt protein search for reviewed mouse insulin receptor records and compare the matching names and accessions with the previous results.
- Every Monday at 9am: use UniProt protein search to look this up and give me the result as a table.
- Pull the latest numbers from UniProt protein search and tell me what changed since last week.
- Check UniProt protein search and summarize what you find in three bullet points.

## How to set up UniProt protein search in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

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

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run UniProt protein search in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds UniProt protein search, prices it and runs it each time the step fires.

### 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 UniProt protein 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": "uniprot-org/proteins/search",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: n8n finds UniProt protein search on Spiral, shows the price and runs it.

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

## UniProt protein search tools and prices

- [UniProt · Search](https://spiral.ai/tools/alexandria/uniprot-org/proteins/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 100 | 10 | Results per page. |
| cursor |  | — | `next_cursor` from the previous page. Repeat the same query, organism, reviewed and limit with it. |
| organism |  | — | Restrict to an organism: an NCBI taxonomy ID (`9606` for human, `10090` mouse, `562` E. coli with all strains) or a name (`Homo sapiens`, `human`). |
| reviewed |  | — | true: only reviewed Swiss-Prot entries (curated, the usual choice); false: only unreviewed TrEMBL entries. Omit for both. |

## What can you do with UniProt protein search in n8n?

Keep a UniProt research watchlist current by repeating protein lookups and comparing returned records with earlier results. A scheduled agent can report changes to identifier matches, functions, and cellular locations.

### Annotate a published gene list

Map the gene symbols in a paper to UniProt accessions, search uncertain names, and retrieve protein functions and cellular locations for the resolved records.

### Prepare a protein research brief

Find a protein by name or resolve its external identifier, then summarize its function, location, disease annotations, and links to other research databases.

### Reconcile public research datasets

Convert external identifiers to UniProt accessions, investigate unresolved labels through protein search, and use detailed annotations to check that the matched proteins fit the dataset.

### Build a teaching reference table

Start with protein names or gene symbols and create a table connecting accessions, biological functions, cellular locations, and annotation evidence.

### Check cellular compartment annotations

Find proteins of interest and inspect their location annotations and supporting evidence before selecting records for a compartment-specific research comparison.

## Overview

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

## UniProt protein search in other agents

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

## More n8n guides

- [UniProt protein details](https://spiral.ai/integrations/n8n/uniprot-protein-details)
- [dbSNP SNP details](https://spiral.ai/integrations/n8n/dbsnp-snp-details)
- [UniProt protein ID mapping](https://spiral.ai/integrations/n8n/uniprot-protein-id-mapping)
- [dbSNP population allele frequencies](https://spiral.ai/integrations/n8n/dbsnp-population-allele-frequencies)
- [STRING protein interaction partners](https://spiral.ai/integrations/n8n/string-protein-interaction-partners)
- [gnomAD allele frequencies](https://spiral.ai/integrations/n8n/gnomad-allele-frequencies)

## Questions about UniProt protein search in n8n

**Can n8n use UniProt protein search?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run UniProt protein search like any built-in tool.

**How much does UniProt protein search cost in n8n?**

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

**Do I need an Alexandria account to use UniProt protein search in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs UniProt protein search on its own Alexandria account.

**How long does it take to set up UniProt protein search in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while UniProt protein search runs?**

UniProt protein search runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does UniProtKB contain every known protein sequence?**

UniProtKB focuses on reference proteomes and selected additional proteins with experimental or biological importance. Sequences from non-reference proteomes are also available through UniParc and the Proteomes portal.

**What is the difference between reviewed and unreviewed protein records?**

Swiss-Prot records are manually annotated, while TrEMBL records receive computational annotation. Expert review considers both experimental and predicted data, so reviewed status does not mean every annotation was experimentally demonstrated.

**What evidence supports UniProt annotations?**

UniProt uses Evidence and Conclusion Ontology codes to identify annotation origins. These distinguish evidence behind biological statements, including experimental and computational sources.

**What does a protein location annotation describe?**

UniProt’s subcellular location annotations describe the mature protein’s location and topology in the cell. This makes them useful for distinguishing proteins associated with different cellular compartments.

