How to Use UniProt protein details in n8n
Fetch a protein’s function, cellular location, disease annotations, and database cross-references from UniProtKB. Use it when you already have an accession and need the biological details behind that protein.
Prompts to try with UniProt protein details in n8n
Copy an example into n8n, or ask in your own words.
Every month, use UniProt protein details for P04637 and report changes in its returned function and cellular location annotations compared with the previous check.
Every month, use UniProt protein details for P00533 and summarize changes to returned disease annotations and database cross-references.
Every Monday at 9am: use UniProt protein details to look this up and give me the result as a table.
Pull the latest numbers from UniProt protein details and tell me what changed since last week.
Check UniProt protein details and summarize what you find in three bullet points.
How to set up UniProt protein details in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n 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 Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- 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:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run UniProt protein details 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 details, prices it and runs it each time the step fires.
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 UniProt protein 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": "uniprot-org/proteins/get", "input": { "accession": "<accession>" } }'
Then paste one of the prompts above: n8n finds UniProt protein details on Spiral, shows the price and runs it.
UniProt protein details providers and prices
Spiral runs UniProt protein details through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Include sequence | on or off | Also return the amino-acid sequence in |
Every API field of UniProt · Get is on its tool page: open its card above.
What can you do with UniProt protein details 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.
More on UniProt protein details and n8n
Overview
UniProt protein details in other agents
Questions about UniProt protein details in n8n
Can n8n use UniProt protein details?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run UniProt protein details like any built-in tool.
How much does UniProt protein details 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 details in n8n?
You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs UniProt protein details on its own Alexandria account.
How long does it take to set up UniProt protein details in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while UniProt protein details runs?
UniProt protein details 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.
Start using UniProt protein details in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


