Biopython Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Biopython Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) server that provides comprehensive BioPython capabilities for biological sequence analysis, alignment, database access, and structural bioinformatics.
BioPython MCP bridges the powerful BioPython library with MCP-enabled applications like Claude Desktop, allowing seamless integration of bioinformatics tools into AI-assisted workflows. This enables researchers, clinicians, and developers to perform complex biological analyses through natural language interfaces.
Bioinformatics workflows often require switching between multiple tools and writing custom scripts. BioPython MCP simplifies this by:
The fastest way to run BioPython MCP without installation:
uvx biopython-mcpOr run from source:
git clone https://github.com/kmaneesh/biopython-mcp.git
cd biopython-mcp
uvx --from . biopython-mcppip install biopython-mcpgit clone https://github.com/kmaneesh/biopython-mcp.git
cd biopython-mcp
uv venv --python 3.10
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e ".[dev]"git clone https://github.com/kmaneesh/biopython-mcp.git
cd biopython-mcp
pip install -e ".[dev]"For contributing or development:
git clone https://github.com/kmaneesh/biopython-mcp.git
cd biopython-mcp
uv venv --python 3.10
source .venv/bin/activate
uv pip install -e ".[dev]"
pre-commit installStart the MCP server:
# With uvx (no installation needed)
uvx biopython-mcp
# Or if installed
biopython-mcpAdd to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json
Using uvx (recommended):
{
"mcpServers": {
"biopython": {
"command": "uvx",
"args": ["biopython-mcp"],
"env": {
"NCBI_EMAIL": "[email protected]",
"NCBI_API_KEY": "your_ncbi_api_key",
"OBSIDIAN_VAULT_PATH": "/Users/yourname/Documents/ObsidianVault"
}
}
}
}Using installed package:
{
"mcpServers": {
"biopython": {
"command": "biopython-mcp",
"env": {
"NCBI_EMAIL": "[email protected]",
"NCBI_API_KEY": "your_ncbi_api_key",
"OBSIDIAN_VAULT_PATH": "/Users/yourname/Documents/ObsidianVault"
}
}
}
}Using local development version:
{
"mcpServers": {
"biopython": {
"command": "uvx",
"args": ["--from", "/path/to/biopython-mcp", "biopython-mcp"],
"env": {
"NCBI_EMAIL": "[email protected]",
"NCBI_API_KEY": "your_ncbi_api_key",
"OBSIDIAN_VAULT_PATH": "/Users/yourname/Documents/ObsidianVault"
}
}
}
}Once configured, you can use BioPython tools through Claude Desktop:
User: Translate the DNA sequence ATGGCCATTGTAATGGGCCGC to protein
Claude: [Uses translate_sequence tool]
Result: MAIVMGR (7 amino acids)
User: What's the GC content of this sequence?
Claude: [Uses calculate_gc_content tool]
Result: 57.14% GC content| Tool | Description |
|---|---|
translate_sequence | Translate DNA/RNA to protein |
reverse_complement | Get reverse complement of DNA |
transcribe_dna | Transcribe DNA to RNA |
calculate_gc_content | Calculate GC percentage |
find_motif | Find sequence motifs |
| Tool | Description |
|---|---|
pairwise_align | Align two sequences |
multiple_sequence_alignment | Align multiple sequences |
calculate_alignment_score | Score alignments |
| Tool | Description |
|---|---|
fetch_genbank | Retrieve GenBank records |
fetch_uniprot | Retrieve UniProt entries |
search_pubmed | Search PubMed literature |
fetch_sequence_by_id | Get sequences by ID |
| Tool | Description |
|---|---|
fetch_pdb_structure | Download PDB structures |
calculate_structure_stats | Analyze structure statistics |
find_active_site | Extract active site info |
| Tool | Description |
|---|---|
build_phylogenetic_tree | Build phylogenetic trees |
calculate_distance_matrix | Compute distance matrices |
draw_tree | Visualize trees |
See the Tools Reference for detailed documentation.
NCBI_EMAIL: Email address for NCBI Entrez queries (recommended)NCBI_API_KEY: API key for higher NCBI rate limits (optional)OBSIDIAN_VAULT_PATH: Path to your Obsidian vault root directory (optional, for pubmed_review)obsidian_vault parameterexport NCBI_EMAIL="[email protected]"
export NCBI_API_KEY="your_api_key_here"
export OBSIDIAN_VAULT_PATH="/Users/yourname/Documents/ObsidianVault"# 1. Fetch from GenBank
fetch_genbank(accession="NM_000207", email="[email protected]")
# 2. Calculate GC content
calculate_gc_content(sequence="ATGGCC...")
# 3. Translate to protein
translate_sequence(sequence="ATGGCC...")
# 4. Find start codons
find_motif(sequence="ATGGCC...", motif="ATG")# Perform global alignment
pairwise_align(
seq1="ATGGCCATTGTAATGGGCCGC",
seq2="ATGGCCATTGTTATGGGCCGC",
mode="global"
)# Build tree from aligned sequences
build_phylogenetic_tree(
sequences=["ATGGCC...", "ATGGCT...", "ATGGCA..."],
method="nj",
labels=["Species_A", "Species_B", "Species_C"]
)See examples/ for complete workflow examples.
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
git clone https://github.com/yourusername/biopython-mcp.gitpip install -e ".[dev]"pre-commit installgit checkout -b feature-namepytestWe use:
Run tests:
pytestRun tests with coverage:
pytest --cov=biopython_mcp --cov-report=term-missingGenerate coverage reports (HTML and XML):
pytest --cov=biopython_mcp --cov-report=html --cov-report=xml --cov-report=term-missingView HTML coverage report:
open htmlcov/index.html # macOS
xdg-open htmlcov/index.html # Linux
start htmlcov/index.html # WindowsRun type checking:
mypy biopython_mcp/The project uses GitHub Actions for continuous integration with automatic coverage reporting to Codecov.
Coverage is automatically uploaded when:
main or develop branchesNote for Contributors: Coverage reports are publicly available. The CI workflow uses the CODECOV_TOKEN secret for authenticated uploads. Repository maintainers should configure this secret in GitHub repository settings.
This project is licensed under the MIT License - see the LICENSE file for details.
If you use BioPython MCP in your research, please cite:
@software{biopython_mcp,
title = {BioPython MCP: Model Context Protocol Server for BioPython},
author = {BioPython MCP Contributors},
year = {2026},
url = {https://github.com/kmaneesh/biopython-mcp}
}Made with BioPython and MCP
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.