query

Pack: myvariant · Endpoint: https://gateway.pipeworx.io/myvariant/mcp

Search aggregated human genetic-variant annotations on MyVariant.info. Accepts an rsID (“rs58991260”), an HGVS id (“chr1:g.218631822G>A”), or a fielded query (“dbnsfp.genename:CDK2”, “clinvar.rcv.clinical_significance:pathogenic”). Each hit merges dbSNP, ClinVar clinical significance, CADD/dbNSFP deleteriousness scores, and gnomAD population allele frequencies. Returns { total, hits }; hit._id is usually the HGVS id you can pass to the variant tool.

Parameters

NameTypeRequiredDescription
querystringyesrsID, HGVS id, or fielded query. e.g. “rs58991260”, “chr1:g.218631822G>A”, “dbnsfp.genename:CDK2”.
fieldsstringnoComma-separated return fields (default: all). e.g. “dbsnp,clinvar,cadd.phred,gnomad_genome.af”.
sizenumbernoMax hits to return, 1-1000 (default 10).

Example call

curl -X POST https://gateway.pipeworx.io/myvariant/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "myvariant": {
      "url": "https://gateway.pipeworx.io/myvariant/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 8, 2026