Skip to main content

MCP server for generating, scoring and embedding genomic sequences using Evo 2

Project description

evo2-mcp

evo2-mcp banner

BioContextAI - Registry Tests Documentation

The evo2-mcp server exposes Evo 2 as a Model Context Protocol (MCP) server, providing tools for genomic sequence analysis. Any MCP-compatible client can use these tools to score, embed, and generate DNA sequences.

Features

  • Sequence Scoring: Compute log probabilities for DNA sequences
  • Sequence Embedding: Extract learned representations from intermediate model layers
  • Sequence Generation: Generate novel DNA sequences with controlled sampling
  • Variant Effect Prediction: Score SNP mutations for variant prioritization
  • Multiple Model Checkpoints: Support for 7B, 40B, and 1B parameter models

Getting Started

Prerequisites: Python 3.12

  1. Install Evo2 dependencies: See Installation Guide for details.

    conda install -c nvidia cuda-nvcc cuda-cudart-dev
    conda install -c conda-forge transformer-engine-torch=2.3.0
    pip install flash-attn==2.8.0.post2 --no-build-isolation
    pip install evo2
    
  2. Install evo2-mcp:

    pip install evo2-mcp
    
  3. Activate MCP Server: Add the following to your mcp.json configuration:

    {
    "mcpServers": {
       "evo2-mcp": {
          "command": "python",
          "args": ["-m", "evo2_mcp.main"]
       }
    }
    }
    

For detailed installation instructions, see the Installation Guide.

Usage

Once installed, the server can be accessed by any MCP-compatible client. For available tools and usage examples, see the Tools Documentation.

Available Tools

  • score_sequence - Evaluate DNA sequence likelihood
  • embed_sequence - Extract feature representations
  • generate_sequence - Generate novel DNA sequences
  • score_snp - Predict variant effects
  • get_embedding_layers - List available embedding layers
  • list_available_checkpoints - Show supported model checkpoints

See the Tools Documentation for detailed API reference and examples.

Documentation

You can also find this project on BioContextAI, the community hub for biomedical MCP servers.

Citation

If you use evo2-mcp in your research, please cite:

@software{evo2_mcp,
  author = {Kreuer, Jules},
  title = {evo2-mcp: MCP server for Evo 2 genomic sequence operations},
  year = {2025},
  url = {https://github.com/not-a-feature/evo2-mcp},
  version = {0.2.3}
}

For the underlying Evo 2 model, please also cite the original Evo 2 publication.

License and Attribution

The banner image in this repository is a modified version of the original Evo 2 banner from the Evo 2 project, which is released under the Apache 2.0 License. It was modified using Google Gemini "Nanobana" and GIMP.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evo2_mcp-0.2.3.tar.gz (763.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evo2_mcp-0.2.3-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file evo2_mcp-0.2.3.tar.gz.

File metadata

  • Download URL: evo2_mcp-0.2.3.tar.gz
  • Upload date:
  • Size: 763.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for evo2_mcp-0.2.3.tar.gz
Algorithm Hash digest
SHA256 b72b4b40662958b3f6be9d56329a1d99b793db178e3f3164acddf12ef78f1e78
MD5 c2d83e6d7cb851fa8c205c1def66035c
BLAKE2b-256 105d2b31414cddd98da70655b6af224e937f96edd18c679a14c31f80d0a9b0df

See more details on using hashes here.

Provenance

The following attestation bundles were made for evo2_mcp-0.2.3.tar.gz:

Publisher: release.yaml on not-a-feature/evo2-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file evo2_mcp-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: evo2_mcp-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for evo2_mcp-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7f49249203087c9c8283c7ae7fae3dfd6a2deb67fd8120837a53651d035a8a2a
MD5 c46bdf2bf3800aa4e78e04c25a35fadd
BLAKE2b-256 b6e243642d0637d1964b6461fb9b81d04438f0e8ec1e89e8bc1417ead30f59d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for evo2_mcp-0.2.3-py3-none-any.whl:

Publisher: release.yaml on not-a-feature/evo2-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page