GWAS Harmoniser MCP
An MCP server that lets AI agents harmonize local GWAS summary-statistics files with the strict workflow at gwasharmonizer.org.
Use it when a researcher asks to harmonize or harmonise GWAS sumstats, standardize columns, align effect and non-effect alleles, handle GRCh37/GRCh38 liftover, validate rsIDs, run harmonization QC, or prepare summary statistics for meta-analysis, downstream analysis, submission, or a paper. It does not run association tests.
Install
Install via uv:
uv tool install gwasharmonizer-mcp
Or via pip:
pip install gwasharmonizer-mcp
Register with your AI client
Codex:
codex mcp add gwasharmonizer -- gwasharmonizer-mcp
Claude Code:
claude mcp add --transport stdio --scope user gwasharmonizer -- gwasharmonizer-mcp
By default, local inputs must be under ~/Desktop. Files are uploaded to the configured live service for processing; raw variant rows are not returned to the agent through the MCP.
Agent tools
start_harmonization: start harmonization for a local GWAS file. Useoutput_profile="strict_meta"for a full-fileMETA_READYMETAL export anddownload_kind="data"when only the.tsv.gzoutput should be downloaded.get_harmonization: check progress, required confirmations, blockers, and artifact paths.confirm_harmonization: resume only with scientific metadata the user verified from authoritative study documentation.
Example request: Harmonize ~/Desktop/study.tsv.gz for meta-analysis, verify META_READY, and download only the output file.
See the public agent and MCP guide for routing terms and scientific boundaries.
Resumable uploads (0.1.2)
Uploads use checksum-verified 8 MiB chunks when the backend supports them. Each
request has at most three transient attempts. Calling start_harmonization again
with the same file/options after a transfer failure resumes the retained transfer;
repeated new whole-file transfers are unnecessary. Preview completion survives a
backend restart and is polled independently of the upload connection. Changed
options can reuse retained source bytes while keeping a separate preview/job.
Older backends use the bounded multipart compatibility path. Update the installed
client with uv tool install --force ./tools/gwasharmonizer-mcp from the repository
root; already-running client processes need to finish/restart to load the update.
Release files for gwasharmonizer-mcp 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gwasharmonizer_mcp-0.1.3.tar.gz | 67.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gwasharmonizer_mcp-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 96.4 kB
Release files / gwasharmonizer_mcp-0.1.3.tar.gz
| Download URL | gwasharmonizer_mcp-0.1.3.tar.gz |
|---|---|
| Size | 67.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f8eef5ec29dba5cec86bd138185b10baf26a0d77bb48f636601712f9198e00d
|
|
BLAKE2b-256 checksum How to use checksums |
41d145284c69f232d3eda6c67763dd20c82bac5ef2dd61a753c086c38e95c499
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.18
|
Release files / gwasharmonizer_mcp-0.1.3-py3-none-any.whl
| Download URL | gwasharmonizer_mcp-0.1.3-py3-none-any.whl |
|---|---|
| Size | 28.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7db3b378b3dbca80646b09987f750d97223d9d26b6462176fa77545ed6152009
|
|
BLAKE2b-256 checksum How to use checksums |
f59f3e2e6f07a2c0debec2df0027ce77f6bd4791402c5bb7c7959178480aa7b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.18
|