associations

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

Fetch biolink associations (edges) involving a Monarch entity by its CURIE ID (e.g. MONDO:0007947); filter by association category (e.g. biolink:DiseaseToPhenotypicFeatureAssociation), predicate, or direction (subject/object/both).

Parameters

NameTypeRequiredDescription
entity_idstringyes
categorystringnoe.g. “biolink:DiseaseToPhenotypicFeatureAssociation”
predicatestringnoe.g. “biolink:has_phenotype”
directionstringnosubject (default) | object | both
limitnumberno

Example call

Arguments

{
  "entity_id": "MONDO:0007947",
  "category": "biolink:DiseaseToPhenotypicFeatureAssociation"
}

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":"associations","arguments":{"entity_id":"MONDO:0007947","category":"biolink:DiseaseToPhenotypicFeatureAssociation"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('associations', {
  "entity_id": "MONDO:0007947",
  "category": "biolink:DiseaseToPhenotypicFeatureAssociation"
});

More examples

{
  "entity_id": "NCBIGene:207",
  "predicate": "biolink:associated_with_increased_likelihood_of",
  "direction": "subject",
  "limit": 50
}

Response shape

FieldTypeDescription
associationsarrayList of associations
limitnumberResult limit applied
totalnumberTotal matching associations
Full JSON Schema
{
  "type": "object",
  "description": "Associations involving an entity",
  "properties": {
    "associations": {
      "type": "array",
      "description": "List of associations",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Association identifier"
          },
          "subject": {
            "type": "string",
            "description": "Subject node curie"
          },
          "predicate": {
            "type": "string",
            "description": "Association predicate"
          },
          "object": {
            "type": "string",
            "description": "Object node curie"
          },
          "category": {
            "type": "string",
            "description": "Association category"
          }
        }
      }
    },
    "limit": {
      "type": "number",
      "description": "Result limit applied"
    },
    "total": {
      "type": "number",
      "description": "Total matching associations"
    }
  }
}

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 7, 2026