query

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

Search MyDisease.info for diseases by free-text name or fielded query. Returns matching hits, each keyed by a MONDO disease id (e.g. “MONDO:0015967”) with the best-matching ontology and annotation keys. Use this to resolve a disease name to canonical ontology ids before calling the “disease” tool. Free text like “diabetes” or “asthma” works; fielded queries like “mondo.label:asthma” or “disgenet.xrefs.disease_name:…” narrow the search.

Parameters

NameTypeRequiredDescription
querystringyesFree-text disease name (e.g. “diabetes”) or a fielded query (e.g. “mondo.label:asthma”).
fieldsstringnoComma-separated list of annotation fields to return (default: all fields).
sizenumbernoNumber of hits to return, 1-1000 (default 10).

Example call

Arguments

{
  "query": "diabetes"
}

curl

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

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('query', {
  "query": "diabetes"
});

More examples

{
  "query": "mondo.label:asthma",
  "size": 20
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build September 7, 2026