AN

augmented-nature/pdb-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

28 stars 7 forks Качество 60 Тренд 11NOASSERTION

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...

Обзор

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. - : Search PDB database for protein structures by keyword, protein name, or PDB ID - : Get detailed information for a specific PDB structure - : Download structure coordinates in various formats (PDB, mmCIF, mmTF, XML) - : Find PDB structures associated with a UniProt accession - : Get structure quality metrics and validation data - : Complete structure information for a PDB ID - : Structure coordinates in PDB format - : Structure data in mmCIF format - : Structure validation data and quality metrics - : Ligand and binding site information - : Search results for structures matching the query - (https://data.rcsb.org/): For structure metadata and information - (https://search.rcsb.org/): For advanced search capabilities - (https://files.rcsb.

README

Показан фрагмент оригинального README. Открыть оригинал.

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:

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
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "pdb-server": { "command": "node", "args": ["/path/to/pdb-server/build/index.js"] } } }