uniprot-mcp-server: get entry
uniprot_get_entryFetch full curated UniProtKB entries by accession in one batch (up to 20). Each entry carries function, catalytic activity, cofactors, subcellular location, disease involvement, PTMs, natural variants, isoforms, domains, GO terms, keywords, and cross-references. Partial failures do not abort the batch — resolved entries land in succeeded[] and unknown/withdrawn accessions in failed[]. Pass fields to trim the upstream projection. A single oversized record returns kind: "outline" (a section listing with byte sizes) instead of overflowing context — re-call the same accession with sections:[...] (e.g. ["disease","variants"]) to pull only those. This tool does not search: accessions come from uniprot_search_proteins.results[].accession or uniprot_map_ids. Strip any isoform suffix (P04637-2 to P04637) before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated UniProtKB field names to project, e.g. "accession,gene_names,cc_function,ft_variant". Omit for the full curated default set. Use this on the initial call to trim payload. | |
| sections | No | Only used to re-call after a kind: "outline" response — pass a subset of the outlined section keys to fetch just those sections. Do not pass on the initial call. | |
| accessions | Yes | Accessions to fetch (1–20). From uniprot_search_proteins or uniprot_map_ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Result kind. "full": the batch resolved — read succeeded[] and failed[]. "outline": a single record exceeded the context budget and is returned as a section listing — re-call the same accession with sections:[...] to pull specific sections. | |
| error | No | Present when the call failed. Absent on success. | |
| failed | No | Accessions that were well-formed but not found in UniProtKB. Present when kind is "full". | |
| notice | No | Re-call guidance when kind is "outline" — re-call the same accession with sections:[...] to pull specific sections. | |
| sections | No | Section outline returned when a single record exceeds the context budget. Present when kind is "outline". | |
| succeeded | No | Entries that resolved successfully. Present when kind is "full". |