search

Pack: hal-fr · Endpoint: https://gateway.pipeworx.io/hal-fr/mcp

Solr-style search across HAL.

Parameters

NameTypeRequiredDescription
querystringyesFree-text or Solr query (e.g. “title_t:transformer”).
flstringnoComma-sep fields to return.
fqstringnoSolr filter query.
rowsnumberno1-10000 (default 25).
startnumberno0-based offset.
sortstringnoe.g. “submittedDate_tdate desc”

Example call

Arguments

{
  "query": "title_t:transformer"
}

curl

curl -X POST https://gateway.pipeworx.io/hal-fr/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"title_t:transformer"}}}'

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "query": "authId_i:12345",
  "fl": "docid,title_s,submittedDate_tdate",
  "rows": 100,
  "sort": "submittedDate_tdate desc"
}

Response shape

FieldTypeDescription
responseHeaderobjectResponse metadata
responseobjectSearch results
Full JSON Schema
{
  "type": "object",
  "description": "Solr search response from HAL API",
  "properties": {
    "responseHeader": {
      "type": "object",
      "description": "Response metadata",
      "properties": {
        "status": {
          "type": "integer",
          "description": "HTTP status code"
        },
        "QTime": {
          "type": "integer",
          "description": "Query execution time in ms"
        },
        "params": {
          "type": "object",
          "description": "Query parameters echoed back"
        }
      }
    },
    "response": {
      "type": "object",
      "description": "Search results",
      "properties": {
        "numFound": {
          "type": "integer",
          "description": "Total number of matching documents"
        },
        "start": {
          "type": "integer",
          "description": "Starting offset of results"
        },
        "docs": {
          "type": "array",
          "description": "Array of matching documents",
          "items": {
            "type": "object",
            "description": "Document object with requested fields"
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "hal-fr": {
      "url": "https://gateway.pipeworx.io/hal-fr/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026