Access 30+ bioinformatics tools from 14 databases.
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.
pip install gwas-mcp
Add to your claude_desktop_config.json:
{
"mcpServers": {
"gwas-bioinformatics": {
"command": "python",
"args": ["-m", "gwas_mcp.server"]
}
}
}
Config file location:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonAfter adding the configuration, restart Claude Desktop to load the MCP server.
| 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 |
| 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 |
| Tool | Description |
|---|---|
get_protein_interactions | Find interacting proteins (STRING) |
get_interaction_network | Get network between multiple proteins |
get_functional_enrichment | Pathway/GO enrichment analysis |
| 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 |
| 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 |
| Tool | Description |
|---|---|
search_omim | Search OMIM for genetic diseases |
get_gene_diseases | Get all diseases for a gene |
Once configured, ask Claude naturally:
"Get information about the BRCA1 gene"
"Search UniProt for hemoglobin"
"What protein has UniProt ID P53_HUMAN?"
"Is the BRCA1 variant rs80357906 pathogenic?"
"Search ClinVar for TP53 variants"
"What proteins interact with TP53?"
"Find functional enrichment for BRCA1, ATM, and CHEK2"
"Get the AlphaFold structure for TP53"
"What pathways is BRCA1 involved in?"
"Search PDB for insulin structures"
"What drugs target EGFR?"
"What diseases is BRAF associated with?"
"Search OMIM for cystic fibrosis"
"What diseases are linked to the CFTR gene?"
# 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
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
| 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 |
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Source-derived launch command. Check the maintainerβs required arguments and credentials before running:
uvx gwas-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-zaeyasa-gwas-mcp": {
"command": "uvx",
"args": [
"gwas-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the clientβs tool list, then try a read-only example from its documentation.
Claude Desktop setup referencegwas-mcppypiGWAS Bioinformatics MCP Server works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.