[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [UniProt protein details](https://spiral.ai/integrations/muse-code/uniprot-protein-details)

# How to Use UniProt protein details in Muse Code

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.

|  |  |
| --- | --- |
| Model | UniProt protein 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 UniProt protein details in Muse Code

- Use UniProt protein details for P04637 and create a project reference table containing its function, cellular locations, and annotation evidence.
- Use UniProt protein details for P00533 and add its returned disease annotations and database cross-references to the project’s protein report.
- Use UniProt protein details to look this up and give me the result as a table. Save the result in ./assets.
- 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 Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 UniProt protein 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": "uniprot-org/proteins/get",
    "input": {
      "accession": "<accession>"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## UniProt protein details tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | UniProtKB entry URL, e.g. `https://www.uniprot.org/uniprotkb/P04637/entry`. Exactly one of `accession` and `url`. |
| accession |  | — | UniProtKB accession (`P04637`, `A0A000`), isoform accession (`P04637-2`) or entry name (`P53_HUMAN`); case-insensitive. |
| include_sequence |  | — | Also return the amino-acid sequence in `sequence.value`. |

## What can you do with UniProt protein details in Muse Code?

Add UniProt accessions and biological context to a research project’s gene tables. A coding agent can reconcile identifiers and turn protein functions, locations, and evidence into tables used by the project.

### 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 Muse Code guides](https://spiral.ai/integrations/muse-code)

## UniProt protein details in other agents

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

## More Muse Code guides

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

## Questions about UniProt protein details in Muse Code

**Can Muse Code use UniProt protein details?**

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

**How much does UniProt protein details cost in Muse 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 Muse Code plan is separate.

**Do I need an Alexandria account to use UniProt protein details in Muse Code?**

No. Spiral runs UniProt protein 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 UniProt protein details in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while UniProt protein details runs?**

UniProt protein details runs in the background. Muse Code 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.

