RCSB PDB

v0.23.0
io.github.rcsb/rcsb-mcp Checked 5 days ago Published 1 month ago

MCP server to search, inspect, and cross-reference RCSB Protein Data Bank structures

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

rcsb_render_report

Render a structure-search report as a styled, self-contained HTML page. Call this LAST, after the searches and rcsb_get_* calls that produce the values shown in the report. Supply facts only: the page is rendered from a fixed server-side template, so do not write HTML yourself and do not rewrite what this tool returns. Each field of ``report`` is described in the input schema. Returns: RenderReportResult with EITHER a `url` or `html` (never both), plus template_version. Prefer `url` — it is a self-contained…

ParameterTypeDescription
params *

rcsb_find_go_terms

Resolve a free-text molecular function, biological process, or cellular component / location (e.g. kinase activity, ATP binding, DNA repair, apoptosis, signal transduction, mitochondrial membrane, nucleus) to Gene Ontology (GO) terms, so you can run precise GO-based PDB searches instead of keyword guessing. Use this when a request involves what a protein DOES or where it acts — "proteins that <do X> / are involved in / participate in / are responsible for ...", "localized to / located in ...". Resolve the phrase to a GO id here, then filter on it with rcsb_query_…

ParameterTypeDescription
query *stringFree-text function / process / location, e.g. "kinase activity", "DNA repair".
limitintegerMax GO terms to return.
namespaceOptional GO aspect to restrict to. Omit to search all three.
with_pdb_countsbooleanIf true (default), annotate each term with pdb_entry_count (PDB entries carrying it, via annotation_lineage.id).

rcsb_find_interpro_domains

Resolve a free-text protein domain, family, or fold (e.g. SH2 domain, immunoglobulin fold, zinc finger, beta-barrel, WD40 repeat, kinase domain) to InterPro entries, for precise InterPro-based PDB searches instead of keyword guessing. Use this whenever a request references a protein DOMAIN, FAMILY, or fold — "structures containing / with a <domain>", "<domain>-containing proteins", "members of the <family> family". Resolve the phrase to an accession here, then filter on it with rcsb_query_attribute: exact_match on rcsb_polymer_entity_annotation.annotation_id, acc…

ParameterTypeDescription
query *stringFree-text domain/family name, e.g. "SH2 domain", "immunoglobulin".
entry_typeOptional type filter. Omit to return all types.
limitintegerMax entries to return.
with_pdb_countsbooleanIf true (default), annotate each entry with pdb_entry_count (PDB entries carrying it).

rcsb_find_enzyme_classes

Resolve a free-text enzyme, enzyme class, or catalyzed reaction (e.g. alcohol dehydrogenase, protease, kinase, DNA polymerase, hydrolase, oxidoreductase) to Enzyme Commission (EC) numbers, for precise EC-based PDB searches instead of keyword guessing. Use this when a request references an enzyme, enzyme class, or reaction — including "enzymes that catalyze / break down / degrade / synthesize / hydrolyze / phosphorylate ...". Resolve the phrase to an EC number here, then filter on it with rcsb_query_attribute: exact_match on rcsb_polymer_entity.rcsb_ec_lineage.id, EC…

ParameterTypeDescription
query *stringFree-text enzyme / reaction, e.g. "alcohol dehydrogenase", "protein kinase".
limitintegerMax EC numbers to return.
with_pdb_countsbooleanIf true (default), annotate each with pdb_entry_count (PDB entries carrying it, via rcsb_ec_lineage.id).

rcsb_find_disease_terms

Resolve a free-text disease, disorder, syndrome, or condition (e.g. diabetes, cancer, Alzheimer disease, cystic fibrosis) to MONDO ontology ids, for precise disease-based PDB searches instead of keyword guessing. Use for ANY request mentioning a disease/disorder/syndrome/condition — "structures involved in / associated with / linked to <disease>", "proteins implicated in <disease>". Resolve the phrase to a MONDO id here, then filter on it with rcsb_query_attribute: exact_match on rcsb_uniprot_annotation.annotation_lineage.id, id AS A STRING ("MONDO:0005148"). The…

