pathways_for_entity
Pack: reactome · Endpoint: https://gateway.pipeworx.io/reactome/mcp
Pathways containing an entity, looked up by external resource id (e.g. UniProt accession).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
resource | string | no | UniProt | ChEBI | Ensembl | NCBI | GeneCards | … (default UniProt) |
entity_id | string | yes | Identifier within the resource, e.g. “P04637” for TP53. |
species | string | no | NCBI taxonomy id as a string (default “9606” — human). |
Example call
Arguments
{
"entity_id": "P04637"
}
curl
curl -X POST https://gateway.pipeworx.io/reactome/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pathways_for_entity","arguments":{"entity_id":"P04637"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('pathways_for_entity', {
"entity_id": "P04637"
});
More examples
{
"entity_id": "CHEBI:15377",
"resource": "ChEBI",
"species": "9606"
}
Response shape
Always returns: items, count
| Field | Type | Description |
|---|---|---|
items | array | Pathways containing the specified entity |
count | integer | Number of items returned. |
Full JSON Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"description": "Pathways containing the specified entity",
"items": {
"type": "object",
"properties": {
"dbId": {
"type": "number",
"description": "Internal database ID"
},
"displayName": {
"type": "string",
"description": "Pathway name"
},
"stableId": {
"type": "string",
"description": "Stable identifier"
},
"className": {
"type": "string",
"description": "Type (usually Pathway)"
},
"schemaClass": {
"type": "string",
"description": "Schema class"
},
"species": {
"type": "object",
"properties": {
"dbId": {
"type": "number"
},
"displayName": {
"type": "string"
}
}
}
}
}
},
"count": {
"type": "integer",
"description": "Number of items returned."
}
},
"required": [
"items",
"count"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"reactome": {
"url": "https://gateway.pipeworx.io/reactome/mcp"
}
}
}
See Getting Started for client-specific install steps.