Installation
Install BioContext7 via pip, from source, or as an MCP server
Prerequisites
- Python 3.11 or higher
- pip or uv package manager
- Git
Install from Source
Install with uv
Verify Installation
Expected output:
Optional Extras
BioContext7 supports optional dependency groups:
| Extra | Description | Install |
|---|---|---|
dev | Development tools (pytest, ruff, mypy) | pip install -e ".[dev]" |
api | FastAPI REST server (uvicorn, redis) | pip install -e ".[api]" |
docs | Documentation (MkDocs Material) | pip install -e ".[docs]" |
benchmarks | Benchmarking tools (pandas, matplotlib) | pip install -e ".[benchmarks]" |
all | Everything | pip install -e ".[all]" |
MCP Server Setup
Claude Code (one-liner)
The fastest way to add BioContext7 to Claude Code:
See the Claude Code client guide for manual configuration and verification steps.
From source (Python)
For local development with the Python MCP server, add to ~/.claude/settings.json:
CLI
Start the MCP server via the bc7 CLI:
Configuration
BioContext7 stores configuration in ~/.biocontext7/config.yaml.
Default Settings
| Setting | Default | Description |
|---|---|---|
default_target | nextflow | Default compilation target |
prefer_nfcore | true | Prefer nf-core modules when available |
max_results | 10 | Maximum search results to display |
mcp_port | 3000 | Port for HTTP MCP transport |
mcp_transport | stdio | Default MCP transport (stdio or http) |
verbose | false | Enable verbose output |