ParameterTypeDescription
query *stringFree-text disease / condition, e.g. "cystic fibrosis", "breast cancer".
limitintegerMax MONDO terms to return.
with_pdb_countsbooleanIf true (default), annotate each with pdb_entry_count (PDB entries carrying it, via annotation_lineage.id).

rcsb_find_organisms

Resolve a free-text organism, common name, or clade (e.g. human, mouse, baker's yeast, Escherichia coli, mammals, bacteria, primates) to NCBI Taxonomy ids, for precise taxonomy-based PDB searches instead of keyword guessing. Use when a request restricts structures by SOURCE ORGANISM or any higher taxon — a common name you want as a canonical taxon ("human", "fruit fly"), or a CLADE, which a plain name search cannot expand. Resolve the phrase to a taxon id here, then filter on it with rcsb_query_attribute: exact_match on rcsb_entity_source_organism.taxonomy_lineage.id…

ParameterTypeDescription
query *stringFree-text organism / clade / common name, e.g. "human", "mammals", "E. coli".
limitintegerMax taxa to return.
with_pdb_countsbooleanIf true (default), annotate each taxon with pdb_entry_count (PDB entries from it or any organism beneath it, via taxonomy_lineage.id) — this also disambiguates a species from its strains.

rcsb_query_fulltext

Build a FREE-TEXT keyword query (e.g. "CRISPR Cas9", "hemoglobin"). Best for broad or exploratory lookups. When a request resolves to a clear attribute and value, prefer rcsb_query_attribute — more precise, and it avoids spurious keyword matches. BEFORE keyword-searching a biological CONCEPT (disease/function/domain/ enzyme/organism), resolve it to an ontology id with the matching rcsb_find_* tool and filter on the annotation instead; fall back to keywords only if that yields nothing. Matching spans many text attributes beyond the title — abstracts, keywords, syno…

ParameterTypeDescription
query *stringTerms matched case-insensitively against all text annotations. Quote a phrase to require adjacency (e.g. '"DNA polymerase"'); separate words narrow the results; a trailing '*' is a prefix wildcard. AN…

rcsb_list_pdb_search_attributes

Discover the RCSB PDB Search schema: attribute paths, value types, and operators. Call this FIRST when a request resolves to a clear attribute and value but you don't know the exact path; pick the attribute here, build the condition with `rcsb_query_attribute`, then execute with `rcsb_search_request`. Returns: {count, match_mode, attributes, note?}. `attributes` holds {attribute, type, operators, description, enum?, nested_group?} records — the RCSB/PDB attribute path (e.g. "rcsb_entry_info.resolution_combined"), its value type (string/number/integer…

ParameterTypeDescription
queryOptional keyword(s) to filter the catalog, matched as words of the attribute path, description and allowed values, best match first. Omit to return everything.
schemastringWhich catalog — "structure" (~636 attrs: entry/entity/assembly/instance) or "chemical" (~58 attrs: chemical-component). Paths from the chemical catalog need chemical_attributes=True on rcsb_query_at…

rcsb_query_attribute

Build a STRUCTURED query from attribute conditions — the precise alternative to keyword search, and preferred whenever a request resolves to clear attribute(s) and value(s). NEVER invent, guess, or infer an attribute path: call rcsb_list_pdb_search_attributes first if you don't know it or its operators. For a biological concept, resolve it to an ontology id with the matching rcsb_find_* tool and filter on that annotation. If a resolver returns no usable id, or a concept filter yields no hits, fall back to rcsb_query_fulltext for the concept. For ordinary constrai…

ParameterTypeDescription
attributes *arrayOne or more conditions. Attributes that carry a `nested_group` are stored in nested documents, and an object holds MANY: an entity has many binding affinities, many annotations. For these the CALL BOU…
chemical_attributesbooleanSet True when the paths come from rcsb_list_pdb_search_attributes(schema="chemical") (e.g. "chem_comp.formula_weight"). Selects the chemical-component catalog rather than the structure one.
logical_operatorstringCombine these conditions with "and" (default) or "or". For several values of a SINGLE attribute use the attribute operator `in`. For a query needing AND + OR — e.g. (high-resolution OR NMR) AND huma…

rcsb_query_sequence

Build a SEQUENCE-SIMILARITY query (MMseqs2, BLAST-like) from a raw sequence. Use when you have actual residues to match. For a short motif or pattern use rcsb_query_seqmotif; for a named protein use rcsb_query_fulltext or a resolver. Returns: A query document — pass it to rcsb_search_request, or to rcsb_query_composer.

ParameterTypeDescription
sequence *stringOne-letter sequence; whitespace is ignored. FASTA headers must be removed.
evalue_cutoffnumberMaximum E-value (default 1.0); lower is stricter.
identity_cutoffnumberMinimum fractional identity 0-1 (default 0.3). Raise toward 0.9 for close homologs, lower for remote ones.
sequence_typestring"protein" (default), "dna", or "rna".

rcsb_query_chemical

Build a CHEMICAL query from a SMILES/InChI descriptor or a molecular formula. Use for ligand and small-molecule questions where you have the chemistry itself. To find a ligand by NAME, use rcsb_query_fulltext or filter on a chemical attribute. Returns: A query document — pass it to rcsb_search_request, or to rcsb_query_composer.

ParameterTypeDescription
value *stringThe descriptor (SMILES like "CC(=O)Oc1ccccc1C(=O)O", or an InChI string) or the formula (e.g. "C9H8O4"). Case is preserved — element symbols and SMILES are case-sensitive.
descriptor_typestring"SMILES" (default) or "InChI"; descriptor queries only.
match_subsetbooleanFormula queries only. True matches components that merely contain the given atoms (and possibly others); False (default) requires the formula to match exactly.
match_typestringHow strictly to match the graph (descriptor queries only). Whole-molecule: graph-exact / graph-strict / graph-relaxed (default) / graph-relaxed-stereo, or fingerprint-similarity for "chemically simila…
query_typestring"descriptor" (default) or "formula".

rcsb_query_structure

Build a 3D SHAPE-SIMILARITY query against an existing PDB structure. Whole-shape similarity — use it for "structures shaped like X" / "same fold as X". For a geometric arrangement of specific residues use rcsb_query_strucmotif; for sequence similarity use rcsb_query_sequence. Returns: A query document — pass it to rcsb_search_request, or to rcsb_query_composer.

ParameterTypeDescription
entry_id *stringReference PDB entry, e.g. "4HHB".
assembly_idReference a whole assembly, e.g. "1". Defaults to assembly "1" when neither this nor asym_id is given; mutually exclusive with asym_id.
asym_idReference a single chain instead, e.g. "A" (the mmCIF label id).

rcsb_query_seqmotif

Build a SHORT SEQUENCE-MOTIF query — a pattern, not a full sequence. Use for active-site signatures, N-glycosylation sequons, zinc fingers, and similar short patterns. For a whole sequence use rcsb_query_sequence; for a 3D arrangement of residues use rcsb_query_strucmotif. Returns: A query document — pass it to rcsb_search_request, or to rcsb_query_composer.

ParameterTypeDescription
pattern *stringThe motif, written in the grammar named by pattern_type.
pattern_typestring"prosite" (default) for PROSITE syntax like "C-x(2,4)-C-x(3)-[LIVMFYWC]"; "regex" for a regular expression like "C..H[LIVF]"; "simple" for simple wildcards where X matches any residue (e.g. "NXS").
sequence_typestring"protein" (default), "dna", or "rna".

rcsb_query_strucmotif

Build a 3D STRUCTURAL-MOTIF query — a geometric arrangement of specific residues. Geometry-based, and different from rcsb_query_structure (whole-shape similarity) and rcsb_query_seqmotif (sequence pattern). Use it for catalytic triads, binding sites, metal-coordination geometries, and similar. Returns: A query document — pass it to rcsb_search_request, or to rcsb_query_composer.

ParameterTypeDescription
entry_id *stringReference PDB entry defining the motif, e.g. "2MNR".
residue_ids *array2-10 residues defining the motif, each {"label_asym_id": <chain>, "label_seq_id": <int>, "struct_oper_id"?: <str>}. IMPORTANT: these are the mmCIF *label* identifiers (the internal numbering), which o…
angle_toleranceintegerAngle tolerance in multiples of 20 degrees, integer 0-3 (default 1).
atom_pairing_schemestringALL, BACKBONE, SIDE_CHAIN (default), or PSEUDO_ATOMS.
backbone_distance_toleranceintegerBackbone distance tolerance in A, integer 0-3 (default 1).
exchangesOptional per-position residue alternatives, each {"residue_id": {...}, "allowed": [<3-letter codes>]}, to match variants of the motif.
motif_pruning_strategystringNONE or KRUSKAL (default).
rmsd_cutoffnumberMaximum RMSD of accepted hits (default 2.0).
side_chain_distance_toleranceintegerSide-chain distance tolerance in A, integer 0-3 (default 1).

rcsb_query_composer

Combine query documents with one AND/OR — call repeatedly to nest. You do NOT need this for conditions that share a single operator: several attribute conditions ANDed together are one rcsb_query_attribute call, and a list of alternatives for one attribute is better expressed with the `in` operator than with OR. Reach for the composer when a query needs BOTH operators, or mixes services: * (human OR mouse) AND resolution < 2 A -> build the OR group with rcsb_query_attribute(logical_operator="or"), build the resolution condition, then compose the two wi…

ParameterTypeDescription
queries *arrayTwo or more query documents from any rcsb_query_* tool (including this one). Pass each through exactly as returned.
logical_operatorstring"and" (default) or "or".

rcsb_search_request

RUN a query built by the rcsb_query_* tools and return matching PDB identifiers. Every search ends here: build with rcsb_query_fulltext / rcsb_query_attribute / rcsb_query_sequence / rcsb_query_chemical / rcsb_query_structure / rcsb_query_seqmotif / rcsb_query_strucmotif, optionally join with rcsb_query_composer, then execute with this tool. Nothing is searched until you call it — a query document on its own is not a result. Results are IDENTIFIERS only. Batch them into rcsb_get_entries, or the rcsb_get_* tool matching `return_type`, to get metadata. Return…

ParameterTypeDescription
query *The query document returned by an rcsb_query_* tool, passed through unchanged.
all_hitsbooleanReturn the COMPLETE result set in one call, for an explicit "ALL ..." request. Ignores limit, cannot be combined with offset (the Search API rejects pagination here), and is refused above 10000 hits â…
facetsAggregation specs returning a BREAKDOWN instead of hits — use for "how many by X (e.g., experimental method)", "distribution of Y (e.g., EC numbers)", "which Z (e.g., organisms)" queries or to disco…
group_byCollapse redundant polymer_entity hits into clusters and return one representative each — requires return_type="polymer_entity". Sequence-identity clustering at 30/50/70/90/95 percent ("seqid_30" ..…
group_by_rankingWhich member represents each cluster: "resolution" (best first), "released_date" (newest first), "entity_residue_count" (longest deposited sequence first — expression tags and fusion partners count…
include_computed_modelsbooleanAlso search computed structure models (AlphaFold and similar), not just experimental structures.
limitintegerMax hits to return, 1-100 (default 10).
offsetintegerHits to skip, for paging; pass the response's next_offset back with the same query to fetch the next page.
return_typeWhat kind of identifier to return: Type Description Example Data API tool entry whole structure "4HHB" -> rcsb_get_entries polymer_entity one…
sort_byAttribute path to order hits by, replacing the default relevance order (each hit's score is still returned). A pure attribute filter is a boolean match whose hits otherwise come back in near-arbitrary…
sort_directionstring"asc" (default) or "desc"; applies only when sort_by is set.

rcsb_describe_seqcoord_object

Discover the fields available on a Sequence Coordinates object, from the live schema. The Sequence Coordinates analogue of rcsb_describe_data_object, with the same shape: the rcsb_seqcoord_* tools return a compact default selection; use this to find what else you can request via their `fields=` argument. Every path it returns is verified against the live schema, so it is safe to pass to `fields=` directly. Browse a level, drill in / scope with `into`, or pass `query` to flatten the tree into dotted paths and keep only matching fields. The walk depth follows which one…

ParameterTypeDescription
object_key *stringThe root field to describe: "alignments" for rcsb_seqcoord_alignments, "annotations" for rcsb_seqcoord_annotations.
intoOptional dot-path of nested object field(s) to scope to, e.g. "target_alignments" or "features.feature_positions".
max_depthHow many levels to walk (1-6). Omit it: the default follows what you are doing — 1 when browsing, 3 when searching. The schema bottoms out at 3.
queryOptional case-insensitive keyword, matched against each field's path (relative to the scope) and its description.

rcsb_seqcoord_alignments

Cross-reference a sequence across PDB, UniProt, and NCBI, with aligned ranges. This is the tool for "which X identifiers correspond to this sequence?" across databases — including NCBI. The RCSB Data API only cross-references UniProt, so use THIS tool for NCBI RefSeq protein / genome mappings (and PDB<->UniProt too). The returned target_alignments[].target_id values are the mapped identifiers in the to_ref system, each with its aligned regions. Examples: - "What NCBI proteins map to PDB entity 4HHB_1?" query_id="4HHB_1", from_ref="PDB_ENTITY", to_r…

ParameterTypeDescription
from_ref *stringReference system of query_id.
query_id *stringThe sequence id, in the from_ref system's format — UNIPROT "P69905", NCBI_PROTEIN "NP_000508", NCBI_GENOME "NC_000016", PDB_ENTITY "4HHB_1" (entry_entityNumber), PDB_INSTANCE "4HHB.A" (entry.asym_id…
to_ref *stringReference system to map onto.
fieldsOptional GraphQL selection to override the default.
seq_rangeOptional [begin, end] (1-based) to restrict the query region.

rcsb_seqcoord_annotations

Residue-level features of one PDB polymer entity (4HHB_1) or instance (4HHB.A), positioned on its sequence. The tool for questions about specific residues: which form an active site, bind a ligand or metal, are modified, glycosylated or disulfide-bonded, lie in a domain, helix or membrane segment, are unobserved or poorly fitted. Without feature_types every feature is returned. An answer too large to return (an entity's chain features come once per copy) fails with the feature types the sequence has and their counts: ask again for the ones needed, or for one insta…

ParameterTypeDescription
query_id *stringA PDB polymer entity ("4HHB_1") or instance ("4HHB.A", RCSB chain id), computed models included. For a UniProt or NCBI id, find its PDB entities with rcsb_seqcoord_alignments first.
feature_typesOptional feature types to return, any of them (e.g. ["ACTIVE_SITE", "BINDING_SITE"]), named as in the `type` of returned features. Omit for every annotation; an answer too large to return is refused w…
fieldsOptional GraphQL selection to override the default.

rcsb_describe_data_object

Discover the fields available on a Data API object, from the live GraphQL schema. Use this to find what to request in a rcsb_get_* tool's `fields=` argument: its default selection is a compact summary of a far richer type (CoreEntry has ~100 fields). Every path returned is verified against the live schema, so it is safe to pass directly. NEVER invent, guess, or infer a field path from memory, from a naming convention, or from another API. An unverified path fails GraphQL schema validation and wastes the call. Paths shown in a rcsb_get_* tool's own description or examp…

ParameterTypeDescription
intoOptional dot-path of nested object field(s) to scope to, e.g. "rcsb_entry_info" or "polymer_entities.rcsb_polymer_entity". Scoping a search to a sub-tree is cheaper and more focused than flattening fr…
max_depthHow many levels to walk (1-6). Omit it: the default follows what you are doing — 1 when browsing, 3 when searching, which is what it takes to reach "polymer_entities.rcsb_polymer_entity.pdbx_descrip…
object_keyWhich object to describe — the key matching the rcsb_get_* tool. OMIT it to search every object at once and be told which tool owns each match; that needs a `query` and cannot be combined with `into…
queryOptional case-insensitive keyword, matched against each field's path (relative to the scope) and its description, e.g. "resolution", "abstract", "organism". A SEARCH ATTRIBUTE PATH works as the query…

rcsb_get_entries

Fetch metadata for one or more PDB entries (title, method, resolution, size, dates, and primary citation). The response also lists the entry's component ids under rcsb_entry_container_identifiers — use these to drill into the structure. They are bare numbers; compose them with the entry id to call the matching rcsb_get_* tool: polymer_entity_ids/non_polymer_entity_ids "N" -> "<ENTRY>_N" (rcsb_get_polymer_entities / rcsb_get_nonpolymer_entities); assembly_ids "N" -> "<ENTRY>-N" (rcsb_get_assemblies).

ParameterTypeDescription
entry_ids *array4-character PDB entry codes, e.g. ["4HHB", "1MBN"]; pass a one-element list for a single entry. Unknown IDs are returned under "not_found".
fieldsOptional GraphQL selection replacing the curated default (e.g. "struct.title"); discover/verify paths with rcsb_describe_data_object("entries").

rcsb_get_polymer_entities

Fetch polymer entities (protein/nucleic-acid molecules) — description, length, weight, and source organism. Default fields: description, length, weight, and source organism. Polymer-based (sequence) annotations can be fetched adding rcsb_polymer_entity_annotation.* fields, and positional features adding rcsb_polymer_entity_feature.*

ParameterTypeDescription
entity_ids *arrayentry + entity number, e.g. ["4HHB_1"] — exactly what rcsb_search_request returns with return_type="polymer_entity". Unknown IDs are returned under "not_found". NEVER form one by appending _1 to an…
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_polymer_entity.pdbx_description"); discover/verify paths with rcsb_describe_data_object("polymer_entities").

rcsb_get_nonpolymer_entities

Fetch non-polymer (ligand/cofactor) entities, e.g. ["4HHB_3"]. Default fields: description, weight, copy count, and the bound chemical component ID. Use rcsb_get_chem_comps for the chemistry of that component.

ParameterTypeDescription
entity_ids *arrayentry + non-polymer entity number, e.g. ["4HHB_3"] — exactly what rcsb_search_request returns with return_type="non_polymer_entity". Unknown IDs are returned under "not_found". Do not guess the numb…
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_nonpolymer_entity.pdbx_description"); discover/verify paths with rcsb_describe_data_object("nonpolymer_entities").

rcsb_get_branched_entities

Fetch branched (carbohydrate / oligosaccharide) entities, e.g. ["5FMB_2"]. Default fields: description, weight, copy count, branch type, and component count.

ParameterTypeDescription
entity_ids *arrayentry + entity number, e.g. ["5FMB_2"]. Unknown IDs are returned under "not_found".
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_branched_entity.pdbx_description"); discover/verify paths with rcsb_describe_data_object("branched_entities").

rcsb_get_polymer_entity_instances

Fetch polymer entity instances (individual chains), e.g. ["4HHB.A"] (entry.asym_id). Instance-based (chain) annotations can be fetched adding rcsb_polymer_instance_annotation.* fields, and positional features rcsb_polymer_instance_feature.* Default fields: the entry/entity/chain identifiers and modeled-residue count.

ParameterTypeDescription
instance_ids *arrayentry.asym_id (chain), e.g. ["4HHB.A"] — exactly what rcsb_search_request returns with return_type="polymer_instance". Unknown IDs are returned under "not_found". Do not guess ".A". It is the LABEL…
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_polymer_instance_info.modeled_residue_count"); discover/verify paths with rcsb_describe_data_object("polymer_entity_instances").

rcsb_get_nonpolymer_entity_instances

Fetch non-polymer entity instances (individual bound ligands), e.g. ["4HHB.E"]. Default fields: the entry/entity/chain identifiers, bound component id, and author seq id.

ParameterTypeDescription
instance_ids *arrayentry.asym_id, e.g. ["4HHB.E"]. Unknown IDs are returned under "not_found".
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_nonpolymer_entity_instance_container_identifiers.comp_id"); discover/verify paths with rcsb_describe_data_object("nonpolymer_entity…

rcsb_get_branched_entity_instances

Fetch branched entity instances (individual glycan chains), e.g. ["5FMB.C"]. Default fields: the entry/entity/chain identifiers.

ParameterTypeDescription
instance_ids *arrayentry.asym_id (glycan chain), e.g. ["5FMB.C"]. Unknown IDs are returned under "not_found".
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_branched_entity_instance_container_identifiers.asym_id"); discover/verify paths with rcsb_describe_data_object("branched_entity_ins…

rcsb_get_assemblies

Fetch biological assemblies, e.g. ["4HHB-1"] (entry-assembly). Default fields: composition counts and oligomeric state. Assembly-based (complex) annotations can be fetched adding rcsb_assembly_annotation.* fields, and positional features rcsb_assembly_feature.*

ParameterTypeDescription
assembly_ids *arrayentry-assembly, e.g. ["4HHB-1"] — exactly what rcsb_search_request returns with return_type="assembly". Unknown IDs are returned under "not_found". Do not guess "-1". Assembly 1 essentially always e…
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_assembly_info.polymer_entity_instance_count"); discover/verify paths with rcsb_describe_data_object("assemblies").

rcsb_get_interfaces

Fetch assembly interfaces, e.g. ["1BMV-1.1"] (entry-assembly.interface). Default fields: buried area, character, composition, residue count.

ParameterTypeDescription
interface_ids *arrayentry-assembly.interface, e.g. ["1BMV-1.1"]. Unknown IDs are returned under "not_found".
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_interface_info.interface_area"); discover/verify paths with rcsb_describe_data_object("interfaces").

rcsb_get_chem_comps

Fetch chemical components / ligands by their short codes, e.g. ["HEM", "ATP"]. Default fields: name, formula, weight, type, SMILES, InChIKey.

ParameterTypeDescription
comp_ids *arraychemical-component short codes, e.g. ["HEM", "ATP"]. Unknown IDs are returned under "not_found".
fieldsOptional GraphQL selection replacing the curated default (e.g. "chem_comp.name"); discover/verify paths with rcsb_describe_data_object("chem_comps").

rcsb_get_entry_groups

Fetch entry groups (clusters of related entries) by group ID. Default fields: group name, description, member count, and member ids.

ParameterTypeDescription
group_ids *arrayentry-group ids, e.g. ["G_1002266"]. Unknown IDs are returned under "not_found".
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_group_info.group_name"); discover/verify paths with rcsb_describe_data_object("entry_groups").

rcsb_get_polymer_entity_groups

Fetch polymer entity groups (e.g. sequence clusters), e.g. ["85_70"]. Default fields: group name, description, member count, and member ids.

ParameterTypeDescription
group_ids *arraysequence-cluster group ids, e.g. ["85_70"]. Unknown IDs are returned under "not_found".
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_group_info.group_name"); discover/verify paths with rcsb_describe_data_object("polymer_entity_groups").

rcsb_get_nonpolymer_entity_groups

Fetch non-polymer entity groups (clusters of related ligands) by group ID. Default fields: group name, description, member count, and member ids.

ParameterTypeDescription
group_ids *arraynon-polymer entity group ids, e.g. ["ATP"]. Unknown IDs are returned under "not_found".
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_group_info.group_name"); discover/verify paths with rcsb_describe_data_object("nonpolymer_entity_groups").

rcsb_get_uniprot

Fetch the UniProt record RCSB maps to an accession, e.g. "P69905". Default fields give a functional snapshot: accession(s), entry name, protein and gene names, EC number, the UniProt function comment, source organism, and keywords (which often summarize biology directly, e.g. "ATP-binding", "Viral attachment to host entry receptor"). RCSB's UniProt integration is rich — `fields` can also pull the heavier annotation sets (kept out of the default because they can run to hundreds of entries): `rcsb_uniprot_annotation` (GO terms, InterPro, disease associations),…

ParameterTypeDescription
uniprot_id *stringa UniProt accession, e.g. "P69905".
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_uniprot_protein.name.value"); discover/verify paths with rcsb_describe_data_object("uniprot").

rcsb_get_pubmed

Fetch the PubMed record for a citation by its integer ID, e.g. 6726807. Default fields: PubMed Central ID, DOI, abstract text.

ParameterTypeDescription
pubmed_id *integerinteger PubMed ID, e.g. 6726807.
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_pubmed_doi"); discover/verify paths with rcsb_describe_data_object("pubmed").

rcsb_get_group_provenance

Fetch provenance/method metadata for a grouping, e.g. "provenance_sequence_identity". Default fields: the aggregation method/type and provenance id.

ParameterTypeDescription
group_provenance_id *stringa provenance token, e.g. "provenance_sequence_identity".
fieldsOptional GraphQL selection replacing the curated default (e.g. "rcsb_group_aggregation_method.type"); discover/verify paths with rcsb_describe_data_object("group_provenance").