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
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Free-text disease name (e.g. “diabetes”) or a fielded query (e.g. “mondo.label:asthma”). |
fields | string | no | Comma-separated list of annotation fields to return (default: all fields). |
size | number | no | Number of hits to return, 1-1000 (default 10). |
Example call
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":{}}}'
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.