npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@iflow-mcp/pdb-server

v1.0.0

Published

A comprehensive Model Context Protocol server for accessing Protein Data Bank (PDB) with 28 structural biology tools for protein structure analysis, validation, and comparison

Readme

PDB MCP Server Logo

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.

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

  1. Search for insulin structures:

    Use the search_structures tool to find insulin protein structures
  2. Get information about a specific structure:

    Get detailed information about PDB structure 1ABC using get_structure_info
  3. Download structure coordinates:

    Download the PDB file for structure 1ABC using download_structure
  4. Find structures for a UniProt protein:

    Find PDB structures for UniProt accession P01308 using search_by_uniprot
  5. Check structure quality:

    Get validation metrics for PDB structure 1ABC using get_structure_quality
  6. Access resources directly:

    Show me the resource pdb://structure/1abc

API Integration

This server integrates with:

  • RCSB PDB REST API (https://data.rcsb.org/): For structure metadata and information
  • RCSB PDB Search API (https://search.rcsb.org/): For advanced search capabilities
  • RCSB PDB File Download (https://files.rcsb.org/): For structure file downloads

Structure Data Formats

  • PDB: Original Protein Data Bank format
  • mmCIF: Macromolecular Crystallographic Information File (newer standard)
  • mmTF: Macromolecular Transmission Format (binary, compressed)
  • XML: Extensible Markup Language format

Quality Metrics

The server provides various structure quality indicators:

  • Resolution (for X-ray crystallography)
  • R-work and R-free values
  • Ramachandran plot statistics
  • Clash scores
  • Rotamer outliers
  • Model validation scores

Complementary Servers

This PDB server works well with:

  • UniProt MCP Server: For protein sequence and functional information
  • AlphaFold MCP Server: For predicted protein structures

Together, these provide comprehensive access to protein structure and function data.

Error Handling

The server includes robust error handling for:

  • Invalid PDB IDs
  • Network connectivity issues
  • API rate limiting
  • Missing structure files
  • Malformed requests

Development

# Install dependencies
npm install

# Build the server
npm run build

# Run in development mode
npm run dev

Attribution

This project is developed by Augmented Nature 🌐 Website: augmentednature.ai

Citation

If you use this project in your research or publications, please cite it as follows:

author = {Moudather Chelbi},
title = {Protein Data Bank (PDB) MCP Server},
year = {2025},
howpublished = {https://github.com/Augmented-Nature/PDB-MCP-Server},
note = {Accessed: 2025-06-29}