PDBSAFE
A Model Context Protocol (MCP) server that provides access to the Protein Data Bank (PDB) - the worldwide repository of information about the 3D structures of proteins, nucleic acids, and complex assemblies.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
A Model Context Protocol (MCP) server that provides access to the Protein Data Bank (PDB) - the worldwide repository of information about the 3D structures of proteins, nucleic acids, and complex assemblies.
Features
Tools
- search_structures: Search PDB database for protein structures by keyword, protein name, or PDB ID
- get_structure_info: Get detailed information for a specific PDB structure
- download_structure: Download structure coordinates in various formats (PDB, mmCIF, mmTF, XML)
- search_by_uniprot: Find PDB structures associated with a UniProt accession
- get_structure_quality: Get structure quality metrics and validation data
Resources
- pdb://structure/{pdb_id}: Complete structure information for a PDB ID
- pdb://coordinates/{pdb_id}: Structure coordinates in PDB format
- pdb://mmcif/{pdb_id}: Structure data in mmCIF format
- pdb://validation/{pdb_id}: Structure validation data and quality metrics
- pdb://ligands/{pdb_id}: Ligand and binding site information
- pdb://search/{query}: Search results for structures matching the query
Installation
npm install npm run build
Usage
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"pdb-server": {
"command": "node",
"args": ["/path/to/pdb-server/build/index.js"]
}
}
}Example Queries
- Search for insulin structures:
Use the search_structures tool to find insulin protein structures
- Get information about a specific structure:
Get detailed information about PDB structure 1ABC using get_structure_info
- Download structure coordinates:
Download the PDB file for structure 1ABC using download_structure
- Find structures for a UniProt protein:
Find PDB structures for UniProt accession P01308 using search_by_u
df7aa45cc97aOBSERVED · 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add pdb-server -- npx -y [email protected]
{
"mcpServers": {
"pdb-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (5)
5 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
download_structure | read | Download structure coordinates in various formats |
get_structure_info | read | Get detailed information for a specific PDB structure |
get_structure_quality | read | Get structure quality metrics and validation data |
search_by_uniprot | read | Find PDB structures associated with a UniProt accession |
search_structures | read | Search PDB database for protein structures by keyword, protein name, or PDB ID |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (5 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (1)
@modelcontextprotocol/sdk, axios, @types/node, typescript
Gates applied: no_behavioural_pass.
df7aa45cc97afull audit observations/trust-audit/mcp-server/augmented-nature__pdb.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | df7aa45cc97a | SAFE | B | 89 | first audit |
Questions
What is the PDB MCP server?
A Model Context Protocol (MCP) server that provides access to the Protein Data Bank (PDB) - the worldwide repository of information about the 3D structures of proteins, nucleic acids, and complex assemblies.
What tools does PDB expose?
5 in total: 5 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is PDB safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does PDB need?
No credential environment variables were found in its source, so it appears to need none.
How does PDB run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as pdb-server at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (df7aa45cc97a), read on 2026-10-09. The repository is watched and re-audited when it changes.