package_search
Pack: datos-cl · Endpoint: https://gateway.pipeworx.io/datos-cl/mcp
Full-text + faceted search.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | no | |
fq | string | no | |
sort | string | no | |
rows | number | no | |
start | number | no | |
facet_field | string | no |
Example call
Arguments
{
"q": "economía"
}
curl
curl -X POST https://gateway.pipeworx.io/datos-cl/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"package_search","arguments":{"q":"economía"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('package_search', {
"q": "economía"
});
More examples
{
"q": "empleo",
"rows": 20,
"start": 0,
"sort": "relevance"
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Search results with datasets and facets from CKAN API"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"datos-cl": {
"url": "https://gateway.pipeworx.io/datos-cl/mcp"
}
}
}
See Getting Started for client-specific install steps.