VEPmcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@VEPmcp Annotate variant rs56116432 using VEP"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
VEPmcp
VEPmcp is a Model Context Protocol (MCP) server for the Ensembl Variant Effect Predictor (VEP) API. It enables annotation and effect prediction of genetic variants, with full support for batch and single queries, and is designed for seamless integration with MCP-compatible clients (e.g., Claude Desktop, VS Code MCP extension).
Features
Annotate variants using Ensembl VEP (HGVS, variant ID, or genomic region)
Batch and single variant support
Retrieve available species, consequence types, and assembly info
Fast, robust, and rate-limited HTTP client
JSON-RPC 2.0 over stdio for easy integration with AI tools and editors
Related MCP server: CVE-Search MCP Server
Installation
pip install -e .
# or via pypi
pip install VEPmcpUsage
Command Line
VEPmcp --help
VEPmcp --test-connection # Test Ensembl API connectivity
VEPmcp --test-mode # Run server in test mode with sample requestsAs an MCP Server
Run the server (for use with MCP clients):
VEPmcpThe server communicates via stdio using JSON-RPC 2.0.
Supported Tools
vep_hgvs_single/vep_hgvs_batch: Annotate by HGVS notationvep_id_single/vep_id_batch: Annotate by variant ID (e.g., rsID)vep_region_single/vep_region_batch: Annotate by genomic regionget_vep_species: List available speciesget_consequence_types: List consequence typesget_assembly_info: Get assembly info for a species
Example MCP Client Configurations
Claude Desktop
{
"mcp_servers": {
"vepmcp": {
"command": "VEPmcp",
"args": [],
"env": {}
}
}
}VS Code MCP Extension
{
"mcp.servers": {
"vepmcp": {
"command": "VEPmcp",
"args": [],
"env": {},
"cwd": "${workspaceFolder}"
}
}
}Example Usage
Prompt your MCP client with:
"Annotate the variant rs56116432 in humans using VEP"Testing
VEPmcp --test-connection— check API connectivityVEPmcp --test-mode— run server in test modepython run_tests.py --mode all --verbose— run all unit/integration testspython run_tests.py --mode ci— run CI pipeline (linting + type checking + unit tests)
Continuous Integration
This project uses GitHub Actions for automated testing on every pull request. The CI pipeline includes:
Linting with Ruff
Type checking with MyPy
Unit and integration tests across Python 3.9-3.13
Security scanning
Code coverage reporting
Troubleshooting
Ensure VEPmcp is installed and in your PATH
Check internet connectivity for Ensembl API access
Use
--verbosefor detailed logs
Development
pip install -e .[dev]
python run_tests.py --mode ci # Run linting, type checking, and unit tests
python run_tests.py --mode all --verbose # Run all tests including integrationLocal Testing Commands
# Linting and formatting
python run_tests.py --mode lint
# Type checking
python run_tests.py --mode type
# Unit tests only
python run_tests.py --mode unit --verbose
# Integration tests (requires internet)
python run_tests.py --mode integration --verboseLicense
MIT License — see LICENSE
Contributing
Fork and branch
Make changes and add tests
Run the test suite
Submit a pull request
Support
For issues and questions, use the GitHub issue tracker.
Available Tools
9 toolsget_assembly_infoB
Get genome assembly information for a species
Inputs: species (required).
get_consequence_typesA
Get available VEP consequence types and descriptions
Inputs: no named parameters.
get_vep_speciesA
Get list of available species for VEP annotation
Inputs: no named parameters.
vep_hgvs_batchA
Annotate multiple variants using HGVS notation in batch
Inputs: species (required), hgvs_notations (required), canonical, hgvs, +7 more.
vep_hgvs_singleC
Annotate a single variant using HGVS notation (genomic g., coding c., protein p.)
Inputs: species (required), hgvs_notation (required), canonical, hgvs, +16 more.
vep_id_batchC
Annotate multiple variants using identifiers in batch
Inputs: species (required), variant_ids (required), canonical, hgvs, +7 more.
vep_id_singleC
Annotate a single variant using an identifier (e.g., rs1234567, COSM476)
Inputs: species (required), variant_id (required), canonical, hgvs, +16 more.
vep_region_batchB
Annotate multiple variants using genomic coordinates in batch
Inputs: species (required), regions (required), canonical, hgvs, +7 more.
vep_region_singleC
Annotate a variant using genomic region and allele
Inputs: species (required), region (required), allele (required), canonical, +17 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct action and input type. The three 'get_' tools retrieve metadata, while the six 'vep_' tools annotate variants and are clearly separated by input format (HGVS, ID, region) and batching mode. No two tools overlap in purpose.
Naming follows a consistent pattern: 'get_' for informational queries and 'vep_<format>_<mode>' for annotation tools. All names use snake_case and clearly convey the action and target resource, making the set predictable.
With nine tools, the server is well-scoped for its domain. The three metadata tools and six annotation tools (covering three input formats, each with batch and single variants) provide a complete set without excessive or insufficient endpoints.
The tool set covers core VEP functionality: metadata retrieval (assembly, consequences, species) and annotation via common input formats (HGVS, identifiers, regions) with both single and batch modes. No obvious gaps exist for a standard VEP annotation server.
Related MCP Connectors
Look up genes, sequences, variants, homologs, and cross-database xrefs from Ensembl REST.
Annotate and classify human genetic variants with GeneBe (ACMG, gnomAD, ClinVar). Research use only.
dbSNP refSNP records and HGVS/SPDI/rsID normalization for human genetic variants, from NCBI…
MyVariant.info MCP. Aggregated human genetic-variant annotation: dbSNP, ClinVar clinical…
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables querying the CVE-Search API to browse vendors and products, retrieve vulnerabilities by vendor/product or CVE ID, fetch the latest CVEs with CAPEC/CWE/CPE expansions, and inspect current database information.-
- FlicenseNot gradedqualityAmaintenanceEnables querying the CVE-Search API to browse vendors and products, retrieve vulnerabilities by vendor/product or CVE ID, list recent CVEs with CAPEC/CWE/CPE expansions, and inspect database update status.-
- FlicenseNot gradedqualityAmaintenanceEnables querying the CVE-Search API for vendors, products, vulnerabilities by vendor and product, specific CVE IDs, recent CVEs with CAPEC/CWE/CPE expansions, and current database metadata.-
- FlicenseNot gradedqualityAmaintenanceEnables querying a CVE-Search API to browse vendors and products, retrieve vulnerabilities by vendor/product or CVE ID, and fetch recent CVEs with CAPEC, CWE, and CPE expansions plus database update details.-