A powerful MCP Server for GWAS and Bioinformatics Research - Access 30+ tools from 14 major biological databases
Project description
๐งฌ GWAS-MCP: Bioinformatics MCP Server
A powerful Model Context Protocol (MCP) server for GWAS and bioinformatics research. Seamlessly integrates with Claude Desktop and other MCP clients to provide AI-powered access to major biological databases.
โจ Features
๐ฌ Protein & Gene Lookup
- UniProt - Search proteins by name, gene, or ID
- Ensembl - Gene information and variant details
- NCBI Gene - Comprehensive gene database
๐งช Clinical & Variants
- ClinVar - Clinical variant interpretations (pathogenic/benign)
- GWAS Catalog - Genome-wide association studies
- GTEx - Expression quantitative trait loci (eQTL)
๐ Protein Interactions & Networks
- STRING - Protein-protein interactions
- InterPro - Protein domains and families
๐๏ธ Structures & Pathways
- AlphaFold - AI-predicted protein structures
- PDB - Experimental 3D structures
- KEGG - Metabolic and signaling pathways
๐ Drug Discovery
- Open Targets - Drug target validation & disease associations
- PharmGKB - Pharmacogenomics & drug-gene interactions
๐ฅ Genetic Diseases
- OMIM - Online Mendelian Inheritance in Man
๐ Quick Start
Installation
pip install gwas-mcp
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"gwas-bioinformatics": {
"command": "python",
"args": ["-m", "gwas_mcp.server"]
}
}
}
Config file location:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Restart Claude Desktop
After adding the configuration, restart Claude Desktop to load the MCP server.
๐ ๏ธ Available Tools
Protein & Gene Tools
| Tool | Description |
|---|---|
search_uniprot |
Search UniProt by protein name, gene, or ID |
get_protein_details |
Get detailed protein info (function, domains, GO terms) |
search_ncbi_gene |
Search NCBI Gene database |
search_ensembl_gene |
Get gene location and details from Ensembl |
get_variant_info |
Get SNP/variant info by rsID |
get_interpro_domains |
Get protein domain information |
Clinical & Variant Tools
| Tool | Description |
|---|---|
search_clinvar |
Search ClinVar for clinical variants |
get_clinvar_variant |
Get clinical interpretation for a variant |
annotate_snps |
Annotate SNPs with functional consequences |
query_gwas_catalog |
Query GWAS Catalog for associations |
get_eqtl_data |
Get eQTL data from GTEx |
Protein Interaction Tools
| Tool | Description |
|---|---|
get_protein_interactions |
Find interacting proteins (STRING) |
get_interaction_network |
Get network between multiple proteins |
get_functional_enrichment |
Pathway/GO enrichment analysis |
Structure & Pathway Tools
| Tool | Description |
|---|---|
get_alphafold_structure |
Get AI-predicted structure |
search_alphafold |
Search AlphaFold database |
search_pdb_structures |
Search PDB for 3D structures |
get_pdb_structure |
Get PDB structure details |
search_kegg_pathway |
Search KEGG pathways |
get_kegg_pathway |
Get pathway genes and details |
get_gene_pathways |
Find pathways for a gene |
Drug Discovery Tools
| Tool | Description |
|---|---|
get_drug_targets |
Find drugs targeting a gene (Open Targets) |
get_disease_associations |
Get disease associations with scores |
search_open_targets |
Search genes, diseases, or drugs |
search_pharmgkb |
Search PharmGKB database |
get_drug_gene_interactions |
Get drug-gene interactions |
Genetic Disease Tools
| Tool | Description |
|---|---|
search_omim |
Search OMIM for genetic diseases |
get_gene_diseases |
Get all diseases for a gene |
๐ฌ Example Prompts
Once configured, ask Claude naturally:
Protein & Gene Queries
"Get information about the BRCA1 gene"
"Search UniProt for hemoglobin"
"What protein has UniProt ID P53_HUMAN?"
Clinical Variants
"Is the BRCA1 variant rs80357906 pathogenic?"
"Search ClinVar for TP53 variants"
Protein Interactions
"What proteins interact with TP53?"
"Find functional enrichment for BRCA1, ATM, and CHEK2"
Structures & Pathways
"Get the AlphaFold structure for TP53"
"What pathways is BRCA1 involved in?"
"Search PDB for insulin structures"
Drug Discovery
"What drugs target EGFR?"
"What diseases is BRAF associated with?"
Genetic Diseases
"Search OMIM for cystic fibrosis"
"What diseases are linked to the CFTR gene?"
โก Performance Features
- Smart Caching - API responses cached for 1 hour to improve speed
- Async Operations - All API calls are non-blocking
- Error Handling - Graceful handling of API failures
๐ง Development
From Source
# Clone the repository
git clone https://github.com/zaeyasa/gwas-mcp.git
cd gwas-mcp
# Install dependencies
pip install -e .
# Run the server
python -m gwas_mcp.server
Project Structure
gwas-mcp/
โโโ src/
โ โโโ gwas_mcp/
โ โโโ server.py # Main MCP server
โ โโโ tools/
โ โ โโโ protein_tools.py # UniProt, NCBI, Ensembl
โ โ โโโ clinical_tools.py # ClinVar, STRING
โ โ โโโ structure_tools.py # PDB, KEGG, PharmGKB
โ โ โโโ advanced_tools.py # AlphaFold, Open Targets, OMIM
โ โโโ resources/
โ โโโ db_resources.py # Database resources
โโโ pyproject.toml
โโโ README.md
โโโ LICENSE
๐ Supported Databases
| Database | Type | Description |
|---|---|---|
| UniProt | Protein | Protein sequences and annotations |
| Ensembl | Gene/Variant | Genome browser and variant data |
| NCBI Gene | Gene | Gene information database |
| ClinVar | Clinical | Clinical variant interpretations |
| GWAS Catalog | GWAS | Genome-wide association studies |
| GTEx | Expression | Expression QTL data |
| STRING | Interactions | Protein-protein interactions |
| InterPro | Domains | Protein families and domains |
| AlphaFold | Structure | AI-predicted structures |
| PDB | Structure | Experimental 3D structures |
| KEGG | Pathways | Metabolic and signaling pathways |
| Open Targets | Drug Discovery | Drug targets and disease associations |
| PharmGKB | Pharmacogenomics | Drug-gene interactions |
| OMIM | Diseases | Genetic disease database |
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- Model Context Protocol - The MCP specification
- Anthropic - Claude AI and MCP development
- All the amazing bioinformatics databases that make this possible
๐ฌ Contact
- GitHub: @zaeyasa
Made with โค๏ธ for the bioinformatics community
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gwas_mcp-1.0.0.tar.gz.
File metadata
- Download URL: gwas_mcp-1.0.0.tar.gz
- Upload date:
- Size: 52.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2db59edf9e7b0ded853918a0fe6a3c68512a231b1ec1392cbe8911de7a5bcb7d
|
|
| MD5 |
0e02b38adf70d16e1b06fcc99f90207e
|
|
| BLAKE2b-256 |
ddf0c17648818a01098afad10d6475095ca0536bd332e78130d51f03014e27d8
|
File details
Details for the file gwas_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: gwas_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 56.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
512d815e1d378206cabe08f7c659d747f31c43c9e9144eaebbcfcc58a565673b
|
|
| MD5 |
9fa87271bb7421417a0b70cd03d46d9e
|
|
| BLAKE2b-256 |
f1416cc90a4de5e8cc6058acf75920c9c7fb7167f08b57175190fcb90bf2a0ab
|