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

NameTypeRequiredDescription
accessionstringyese.g. “P12345” or “P38398” (BRCA1_HUMAN)
formatstringnojson (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

FieldTypeDescription
primaryAccessionstringPrimary UniProt accession
uniProtkbIdstringUniProtKB identifier
entryTypestringEntry type (Swiss-Prot or TrEMBL)
proteinDescriptionobjectProtein description and names
sequenceobjectAmino acid sequence
featuresarraySequence 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.

Regenerated from source · build July 6, 2026