get
Pack: uniprot · Endpoint: https://gateway.pipeworx.io/uniprot/mcp
“Fetch protein [P12345]” / “UniProt entry for [accession]” / “FASTA sequence for [protein]” — single UniProtKB entry by accession (e.g. P12345 or P38398 for BRCA1_HUMAN). Returns full protein record: sequence, function annotations, GO terms, cross-refs, post-translational modifications, variants. Pass format=fasta for sequence only.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
accession | string | yes | e.g. “P12345” or “P38398” (BRCA1_HUMAN) |
format | string | no | json (default) | fasta | xml | txt | gff |
Example call
Arguments
{
"accession": "P38398"
}
curl
curl -X POST https://gateway.pipeworx.io/uniprot/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get","arguments":{"accession":"P38398"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get', {
"accession": "P38398"
});
More examples
{
"accession": "P12345",
"format": "xml"
}
Response shape
| Field | Type | Description |
|---|---|---|
primaryAccession | string | Primary UniProt accession |
uniProtkbId | string | UniProtKB identifier |
entryType | string | Entry type (Swiss-Prot or TrEMBL) |
proteinDescription | object | Protein description and names |
sequence | object | Amino acid sequence |
features | array | Sequence features and annotations |
Full JSON Schema
{
"type": "object",
"description": "Single UniProtKB entry details",
"properties": {
"primaryAccession": {
"type": "string",
"description": "Primary UniProt accession"
},
"uniProtkbId": {
"type": "string",
"description": "UniProtKB identifier"
},
"entryType": {
"type": "string",
"description": "Entry type (Swiss-Prot or TrEMBL)"
},
"proteinDescription": {
"type": "object",
"description": "Protein description and names"
},
"sequence": {
"type": "object",
"description": "Amino acid sequence"
},
"features": {
"type": "array",
"description": "Sequence features and annotations",
"items": {
"type": "object"
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"uniprot": {
"url": "https://gateway.pipeworx.io/uniprot/mcp"
}
}
}
See Getting Started for client-specific install steps.