/clawbio:just-prs-mcpfrom clawbio
Computes evidence-aware polygenic risk scores from local VCF or WGS files using the just-prs engine. Useful for genomic analysis and personalized medicine workflows.
Ships in clawbio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are just-prs MCP bridge, a specialised ClawBio agent for evidence-aware polygenic scoring of local VCF and WGS genotypes.
Fire this skill when the user says any of:
Do NOT fire when:
gwas-prs.wgs-prs first.gwas-lookup.One skill, one task. This skill computes and reports PRS evidence from a
local, already-called VCF. It does not call variants, infer ancestry, diagnose
disease, or replace the DTC-oriented gwas-prs skill.
| Format | Extension | Required fields | Example |
|---|---|---|---|
| VCF 4.x | .vcf | #CHROM, POS, REF, ALT, sample GT | examples/demo_patient.vcf |
| Compressed VCF | .vcf.gz, .vcf.bgz | Same fields, bgzip-compatible | user-provided |
--trait-id.just-prs-mcp==0.3.1 with local stdio in
essentials mode. Pass the resolved local path, never VCF bytes. If
--superpopulation is omitted, default to EUR and emit a visible warning;
always surface requested and reference-panel ancestry in the report.interpret=true and
profile=curated by default. Preserve the upstream filter summary and failures.uv sync --extra just-prs
uv run --extra just-prs python skills/just-prs-mcp/just_prs_mcp_bridge.py \
--input sample.vcf.gz \
--trait "type 2 diabetes" \
--superpopulation EUR \
--output output/just-prs-t2d
uv run --extra just-prs python skills/just-prs-mcp/just_prs_mcp_bridge.py \
--input sample.vcf.gz --pgs-id PGS000014 --output output/just-prs-single
uv run --extra just-prs python skills/just-prs-mcp/just_prs_mcp_bridge.py \
--demo --output /tmp/just_prs_demo
uv run --extra just-prs clawbio.py run just-prs --demo
Run:
uv run --extra just-prs clawbio.py run just-prs --demo
The demo is deterministic and offline. It combines a synthetic three-variant VCF with a provenance-labelled, upstream-shaped cached MCP response. It demonstrates report mapping; it is not numerical validation evidence.
sum(effect_weight × dosage) in upstream just-prs.Key parameters:
curated (criteria owned by just-prs-mcp, not ClawBio).# just-prs Polygenic Risk Report
## Model agreement
- Reliable models: **2**
- Verdict: **descriptive_spread_only**
- Reliable percentile range: **61.00–74.00**
- Descriptive percentile spread: **13.00**
## Score details
| PGS ID | Status | Percentile | Reliable | C_wt | Quality | Absolute risk |
|---|---|---:|---|---:|---|---|
| PGS000014 | scored | 74.00 | True | 94.0% | High | 18.0% |
| PGS000013 | scored | 61.00 | True | 91.0% | Normal | unavailable |
output_directory/
├── report.md
├── result.json
├── tables/
│ └── scores.csv
└── reproducibility/
├── commands.sh
├── environment.yml
├── checksums.sha256
└── mcp.stderr.log # live runs only; MCP server stderr, not checksummed
Required:
uvx; launches the isolated Python 3.13+ upstream server.fastmcp in the just-prs optional extra; Python 3.11-compatible client.typer in the just-prs optional extra; typed CLI.Optional:
The upstream cache defaults to the platform-specific just-prs cache. Override
it with PRS_MCP_CACHE_DIR when a controlled shared cache is required.
just-prs/tests/test_cross_engine.py checks numerical parity across
PLINK2, Polars, and DuckDB scoring engines.test_scoring.py, test_vcf.py, and test_percentile.py cover scoring
files, VCF/build handling, and percentile/z-score consistency.n_filtered and
filter_summary so the exclusion is visible.build_mismatch, absolute
risk is withheld and the report opens with a warning.GT
FORMAT header; real readers correctly omit an undeclared genotype field.uvx fetches and runs the pinned third-party
just-prs-mcp package, and that process is what actually reads the genome.
ClawBio performs no upload; egress is delegated to a version-pinned
dependency, not eliminated.The agent dispatches, asks for ancestry/trait clarification, and explains. The skill executes scoring and evidence retrieval. The agent must not override upstream reliability, invent an absolute risk, or suppress model failures.
Trigger conditions:
Chaining partners:
wgs-prs: Produces a called VCF from raw sequencing before this skill.gwas-prs: Handles 23andMe/AncestryDNA text inputs instead of VCF/WGS.profile-report: May consume result.json in a later compatibility PR.just-prs-mcp release.just-prs coverage contract, or a PGS Catalog API change.ClawBio is a research and educational tool. It is not a medical device and does not provide clinical diagnoses. Consult a healthcare professional before making any medical decisions.
INTENTS.json (opens in a new tab)examples/demo_patient.vcf (opens in a new tab)just_prs_mcp_bridge.py (opens in a new tab)mcp_client.py (opens in a new tab)tests/fixtures/demo_trait_report.json (opens in a new tab)tests/test_just_prs_mcp.py (opens in a new tab)tests/test_live_integration.py (opens in a new tab)tests/test_repro_bundle.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
112 skills in this plugin
/affinity-proteomicsUnified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer, RFU). Platform-aware QC, normalisation, differential abundance, volcano plots, heatmaps, and PCA./analyze-fastaAnalyze a single FASTA file (nucleotide or protein), compute sequence-level metrics (GC, ORFs, MW, pI, GRAVY, secondary-structure fractions) with Biopython, and write a Markdown report plus structured JSON for downstream chaining./ancestry-risk-profilerInfers genetic super-population ancestry from a 23andMe/AncestryDNA file and computes ancestry-stratified odds ratios with an exploratory Ancestry Elevation Score (AES) showing where ancestry-specific GWAS effect sizes diverge from European reference estimates. The bundled demo panel requires user-supplied ancestry because high-Fst AIM coverage is below the automatic-inference floor./archaic-introgressionDetect Neanderthal and Denisovan introgression segments from modern human genomes/arrayexpress-fetchQuery metadata and download data from ArrayExpress, EMBL-EBI's functional genomics collection, now hosted inside BioStudies. Fetch study metadata by E-MTAB accession, list and classify files (IDF/SDRF MAGE-TAB, raw, processed), print the SDRF experimental design, download data by category, write a harmonised metadata.tsv, and build an nf-core/rnaseq or nf-core/scrnaseq samplesheet.csv from the SDRF./article-data-fetcherGiven an article DOI or PubMed ID, discover and download the genomics data files deposited by the authors (VCF, FASTA, H5AD, CSV, JSON, BAM, etc.) from public repositories such as GEO, ENA, Zenodo, Figshare, Dryad, and OSF.npx claudepluginhub clawbio/clawbio --plugin clawbioOther plugins' skills for the same job