MCP server for generating, scoring and embedding genomic sequences using Evo 2
Project description
evo2-mcp
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
-
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
-
Install evo2-mcp:
pip install evo2-mcp
-
Activate MCP Server: Add the following to your
mcp.jsonconfiguration:{ "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 likelihoodembed_sequence- Extract feature representationsgenerate_sequence- Generate novel DNA sequencesscore_snp- Predict variant effectsget_embedding_layers- List available embedding layerslist_available_checkpoints- Show supported model checkpoints
See the Tools Documentation for detailed API reference and examples.
Documentation
- Installation Guide - Detailed installation instructions
- Tools Reference - Complete API documentation and usage examples
- Development Guide - Contributing and testing information
- Changelog - Version history and updates
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b72b4b40662958b3f6be9d56329a1d99b793db178e3f3164acddf12ef78f1e78
|
|
| MD5 |
c2d83e6d7cb851fa8c205c1def66035c
|
|
| BLAKE2b-256 |
105d2b31414cddd98da70655b6af224e937f96edd18c679a14c31f80d0a9b0df
|
Provenance
The following attestation bundles were made for evo2_mcp-0.2.3.tar.gz:
Publisher:
release.yaml on not-a-feature/evo2-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
evo2_mcp-0.2.3.tar.gz -
Subject digest:
b72b4b40662958b3f6be9d56329a1d99b793db178e3f3164acddf12ef78f1e78 - Sigstore transparency entry: 1284549761
- Sigstore integration time:
-
Permalink:
not-a-feature/evo2-mcp@d149da6c78854a76eca43c1ca7168f889c1be13d -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/not-a-feature
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d149da6c78854a76eca43c1ca7168f889c1be13d -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f49249203087c9c8283c7ae7fae3dfd6a2deb67fd8120837a53651d035a8a2a
|
|
| MD5 |
c46bdf2bf3800aa4e78e04c25a35fadd
|
|
| BLAKE2b-256 |
b6e243642d0637d1964b6461fb9b81d04438f0e8ec1e89e8bc1417ead30f59d7
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
evo2_mcp-0.2.3-py3-none-any.whl -
Subject digest:
7f49249203087c9c8283c7ae7fae3dfd6a2deb67fd8120837a53651d035a8a2a - Sigstore transparency entry: 1284549985
- Sigstore integration time:
-
Permalink:
not-a-feature/evo2-mcp@d149da6c78854a76eca43c1ca7168f889c1be13d -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/not-a-feature
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@d149da6c78854a76eca43c1ca7168f889c1be13d -
Trigger Event:
release
-
Statement type: