MCP Hub
Back to servers

OakVar MCP Server

Enables AI assistants to perform genomic variant analysis using OakVar, including running annotation pipelines, managing 200+ annotator modules, querying variant databases, and generating reports in various formats.

glama
Updated
Dec 12, 2025

OakVar MCP Server

A Model Context Protocol (MCP) server that exposes OakVar's genomic variant analysis capabilities to AI assistants.

Supported MCP Clients: Claude Desktop, ChatGPT Desktop, and other MCP-compatible clients.

Quick Start

# 1. Install OakVar and the MCP server
pip install oakvar oakvar-mcp

# 2. Setup OakVar (first time only)
ov system setup

# 3. Configure your MCP client (see SETUP.md)

📖 Full setup instructions: See SETUP.md

What is This?

This MCP server lets you control OakVar through AI assistants like Claude or ChatGPT. Instead of running command-line tools, you can simply ask:

  • "What OakVar modules are installed?"
  • "Install the ClinVar annotator"
  • "Run OakVar on my VCF file with gnomAD annotation"
  • "Show me pathogenic variants from the results"

Features

CategoryCapabilities
PipelineRun annotations, generate reports (VCF, Excel, CSV)
ModulesInstall, update, list, search 200+ annotator modules
DataQuery result databases, filter variants, export data
DevelopmentCreate module templates, pack for distribution

Architecture

┌─────────────────┐     MCP Protocol     ┌──────────────────┐
│   Claude /      │◄────────────────────►│  OakVar MCP      │
│   ChatGPT       │    (stdin/stdout)    │     Server       │
└─────────────────┘                      └────────┬─────────┘
                                                  │
                                                  │ Python API
                                                  ▼
                                         ┌──────────────────┐
                                         │     OakVar       │
                                         │ Variant Analysis │
                                         └──────────────────┘

Installation

Note: OakVar and this MCP server must be installed in the same Python environment. If you use a virtual environment, configure your MCP client to use the full path to that environment's oakvar-mcp executable.

From Source

git clone https://github.com/zaroganos/oakvar-mcp.git
cd oakvar-mcp
pip install -e .

Configuration

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "oakvar": {
      "command": "oakvar-mcp"
    }
  }
}

ChatGPT Desktop

Add to chatgpt_mcp_config.json:

{
  "mcpServers": {
    "oakvar": {
      "command": "oakvar-mcp"
    }
  }
}

📖 Config file locations and troubleshooting: See SETUP.md

Available Tools (19)

ToolDescription
oakvar_versionGet OakVar version
oakvar_system_checkVerify installation
oakvar_system_setupConfigure OakVar
oakvar_modules_dirGet/set modules directory
oakvar_module_listList modules
oakvar_module_infoGet module details
oakvar_module_installInstall modules
oakvar_module_uninstallRemove modules
oakvar_module_updateUpdate modules
oakvar_runRun annotation pipeline
oakvar_reportGenerate reports
oakvar_sqliteinfoGet database info
oakvar_filtersqliteFilter databases
oakvar_queryExecute SQL queries
oakvar_new_moduleCreate module templates
oakvar_new_exampleinputCreate test inputs
oakvar_module_packPack for distribution
oakvar_store_fetchRefresh store cache
oakvar_store_registerRegister modules

Development

# Clone and install in dev mode
git clone https://github.com/zaroganos/oakvar-mcp.git
cd oakvar-mcp
pip install -e ".[dev]"

# Run tests
pytest tests/ -v

Project Structure

oakvar-mcp/
├── oakvar_mcp/
│   ├── __init__.py
│   ├── __main__.py
│   └── server.py
├── tests/
│   └── test_server.py
├── pyproject.toml
├── README.md
├── SETUP.md
├── claude_desktop_config.example.json
└── chatgpt_mcp_config.example.json

License

MIT License

Links

Reviews

No reviews yet

Sign in to write a review