Skip to main content

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

From the repository root:

scripts/install-gwasharmonizer-mcp

The installer registers the gwasharmonizer MCP server and installs the bundled gwas-harmonizer Agent Skill for Codex and Claude Code. It requires Python 3.12+, uv, and a reachable GWAS Harmoniser backend.

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. Use output_profile="strict_meta" for a full-file META_READY METAL export and download_kind="data" when only the .tsv.gz output 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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gwasharmonizer-mcp 0.1.2
File Size Uploaded
gwasharmonizer_mcp-0.1.2.tar.gz 60.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gwasharmonizer-mcp 0.1.2
File Interpreter ABI Platform
gwasharmonizer_mcp-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 80.2 kB

Release files / gwasharmonizer_mcp-0.1.2.tar.gz

Download URL gwasharmonizer_mcp-0.1.2.tar.gz
Size 60.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bf3efff8dd0386a845645686dff7b49d1d8f5028f096100b9dfba94f5f1c1ed0
BLAKE2b-256 checksum
How to use checksums
680d8c63c878a8cf5d11302ca32d11897e9e38dc684ff84023ecaaaf6525e7f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.18

Release files / gwasharmonizer_mcp-0.1.2-py3-none-any.whl

Download URL gwasharmonizer_mcp-0.1.2-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab037cc75c586ab47aab8a5669b5dcc0b06fe89ce91e73c224a27827fb5943b3
BLAKE2b-256 checksum
How to use checksums
6306ef01464cd3ce79a438edda3f7eb3857a624ea0e134e806a955419eb64a43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.18

Release history Release notifications | RSS feed

0.1.3

2 release files

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page