search
Pack: monarch-initiative · Endpoint: https://gateway.pipeworx.io/monarch-initiative/mcp
Full-text search across the Monarch biomedical knowledge graph for diseases, genes, phenotypes, and other biolink entities by query string; filter by category (e.g. biolink:Disease) and paginate with limit/offset.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | |
category | string | no | biolink:Disease | biolink:Gene | biolink:PhenotypicFeature | … |
limit | number | no | 1-500 (default 20) |
offset | number | no |
Example call
Arguments
{
"query": "cystic fibrosis",
"category": "biolink:Disease",
"limit": 20
}
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":"search","arguments":{"query":"cystic fibrosis","category":"biolink:Disease","limit":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search', {
"query": "cystic fibrosis",
"category": "biolink:Disease",
"limit": 20
});
More examples
{
"query": "BRCA1",
"category": "biolink:Gene"
}
Response shape
| Field | Type | Description |
|---|---|---|
results | array | Search result nodes |
limit | number | Result limit applied |
offset | number | Result offset applied |
total | number | Total matching results |
Full JSON Schema
{
"type": "object",
"description": "Full-text search results from Monarch Initiative",
"properties": {
"results": {
"type": "array",
"description": "Search result nodes",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Node curie identifier"
},
"name": {
"type": "string",
"description": "Node name"
},
"category": {
"type": "string",
"description": "Biolink category"
},
"description": {
"type": "string",
"description": "Node description"
}
}
}
},
"limit": {
"type": "number",
"description": "Result limit applied"
},
"offset": {
"type": "number",
"description": "Result offset applied"
},
"total": {
"type": "number",
"description": "Total matching results"
}
}
}
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.