biotools-mcp
MCP server offering verified bioinformatics tools for sequence utilities and statistics, backed by BioPython/scipy. Enables AI agents to perform accurate GC content, translation, ORF finding, motif scanning, and statistical tests through natural language.
README
biotools-mcp
Verified bioinformatics tools for AI agents — sequence utilities + statistics, backed by BioPython/scipy, exposed as an MCP server, companion Skill, and Python package.
MIT · public · benchmarked.
Research agents hallucinate bioinformatics math. This project builds the missing layer: battle-tested scientific computation wrapped in a clean, agent-native surface.
What's inside
- Sequence utilities — GC content, reverse complement, translation, ORF finding, motif scanning, sequence stats (BioPython-backed; ORF finder + motif-overlap are custom logic, checked against independent references).
- Statistics — descriptive stats, t-test, chi-square, Mann–Whitney U, correlation (scipy-backed, reference-vector tested against published/R values).
- MCP server — stdio + streamable HTTP, 11 action-oriented tools
(
seq_gc_content,stats_t_test, …), pydantic v2 schemas with structured output. - Companion Skill — agentskills.io spec: when to use which tool, input requirements, and what not to do.
Every tool is reference-vector tested against published values (GenBank records, R t.test
output, Mendel's 1866 pea counts, Anscombe's quartet) — never against the wrapper itself.
Install
Published on PyPI as biotools-mcp (requires Python 3.11+).
# Install as a standalone CLI (MCP server entry point)
uv tool install biotools-mcp
# Or run without installing
uvx biotools-mcp
# Or plain pip
pip install biotools-mcp
As a library:
uv add biotools-mcp
from biotools_mcp.seq import gc_content
from biotools_mcp.stats import t_test
print(gc_content("ATGGCCATTGTAATGGGCCGCTGAAAGGGTGCCCGATAG").gc_percent) # 56.4103
print(t_test([1, 2, 3], [4, 5, 6]).statistic) # -3.6742
MCP configuration
Point your agent at the server over stdio:
Claude Code (.mcp.json):
{
"mcpServers": {
"biotools-mcp": {
"command": "uvx",
"args": ["biotools-mcp"]
}
}
}
Cursor — Settings → MCP → Add:
{
"mcpServers": {
"biotools-mcp": {
"command": "uvx",
"args": ["biotools-mcp"]
}
}
}
Codex / Gemini CLI — same mcpServers block in the agent's MCP config file.
Streamable HTTP (for remote use):
uvx biotools-mcp --transport streamable-http
Tools
| Tool | Description |
|---|---|
seq_gc_content |
GC content as a percentage (ambiguous bases excluded) |
seq_reverse_complement |
Reverse complement (IUPAC-aware, DNA/RNA) |
seq_translate |
Translate to protein (NCBI tables, incl. mitochondrial) |
seq_orf_finder |
Open reading frames, forward strand, frames 0–2 |
seq_motif_scan |
IUPAC motif scanning with bracket groups + overlap policy |
seq_stats |
Length, mono/di composition, GC skew |
stats_describe |
Descriptive statistics (n, mean, median, var, skew, kurtosis) |
stats_t_test |
Student/Welch two-sample t-test with Cohen's d |
stats_chi_square |
Chi-square test of independence (Yates optional) |
stats_mann_whitney |
Mann-Whitney U test (exact/asymptotic) |
stats_correlation |
Pearson or Spearman correlation |
Benchmarks
Wedge subset of BioAgent Bench + BioTaskBench (sequence utilities + statistics) run against the tools and published in benchmarks/results.md. Every task in the subset runs — failures are published alongside passes.
Current: 15/15 passed (100%) — bioagent-bench subset 7/7, bioTaskBench subset 8/8. Pinned harness, see the results file for task-level detail.
uv run python benchmarks/run_bioagent_bench.py # 7/7
uv run python benchmarks/run_biotaskbench.py # 8/8
uv run python benchmarks/harness.py --suite all # combined 15/15
Companion Skill
The skills/biotools-mcp skill (agentskills.io spec) teaches agents the tool inventory, when to use which tool, input requirements, and what not to do (never compute GC/translation/t-tests by hand). Load it into any skills-compatible agent.
Documented solutions
Past problems and the patterns they produced live in
docs/solutions — including the uvx grandchild-process leak in
subprocess tests, mcp SDK v2 tool-registration conventions, and the CI matrix Python-version
trap. Relevant when implementing or debugging in those areas.
Development
uv sync --extra dev
uv run pytest # reference-vector test suite
uv run python benchmarks/harness.py --suite all # regenerate benchmark results
uvx ruff check src tests benchmarks
CI runs lint + tests on Python 3.11/3.12; a nightly workflow regenerates the benchmark table;
a tag-pushed v* triggers the PyPI publish workflow.
Contributing
See CONTRIBUTING.md — verification is non-circular (reference-vector fixtures from published values), degenerate inputs must fail loudly, and benchmark tasks are never dropped to keep numbers green. Changes are tracked in CHANGELOG.md.
License
MIT — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。