Protein Hunter MCP
Provides Chai-lab-based protein design tools, including four specialized design methods and an advanced method with full parameter control, async execution, progress reporting, and structured PDB/metrics outputs.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Protein Hunter MCP
An MCP (Model Context Protocol) server for Protein Hunter – protein design and analysis tools powered by Boltz, Chai-lab, PyRosetta, and LigandMPNN.
Protein Hunter itself was developed by Cho et al. in the work “[Protein Hunter: exploiting structure hallucination within diffusion for protein design]” (bioRxiv) and released at the upstream repository yehlincho/Protein-Hunter.
This protein_hunter_mcp repository is an unofficial MCP wrapper around the upstream Protein Hunter code, created by the Longevity Genie team for use by their LongevityForest AI agent repository and related tools; it is not an official project of the Protein Hunter authors.

Repository: https://github.com/longevity-genie/protein_hunter_mcp
LongevityForest Ecosystem
This project is connected to the LongevityForest AI agent repository. The ecosystem includes:
longevity-forest: Multi-agent gene analysis repository with specialised bioinformatics agents (GitHub)
protein_hunter_mcp (this repository): MCP server for protein structure analysis and protein target selection
cell2sequence4longevity-mcp: MCP server that wraps our fine-tuning of cell2sequence model to use it for the age prediction.
Used together, these tools link cellular observations, sequence analysis, and protein structure analysis across multiple biological scales.
Related MCP server: Rosetta MCP
What is MCP?
The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to AI assistants. This server exposes Protein Hunter's capabilities through MCP, enabling AI assistants like Claude to perform protein design and analysis tasks.
Requirements
Hardware requirements
This server needs substantial GPU memory:
CUDA-capable GPU
Approximately 20–25GB VRAM (most consumer GPUs have 8–16GB and are not sufficient)
Workstation or cloud GPUs with high VRAM (e.g. NVIDIA A100, H100) are recommended
In practice it is usually easier to use a deployed instance of this server than to run it on typical desktop hardware.
Software requirements
Python 3.10-3.12
uv package manager
Git with submodule support
Installation
Clone the repository with submodules:
git clone --recurse-submodules https://github.com/longevity-genie/protein_hunter_mcp.git cd protein_hunter_mcpIf you already cloned without
--recurse-submodules, initialize the submodules:git submodule update --init --recursiveInstall uv (if not already installed):
curl -LsSf https://astral.sh/uv/install.sh | shSync dependencies with uv:
uv syncThis will install:
Modified Boltz from the Protein-Hunter submodule (with custom features)
Chai-lab from the sokrypton fork
All required dependencies
Run post-installation script:
uv run postinstall.pyThis script will:
Download Boltz weights to
~/.boltzInstall PyRosetta (with automatic pip→uv redirection)
Setup LigandMPNN model parameters (if available)
Make DAlphaBall.gcc executable
Verify installations
What's Included
Core Dependencies
Boltz v2.2.1 with CUDA support - protein structure prediction
Chai-lab - advanced protein modeling
PyRosetta - protein design and analysis
LigandMPNN - ligand-conditioned protein design
Additional Tools
ProDy, PyPDB - protein structure analysis
py3Dmol, py2Dmol - molecular visualization
matplotlib, seaborn - plotting and visualization
Quick Start
Running the MCP Server
STDIO mode (for MCP clients like Claude Desktop):
uv run protein-hunter-mcp stdioHTTP mode (for web integrations):
uv run protein-hunter-mcp http --port 3003SSE mode (for Server-Sent Events):
uv run protein-hunter-mcp sse --port 3003Testing the Server
Run the hello world test:
uv run pytest test/test_server.py -vUsing with Claude Desktop
Add to your Claude Desktop MCP configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"protein-hunter-mcp": {
"command": "uv",
"args": ["--directory", "/data/sources/protein_hunter_mcp", "run", "server.py", "stdio"]
}
}
}For detailed usage instructions, see MCP_USAGE.md.
Tool Usage
Design Parameters
Each tool accepts parameters specific to its design type:
Common Parameters (all tools):
design_name/jobname: Name for the design runnum_designs/n_trials: Number of designs to generate (default: 1)num_cycles/n_cycles: Number of optimization cycles (Boltz: 7, Chai: 5)
Boltz-Specific:
target_protein_sequence: Amino acid sequence of the target proteintemplate_pdb_code: PDB code for template structures (e.g., "8ZNL")contact_residues: Comma-separated residue positions for contact specificationligand_ccd_code: Chemical Component Dictionary code (e.g., "SAM", "ATP")nucleic_acid_sequence: DNA or RNA sequencemin/max_design_protein_length: Length constraints for designed protein
Chai-Specific:
target_protein_sequence: Target protein sequenceligand_smiles: SMILES string for small moleculestarget_length: Desired length of designed proteinpercent_X: Percentage of unknown residues in initial sequence
Performance Notes
Runtime: 7-10 minutes per design on H100 GPU (Boltz), 5-10 minutes (Chai)
Progress Tracking: All tools report progress through MCP context
GPU Support: Configure via
GPU_IDenvironment variable or server initializationOutput: Results include PDB files, sequences, and metrics in structured directories
Development
Install development dependencies:
uv sync --extra devThis includes:
pytest, pytest-asyncio - testing
mypy - type checking
ruff - linting and formatting
ipykernel - Jupyter notebook support
Run tests:
uv run pytestTroubleshooting
Submodule Issues
If you encounter errors about missing Protein-Hunter directory or Boltz import errors:
# Initialize/update submodules
git submodule update --init --recursive
# If submodule is out of sync
git submodule update --remote --merge
# Reinstall dependencies
uv sync --reinstall-package boltzPyRosetta Installation Issues
If PyRosetta fails to install, the postinstall script uses a PATH wrapper to redirect pip calls to uv pip. Check the output for specific errors.
CUDA Issues
Ensure you have a CUDA-compatible GPU and drivers installed. Boltz requires CUDA for good performance.
Out-of-memory (OOM) errors usually indicate that the GPU does not have enough VRAM. The server expects roughly 20–25GB VRAM; most consumer GPUs (8–16GB) will not be sufficient. In that case, use a deployed instance of the server or a higher-memory GPU (for example A100 or H100, often available on cloud platforms).
Missing LigandMPNN or DAlphaBall
These are optional components from the Protein-Hunter repository. The postinstall script will skip them if not found.
Boltz Import Errors
If you see TypeError: Boltz2.predict_step() got an unexpected keyword argument, you're likely using the standard Boltz package instead of the modified version. Ensure:
The Protein-Hunter submodule is initialized (
git submodule update --init --recursive)Dependencies are synced properly (
uv sync --reinstall-package boltz)
Architecture
This is a uv-based project, converted from the original conda-based Protein Hunter setup.
Key Components
ProteinHunterMCP Server (
server.py)Built on FastMCP framework
Supports multiple transport modes (STDIO, HTTP, SSE)
Registers all design tools with
ph_prefixManages GPU configuration (via
GPU_IDenv var or--gpu-idflag)Provides MCP resources for example sequences
BoltzTools (
boltz.py)8 specialized design methods covering different binding scenarios
1 advanced method with full parameter control
Async subprocess execution for long-running tasks
Progress tracking via MCP context reporting
Returns structured results with CSV summaries and output paths
ChaiTools (
chai.py)4 specialized design methods for different use cases
1 advanced method with full parameter control
Async subprocess execution with progress tracking
Returns structured results with PDB files and metrics
Design Philosophy
Interfaces: Each tool focuses on a specific use case with sensible defaults
Advanced options: Advanced methods expose all parameters for power users
Runtime: Design runs typically take 7–10 minutes per design on an H100 GPU
Results: Tools return structured JSON with file paths and metrics
Resources: Example sequences are provided as MCP resources
Technical Features
Uses
pyproject.tomlfor dependency managementAll dependencies available via PyPI or git
Post-install script handles special cases (PyRosetta, model weights, Protein-Hunter setup)
Async design execution with subprocess management
Progress reporting through MCP context
Type-hinted function signatures throughout
Project Structure
protein_hunter_mcp/
├── src/
│ └── protein_hunter_mcp/
│ ├── __init__.py
│ ├── server.py # MCP server implementation
│ ├── boltz.py # Boltz design tools (8 methods)
│ ├── chai.py # Chai design tools (4 methods)
│ └── example_sequences.py # Example protein/ligand sequences
├── Protein-Hunter/ # Git submodule with design scripts
│ ├── boltz_ph/ # Boltz design implementation
│ ├── chai_ph/ # Chai design implementation
│ └── results_*/ # Output directories
├── server.py # Server entry point
├── postinstall.py # Post-installation setup script
├── test/ # Test suite
│ └── test_server.py # Server tests
├── pyproject.toml # Project configuration
├── mcp-config.json # MCP client config examples
├── README.md # This file
├── docs/ # Documentation
│ ├── MCP_USAGE.md # Detailed MCP usage guide
│ ├── MIGRATION.md # Migration guide
│ └── PROTEIN_SEQUENCES.md # Documentation for example sequencesAvailable MCP Tools
All tools are prefixed with ph_ to avoid naming conflicts. The server exposes 12 protein design tools across two platforms:
Boltz Design Tools (8 tools)
ph_design_protein_binder: Design a protein binder for a target protein (standard binding with all-X sequence)ph_design_protein_binder_with_template: Design a protein binder using a template PDB structureph_design_protein_binder_with_contacts: Design a protein binder with specified contact residuesph_design_multimer_binder: Design a binder for multimeric protein targets (e.g., dimers)ph_design_cyclic_peptide_binder: Design cyclic peptide binders (10-20 residues)ph_design_small_molecule_binder: Design protein binders for small molecules (via CCD codes)ph_design_nucleic_acid_binder: Design protein binders for DNA or RNA sequencesph_design_heterogeneous_binder: Design binders for multiple target types (protein + small molecule)
Chai Design Tools (4 tools)
ph_chai_design_unconditional_protein: Design de novo proteins of a desired lengthph_chai_design_protein_binder: Design a protein binder for a target protein using Chaiph_chai_design_cyclic_peptide_binder: Design cyclic peptide binders using Chaiph_chai_design_ligand_binder: Design protein binders for small molecules (via SMILES)
MCP Resources
The server provides example sequences and ligands as MCP resources:
protein://example1/pdl1: PDL1 sequence for standard binder designprotein://example2/pdl1_short: Shorter PDL1 variant for template-based designprotein://example3/pdl1_contact: PDL1 sequence for contact specificationprotein://example4/multimer: Multimer sequence (1GNW dimer)ligand://example5/sam: SAM ligand CCD codenucleic://example6/rna: RNA sequence for nucleic acid binder designligand://chai/smiles: SMILES string for Chai ligand binder designprotein://chai/generic_target: Generic target sequence for unconditional design
Coming Soon
ph_ligandmpnn_design: Protein design with LigandMPNNph_pyrosetta_refine: Structure refinement with PyRosettaph_analyze_structure: Protein structure analysisph_visualize: 3D visualization of protein structures
License
See LICENSE file for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent-to-Agent (A2A) + Model Context Protocol (MCP) hub for peptides.
Agent-to-Agent (A2A) + Model Context Protocol (MCP) hub for peptides.
AI-powered bioprotocol optimization — generate, search, and manage lab protocols via MCP
Fold proteins, co-fold ligands with binding affinity, design binders and embed sequences.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enhances language models with protein structure analysis capabilities, enabling detailed active site analysis and disease-related protein searches through established protein databases.220ISC
- FlicenseNot gradedqualityCmaintenanceEnables protein modeling and design using the Rosetta suite via Docker, including structure refinement, mutation stability analysis, docking, and loop modeling through natural language commands.-
- AlicenseCqualityBmaintenanceA Model Context Protocol server that lets you drive PyMOL with natural language, enabling structure loading, analytical views, measurements, and protein exploration through AI assistants.13517MIT
- AlicenseCqualityDmaintenanceEnables chemical reaction predictions (retrosynthesis, product, reagents), molecule validation, and property calculation through the Model Context Protocol, integrating with AI assistants.5MIT