search

Pack: ebi-ols · Endpoint: https://gateway.pipeworx.io/ebi-ols/mcp

Full-text search across all ontologies (or one).

Parameters

NameTypeRequiredDescription
querystringyes
ontologystringnoRestrict to one ontology id (optional).
typestringnoclass | property | individual
exactbooleannoExact-match (default false).
rowsnumberno1-1000 (default 20).

Example call

Arguments

{
  "query": "diabetes"
}

curl

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":"search","arguments":{"query":"diabetes"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search', {
  "query": "diabetes"
});

More examples

{
  "query": "cancer",
  "ontology": "efo",
  "exact": true,
  "rows": 50
}

Response shape

FieldTypeDescription
responseobjectSearch response containing matching terms
Full JSON Schema
{
  "type": "object",
  "description": "Full-text search results across ontologies",
  "properties": {
    "response": {
      "type": "object",
      "description": "Search response containing matching terms",
      "properties": {
        "numFound": {
          "type": "number",
          "description": "Total number of matches found"
        },
        "start": {
          "type": "number",
          "description": "Starting position in result set"
        },
        "rows": {
          "type": "number",
          "description": "Number of results returned"
        },
        "docs": {
          "type": "array",
          "description": "Array of matching term documents",
          "items": {
            "type": "object",
            "description": "Term search result with IRI, label, and ontology info"
          }
        }
      }
    }
  }
}

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.

Regenerated from source · build July 6, 2026