BioNexus transforms AI coding agents (OpenAI Codex, Anthropic Claude Code, Cursor) into rigorous, peer-reviewed computational biology assistants.
It enforces gold-standard bioinformatics pipelines, deterministic 7-dimensional evidence grading, multi-database MCP connectivity, and non-negotiable scientific abstention when experimental conditions fail.
β Single-Cell RNA-seq QC & Clustering (scanpy) β Spatial Transcriptomics & SVG Analysis (squidpy)
β Deep Generative VAE Modeling (scvi-tools) β nf-core Pipeline Automation (RNA-seq / Sarek)
β 16+ Local MCP Biological Database Tools β 9 Cloud-Hosted Biological MCP Endpoints
β 7-Dimensional EvidenceCard Grading β W3C PROV-O Provenance Tracking
β Zero-Key Out-of-the-Box Core Databases β Deterministic Scientific Refusal Protocols
Install BioNexus into your preferred environment in seconds:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CHOOSE YOUR INSTALLATION PATH β
βββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββ€
β π€ PATH A: AI Coding Agents β π PATH B: One-Click Local β π PATH C: Python pip / uv β
β (Codex, Claude, Cursor) β (Windows, macOS, Linux) β (Developers, HPC, CLI) β
βββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββ
- Option 1 (GUI β 3 clicks):
- In the Codex / ChatGPT interface, open Settings β Plugins β Add Plugin Marketplace.
- Enter the repository details:
- Source:
HERRY423/BioNexus(orhttps://github.com/HERRY423/BioNexus.git) - Git Reference:
main - Sparse Path: (Leave EMPTY β do NOT enter
.)
- Source:
- Search for
BioNexusand click Install.
- Option 2 (CLI):
codex plugin marketplace add HERRY423/BioNexus --ref main codex plugin add bionexus@bionexus-marketplace
- Claude Code (CLI):
claude plugin add HERRY423/BioNexus
- Claude Desktop (
claude_desktop_config.json):{ "mcpServers": { "bionexus": { "command": "python", "args": ["<absolute-path-to-BioNexus>/scripts/local_mcp_server.py"] } } }
In Cursor Settings β Features β MCP Servers β Add New MCP Server:
- Name:
bionexus - Type:
command(stdio) - Command:
python scripts/local_mcp_server.py
Or add directly to project .cursor/mcp.json:
{
"mcpServers": {
"bionexus": {
"command": "python",
"args": ["${workspaceFolder}/scripts/local_mcp_server.py"]
}
}
}BioNexus includes zero-configuration automated initializers that detect your OS, CPU, and GPU (NVIDIA CUDA / Apple Silicon MPS / CPU) and build an optimized environment:
- πͺ Windows (Double-Click or PowerShell):
Double-click
setup.bator run in PowerShell:.\setup.ps1
- π macOS / π§ Linux (Bash):
chmod +x setup.sh && ./setup.sh
For existing Conda or Python 3.10+ environments:
# Clone the repository
git clone https://github.com/HERRY423/BioNexus.git
cd BioNexus
# 1. Base install
pip install -e .
# 2. Standard Single-Cell & Spatial Toolchain (Recommended)
pip install -e ".[goldchain,spatial,allotrope,mcp]"
# 3. High-Speed Full Installation with uv
uv pip install -e ".[all]"| Extra Tag | Key Included Packages | Analytical Capabilities |
|---|---|---|
[goldchain] |
scanpy, anndata, pydeseq2, harmonypy, leidenalg |
scRNA-seq QC, batch correction, marker scoring, DESeq2 |
[scverse] |
scvi-tools, torch, optuna + goldchain |
Deep generative modeling (scVI/scANVI), VAE latent space |
[spatial] |
squidpy, anndata |
Spatial transcriptomics, Moran's I SVGs, spatial graph stats |
[survival] |
lifelines |
Clinical survival analysis (Kaplan-Meier, log-rank, Cox PH) |
[plm] |
transformers, torch |
Protein language models (ESM-2 zero-shot variant scoring) |
[structure] |
abnumber, biotite |
IMGT antibody numbering, CDR parsing, Kabsch structural alignment |
[biologics] |
ViennaRNA |
RNA secondary structure MFE & therapeutic mRNA design |
[allotrope] |
allotropy, polars, openpyxl, pypdf |
Analytical instrument raw file conversion to Allotrope ASM JSON |
[mcp] |
mcp>=1.0.0 |
Official Model Context Protocol Python SDK integration |
[all] |
All optional stacks + dev tools | Complete biomedical bioinformatics & AI capability suite |
Verify your installation and inspect active backend tiers at any time:
python scripts/doctor.py==============================================================================
BioNexus Environment Doctor
==============================================================================
Plugin Version: 0.8.0
Tier: FULL (scverse ready, spatial ready)
Python Runtime: 3.11.x (CPython)
Active Analytical Capabilities:
[PASS] core_ready : numpy, pandas, scipy, scikit-learn
[PASS] scverse_ready : scanpy (1.10.x), anndata (0.10.x)
[PASS] spatial_ready : squidpy (1.3.x)
[PASS] scvi_ready : scvi-tools (1.1.x), PyTorch CUDA acceleration
[PASS] survival_ready : lifelines (0.28.x)
[PASS] allotrope_ready : allotropy (0.1.x)
[PASS] mcp_server : FastMCP (1.0.x), 16 local tools + 9 hosted endpoints
Multi-Platform Manifest Synchronization:
[PASS] Canonical SSOT: bionexus.registry.yaml
[PASS] Manifest Drift: ZERO DRIFT across 12 platform targets (Codex, Claude, Cursor)
==============================================================================
Test BioNexus immediately in your AI coding environment:
"Use BioNexus to inspect this workspace environment and report which biological workflows and database tools are currently available. Adhere strictly to the non-negotiable honesty policy."
"Using the BioNexus MCP database tools, fetch the protein details for human TP53 (UniProt 'P04637'). Retrieve its known domains, AlphaFold 3D structure pLDDT confidence, and associated Reactome pathways."
"Inspect my single-cell dataset 'sample.h5ad'. Execute MAD-based outlier detection, run Leiden clustering with numeric labels only (do not guess cell types), identify marker genes, and generate a 7-dimensional EvidenceCard."
BioNexus enforces a strict distinction between Execution Fidelity (whether official algorithms executed) and Scientific Evidence Quality (statistical power, input integrity, parameter sensitivity, and external validation).
Every biological output is packaged with a deterministic EvidenceCard and a synthesized ConclusionStatus:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β BioNexus Evidence Card β
ββββββββββββββββββββββββββββ¬βββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Dimension β Grade β Evaluation Criteria & Audited Ground Truth β
ββββββββββββββββββββββββββββΌβββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β 1. Execution Fidelity β A β Official peer-reviewed package executed (scanpy/squidpy)β
β 2. Input Integrity β A β Raw count matrix verified non-negative integer values β
β 3. Assumption Validity β A β Coordinates & library scales verified against metadata β
β 4. Statistical Support β A β Multiple testing correction applied (Benjamini-Hochberg)β
β 5. Parameter Robustness β B β Results tested across parameter bounds (e.g. k=6, 8, 10) β
β 6. Cross-Method Agreementβ UNTEST β Independent orthogonal method evaluation β
β 7. External Validation β UNTEST β Concordance against orthogonal ground truth benchmarks β
ββββββββββββββββββββββββββββ΄βββββββββ΄ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Synthesized Conclusion Status: β
β [ SUPPORTED | TENTATIVE | FRAGILE | CONFLICTED | ABSTAIN ] β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Skill Directory | Primary Backend | Evidence Grade | Non-Negotiable Scientific Honesty Rule |
|---|---|---|---|
single-cell-rna-qc |
scanpy |
Grade A | Clusters remain numeric only. Never invent cell-type annotations without trained reference models. |
spatial-transcriptomics |
squidpy |
Grade A | Requires physical spatial coordinates. Refuses analysis if coordinates are missing. |
scvi-tools |
scvi-tools, torch |
Grade A | Deep generative modeling on raw counts. Refuses if GPU/torch dependencies are missing. |
clinical-cohort-analysis |
lifelines |
Grade A / C | Uses Cox PH when lifelines is present; explicitly labels event-rate ratios as Grade C fallback. |
variant-interpretation |
ACMG/AMP 2015, Bayes LR |
Grade B | Strictly labels outputs as Research-Use-Only (RUO). Explicitly disclaims CLIA/CAP certification. |
protein-structure-analysis |
biotite, PDB API |
Grade A | Uses exact Kabsch RMSD / TM-score; reports AlphaFold pLDDT confidence intervals. |
protein-language-models |
transformers, ESM-2 |
Grade A / C | Requires explicit user opt-in (BIONEXUS_ALLOW_ESM=1); never masquerades BLOSUM as ESM. |
biologics-design |
abnumber, ViennaRNA |
Grade A / C | Requires abnumber for IMGT numbering; uses real thermodynamic MFE for RNA secondary structures. |
nextflow-development |
nextflow, nf-core |
Grade A | Validates FASTQ/BAM schema and profile configurations before generating launch scripts. |
instrument-data-to-allotrope |
allotropy |
Grade A | Converts raw analytical instrument outputs (27+ vendors) into standardized Allotrope ASM JSON. |
provenance-and-audit |
bionexus.provenance |
Grade A | SHA-256 dataset hashing and W3C PROV-O JSON-LD tracking without claiming 21 CFR Part 11. |
BioNexus provides direct access to 16 biological tools and 9 cloud-hosted servers via the official Model Context Protocol (FastMCP):
Zero API keys required for all core endpoints:
- Proteins & Structures:
search_uniprot,search_alphafold,search_pdb - Genomics & Regulation:
search_ensembl,search_gnomad,search_gtex,search_geo - Pathways & Networks:
search_reactome,search_string - Literature & Preprints:
search_pubmed,search_pmc,search_biorxiv - Molecules & Targets:
search_chembl,search_opentargets,search_clinical_trials - Cancer Genetics:
search_cosmic(Local Census reference, RUO)
- NCBI PubMed:
https://pubmed.mcp.claude.com/mcp - bioRxiv / medRxiv:
https://hcls.mcp.claude.com/biorxiv/mcp - ChEMBL:
https://hcls.mcp.claude.com/chembl/mcp - Open Targets:
https://mcp.platform.opentargets.org/mcp - ClinicalTrials.gov:
https://hcls.mcp.claude.com/clinical_trials/mcp - BioRender:
https://mcp.services.biorender.com/mcp - Consensus AI:
https://mcp.consensus.app/mcp - Wiley Online Library:
https://connector.scholargateway.ai/mcp - Owkin Precision Medicine:
https://mcp.k.owkin.com/mcp
To raise rate limits or connect enterprise lab platforms, copy .env.example to .env and run:
python scripts/auth_helper.py --statusAll client configurations across Codex, Claude, Cursor, and Python packages are deterministically compiled from bionexus.registry.yaml:
graph TD
SSOT["bionexus.registry.yaml<br/>Canonical Registry"] --> Compiler["scripts/registry_compiler.py<br/>SSOT Compiler Engine"]
Compiler --> C1["plugin.json<br/>Agent Plugins 1.0"]
Compiler --> C2[".claude-plugin/plugin.json<br/>Claude Code / Desktop"]
Compiler --> C3[".codex/config.json<br/>OpenAI Codex Platform"]
Compiler --> C4["mcp.json & .mcp.json<br/>MCP stdio & HTTP Endpoints"]
Compiler --> C5["marketplace.json<br/>Plugin Catalog Manifests"]
# Generate all platform manifests
python scripts/registry_compiler.py --generate
# Verify zero drift in CI/CD (fails if files were manually edited out of sync)
python scripts/registry_compiler.py --check
# Validate URL syntax and connectivity
python scripts/registry_compiler.py --validate-endpointsBioNexus is continuously tested on Linux, Windows, and macOS with Python 3.10, 3.11, 3.12, and 3.13:
# Run full unit test suite (190+ tests)
pytest
# Run backend lifecycle matrix tests (installed, missing, partial, incompatible, missing weights/binaries)
pytest tests/unit/test_backend_matrix.py -v
# Run code style & linting checks
ruff check .RESEARCH USE ONLY (RUO): BioNexus is intended solely for scientific research and educational purposes.
- Not for Clinical Diagnosis: BioNexus is not certified under CLIA, CAP, or IVDR, and its outputs must never be used as the sole basis for clinical diagnostic or treatment decisions.
- Not 21 CFR Part 11 Certified: Provenance tracking features generate standard cryptographic hashes and W3C PROV-O records, but do not constitute an FDA 21 CFR Part 11 compliant electronic signature system.
- AI Output Verification: All computational outputs, evidence grades, and code generated by AI models should be reviewed and validated by qualified scientific personnel.
BioNexus is open-source software licensed under the Apache License, Version 2.0. Copyright (c) 2026 BioNexus Team.