gene_to_disease
Pack: monarch-initiative · Endpoint: https://gateway.pipeworx.io/monarch-initiative/mcp
Diseases associated with a gene (NCBIGene:… or HGNC:… id).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
gene_id | string | yes |
Example call
Arguments
{
"gene_id": "NCBIGene:672"
}
curl
curl -X POST https://gateway.pipeworx.io/monarch-initiative/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gene_to_disease","arguments":{"gene_id":"NCBIGene:672"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('gene_to_disease', {
"gene_id": "NCBIGene:672"
});
Response shape
| Field | Type | Description |
|---|---|---|
associations | array | Gene-to-disease associations |
total | number | Total matching diseases |
Full JSON Schema
{
"type": "object",
"description": "Diseases associated with a gene",
"properties": {
"associations": {
"type": "array",
"description": "Gene-to-disease associations",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Association identifier"
},
"subject": {
"type": "string",
"description": "Gene curie identifier"
},
"predicate": {
"type": "string",
"description": "Association predicate"
},
"object": {
"type": "string",
"description": "Disease curie identifier"
}
}
}
},
"total": {
"type": "number",
"description": "Total matching diseases"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"monarch-initiative": {
"url": "https://gateway.pipeworx.io/monarch-initiative/mcp"
}
}
}
See Getting Started for client-specific install steps.