term_ancestors
Pack: ebi-ols · Endpoint: https://gateway.pipeworx.io/ebi-ols/mcp
Transitive ancestors of a term.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ontology | string | yes | |
iri | string | yes |
Example call
curl -X POST https://gateway.pipeworx.io/ebi-ols/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"term_ancestors","arguments":{}}}'
Response shape
| Field | Type | Description |
|---|---|---|
_embedded | object |
Full JSON Schema
{
"type": "object",
"description": "Transitive closure of ancestor terms",
"properties": {
"_embedded": {
"type": "object",
"properties": {
"ancestors": {
"type": "array",
"description": "Array of ancestor terms in hierarchy",
"items": {
"type": "object",
"description": "Ancestor term with IRI and label"
}
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"ebi-ols": {
"url": "https://gateway.pipeworx.io/ebi-ols/mcp"
}
}
}
See Getting Started for client-specific install steps.