structure
Pack: hal-fr · Endpoint: https://gateway.pipeworx.io/hal-fr/mcp
Research-structure (lab/department) lookup.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | |
rows | number | no | 1-1000 (default 25). |
Example call
Arguments
{
"query": "CNRS"
}
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":"structure","arguments":{"query":"CNRS"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('structure', {
"query": "CNRS"
});
More examples
{
"query": "Laboratoire d'Informatique",
"rows": 100
}
Response shape
| Field | Type | Description |
|---|---|---|
responseHeader | object | Response metadata |
response | object | Structure search results |
Full JSON Schema
{
"type": "object",
"description": "Research structure reference lookup 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": "Structure search results",
"properties": {
"numFound": {
"type": "integer",
"description": "Total number of matching structures"
},
"start": {
"type": "integer",
"description": "Starting offset of results"
},
"docs": {
"type": "array",
"description": "Array of matching structure records",
"items": {
"type": "object",
"description": "Structure reference object"
}
}
}
}
}
}
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.