/protein-mcp-server:protein-guidefrom protein-mcp-server
Guides usage of protein_* tools: explains identifier types (PDB, UniProt, AlphaFold, ligands), chain namespaces, and result interpretation. Use before chaining protein tool calls or reporting scores and residue data.
Ships in protein-mcp-server. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Protein structure and function, keyless: search, metadata, coordinates, and corpus counts over experimental PDB entries and the computed models RCSB indexes; ligands and binding-site residues in experimental entries; AlphaFold DB and 3D-Beacons models by UniProt accession; Foldseek fold search; RCSB structural alignment; UniProt features and variants with InterPro memberships.
Not here: fetching a protein's sequence, resolving a gene or protein name to a UniProt accession, and binding affinities. Pair with a UniProt server for sequences and accessions, and a bioactivity server for affinities.
| ID | Example | Comes from | Goes to |
|---|---|---|---|
| Polymer entity | 4HHB_1 | entityId on sequence hits; polymerEntities[]; hostEntities[]; queryEntityId | Not an input. The row's id is the entry; find the entity in that entry's polymerEntities for its chains |
| RCSB computed model | AF_AFP69905F1, MA_… | predicted hits from protein_search_structures | protein_get_structure with source experimental; it returns as predicted, with polymer entities. protein_compare_structures takes the AF_ form as pdb_id |
| AlphaFold DB entry | AF-P69905-F1, AF-P04637-2-F1 | af:// entryId | protein_get_structure with source predicted or best_available; af:// |
| UniProt accession | P69905; isoform P04637-2 | uniprotAccession on AlphaFold search and Foldseek hits; accession from protein_get_annotations | protein_get_structure (predicted, best_available), af://, protein_find_similar; protein_get_annotations takes the canonical form only |
| UniProtKB entry name | HBA_HUMAN | a UniProt server | protein_find_similar only, which resolves it to its entry's accession; every other tool takes the accession |
| Picked PDB entry | pdbId | best_available records | protein_get_structure with source experimental, for entities, chains, and ligands |
| Chemical component | STI, HEM | find_ligand compId; ligands[].compId | structures_with_ligand, binding_site, the ligand filter of protein_search_structures |
AF_ with an underscore is RCSB's computed-model ID; AF- with a hyphen is AlphaFold DB's entry ID. Each goes under the source its row names.
Chain IDs come in two namespaces, both case-sensitive:
| Namespace | Carried by | Taken by |
|---|---|---|
Author (auth_asym_id) | polymerEntities[].authAsymIds; binding-site authAsymId and ligandAsymId; chain on pdb100 Foldseek hits | chain on protein_get_annotations and protein_find_similar (by: sequence) |
Label (label_asym_id) | polymerEntities[].labelAsymIds; binding-site asymId | chain on protein_compare_structures |
authAsymIds and labelAsymIds independently: for 6QNR_9 the label chains are I, OB and the author chains 82, 8E, and label I is author 8E. To move between namespaces, pick the entity, then read the list you need from that entity.protein_get_structure lists an entity's first 100 chain IDs per namespace beside chainCount. When chainCount exceeds the IDs listed (a pdb100 hit's chain or a pocket residue's chain can lie past them), re-call with all_chains: true or read pdb://{entry_id}, which lists every chain.protein_get_annotations defaults to the lowest author chain and lists the other accessions in ambiguity; protein_find_similar by sequence defaults to the lowest-numbered protein entity of at least 10 residues, never DNA or RNA, and names it in queryEntityId. Pass the author chain of the protein you mean (4HHB B reaches the beta chain, 4HHB_2; chain needs pdb_id and applies to by: sequence only), and check accession or queryEntityId before reporting.best_available returns one pick. It takes a PDB entry when one exists (PDBe's SIFTS mapping is checked when 3D-Beacons lists none, but not for an isoform accession, whose pick comes only from the models 3D-Beacons lists for it), ranked by coverage, then resolution; otherwise the most confident other model (pLDDT and QMEANDisCo compared on one scale, unscored models last), which can be a non-PDB experimental model such as SASBDB's. Read coverage, uniprotStart, and uniprotEnd before calling a pick full-length. Only a record with pdbId is a PDB entry, and its polymer entities, chains, and ligands come only from re-calling with that pdbId under source experimental.accession; protein_find_similar names it only in the notice. A demerged or deleted one fails inactive_accession, or lands in failed[] on protein_get_structure, with its replacements. A demerged accession lists several (P62988 has four): pick the one you mean, never the first by default.P04637-2 and AF-P04637-2-F1 resolve on protein_get_structure (predicted, best_available) and af://, and protein_find_similar takes the canonical or isoform accession, or the entry name (HBA_HUMAN), in both modes (a malformed one fails invalid_accession). protein_get_annotations rejects an isoform and names the canonical accession; UniProt carries no features for the isoform itself. P04637-1 is the canonical sequence: pass P04637.score is a rank. RCSB rescales it between the best and worst hit of that one search (for P69905, 1.0 at the head of the list, 0.0 at the tail), so it compares nothing across searches. Under content type all, a sequence search runs once per universe and merges the hits by bitscore: each universe's head scores 1.0, and evalue is measured against that universe's own database, so compare hits across universes by bitscore or identity. Report identity, evalue, and the aligned range, present whenever RCSB returns an alignment for the hit.protein_search_structures and on protein_find_similar by sequence, so a count of 2,000 (per universe under all, where the notice names which) means at least that many; narrow with min_identity or max_evalue (and organism on protein_search_structures) for a complete count. A notice that a universe was left out means the hits and totalCount cover the other universe alone. A re-call retries it, but RCSB can keep failing the same sequence search, so the re-call may leave it out again.pdb100, afdb50, afdb-swissprot, afdb-proteome, and cath50 hits carry an id: a PDB entry, or the accession of an AlphaFold model (cath50 domains map to either). bfvd_v3, mgnify_esm30, gmgcl_id, and bfmd hits are predicted models with no id: cite target. A bfvd_v3 hit keeps its uniprotAccession, but that accession is no reliable route back to the BFVD model itself.id values.query is a file position, not a chain. Query 0 is the first chain Foldseek read from the submitted file, query 1 the second; nothing maps a query to an author chain ID. A pdb100 hit's chain is the target's author chain, and a -N suffix marks a symmetry copy: drop the suffix before passing it to protein_get_annotations.seqId is the position in the entity sequence; authSeqId is the depositor's numbering, used by literature and viewers; no fixed offset relates them (1IEP: label THR93 is author THR315). protein_get_annotations positions and InterPro fragments are UniProt numbering, and Foldseek spans count along the sequence Foldseek indexed. No tool maps residue numbers from one to another, so never match a pocket residue to a UniProt feature by number alone; report each number with its namespace.structures_with_ligand, depositionCount, and the ligand filter of protein_search_structures match entries with a non-polymer instance of the component. A component present only as a residue inside a polymer chain, or a sugar inside a branched glycan, is not counted: MSE matches about 20 entries, not the 10,000-plus that hold it in polymer chains. binding_site has the same scope: a peptide-like ligand deposited as a polymer chain (cyclosporin A in 1CWA) has no pocket to return, and the not_found miss names the components and polymer-chain ligands the entry does hold.find_ligand ranks one block of candidates per page. It ranks blocks of max(limit, 25) name matches by deposition count, so when totalCount exceeds candidatesConsidered a more-deposited match can sit on another page. Walk it with start, keeping limit fixed, or narrow the query.query is loose full text: ABL1 with ligand STI still returns every imatinib entry, while SYK with STI narrows to 1XBB. Check each entry's protein (hostEntities, or polymerEntities) before reporting "X bound to Y". hostEntities names the entities whose chains the depositor assigned the ligand to; a ligand at an interface lists one side only, so use binding_site for the residues that contact it.sapiens, coli) match nothing. Homo sapiens and 9606 return the same set, while the common name human returns a slightly different one, so spell an organism one way across counts you compare.method, max_resolution, or ligand filter keeps experimental entries only, and under content type predicted matches nothing.content_type when comparing counts. protein_search_structures defaults to all and protein_analyze_collection to experimental, so their totals for the same filters differ unless you set it.total. Report bucket counts, never their sum, as entries.ignored, never looked up, and unresolved IDs in failed[]. Resubmit ignored before reporting on the whole set; for protein_compare_structures with reference first, put the original reference ahead of them. On protein_get_structure, a failed[] row whose reason says an upstream lookup failed, or the time budget ran out, is not a missing structure: re-call with that ID (fewer IDs per call if the budget stopped it) before reporting it has none, and treat upstream_unavailable the same way for the whole call.One protein's structures. With a UniProt accession: protein_get_structure with source best_available for one pick, predicted for the AlphaFold DB model. For the experimental entries of that protein, protein_find_similar by sequence from the accession with min_identity near 1, keeping hits whose organisms match; queryStart and queryEnd show how much of the protein each covers. For computed models in a sequence search, use protein_search_structures with the sequence and content type predicted or all.
Homologs. By sequence for identity and E-value; by structure (Foldseek) for fold similarity across PDB and predicted databases. A multichain entry runs one Foldseek query per chain and takes no chain: page its queries with the ticket, or search from the UniProt accession, which submits that protein's AlphaFold DB model.
Ligand to pocket. find_ligand resolves a name or formula to a component ID. Then structures_with_ligand, whose rows name hostEntities, or protein_search_structures with the ligand filter plus organism, method, resolution, or a sequence. binding_site with the entry and the component returns the pocket's polymer residues (amino acids or nucleotides); protein_get_annotations with the entry and a pocket residue's authAsymId as the chain gives that protein's UniProt accession and features (numbering gate).
Align specific chains. protein_get_structure (source experimental) or pdb:// for the entry; choose the entity by entityId or description, and pass one of its labelAsymIds as the chain. From a sequence hit, match its entityId; from a pdb100 Foldseek hit, take the entity whose authAsymIds hold the hit's chain (suffix dropped).
Coordinates. Prefer coordinateUrls. Inline coordinates come one file at a time in 24,000-character windows: select one structure, then re-call with coords_offset set to coordinatesNextOffset until it is absent, and join the windows in order. 1CRN's mmCIF takes 3 windows; 4HHB's takes 33.
Profile the PDB. protein_analyze_collection returns counts, not entries; protein_search_structures with the same query, organism, method, resolution, and content type lists the entries in that scope.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
protein-mcp-server@cyanheads is listed by cyanheads/cyanheads — review the source before installing
npx claudepluginhub cyanheads/cyanheads --plugin protein-mcp-server