Look up proteins
uniprot.search_proteinsFreeLive now
Search UniProtKB by name, gene, organism or accession (e.g. "insulin human", "BRCA1", "P69905") and get protein name, genes, organism, length and curated function.
Inputs
| Name | Type | Description |
|---|---|---|
queryrequired | string | Search text or a UniProt accession |
reviewed_only | boolean | Only manually reviewed (Swiss-Prot) entriesdefault: true |
limit | integer | default: 5; range: 1 to 10 |
Example output
{"query":{"query":"hemoglobin human","reviewed_only":true},"count":3,"proteins":[{"accession":"P68871","entry_name":"HBB_HUMAN","protein":"Hemoglobin subunit beta","genes":["HBB"],"organism":"Homo sapiens","taxon_id":9606,"length_aa":147,"reviewed":true,"function":"Involved in oxygen transport from the lung to the various peripheral tissues","page":"https://www.uniprot.org/uniprotkb/P68871/entry"},{"accession":"P02042","entry_name":"HBD_HUMAN","protein":"Hemoglobin subunit delta","genes":["HBD"],"organism":"Homo sapiens","taxon_id":9606,"length_aa":147,"reviewed":true,"function":"Involved i...Data license
CC BY 4.0 · Data from UniProt (The UniProt Consortium), CC BY 4.0. Source
Try it
…
Call it
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "uniprot.search_proteins",
"arguments": {
"query": "hemoglobin human",
"limit": 3
}
}
}curl -sS -X POST https://www.realworldmcp.com/api/call/uniprot.search_proteins \
-H 'content-type: application/json' \
-d '{"query": "hemoglobin human", "limit": 3}'const res = await fetch("https://www.realworldmcp.com/api/call/uniprot.search_proteins", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"query": "hemoglobin human", "limit": 3})
});
console.log(await res.json());