phenotype_to_gene

Pack: monarch-initiative · Endpoint: https://gateway.pipeworx.io/monarch-initiative/mcp

Genes annotated to a phenotype (HP:… id).

Parameters

NameTypeRequiredDescription
phenotype_idstringyes

Example call

Arguments

{
  "phenotype_id": "HP:0000118"
}

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":"phenotype_to_gene","arguments":{"phenotype_id":"HP:0000118"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('phenotype_to_gene', {
  "phenotype_id": "HP:0000118"
});

Response shape

FieldTypeDescription
associationsarrayGene-to-phenotype associations
totalnumberTotal matching genes
Full JSON Schema
{
  "type": "object",
  "description": "Genes annotated to a phenotype",
  "properties": {
    "associations": {
      "type": "array",
      "description": "Gene-to-phenotype 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": "Phenotype curie identifier"
          }
        }
      }
    },
    "total": {
      "type": "number",
      "description": "Total matching genes"
    }
  }
}

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.

Regenerated from source · build July 6, 2026