package_search
Pack: datos-cl · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/package_search for the schema, then POST the same URL with its arguments for the data.
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 — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the datos-cl pack
{
"mcpServers": {
"datos-cl": {
"url": "https://gateway.pipeworx.io/datos-cl/mcp"
}
}
}
See Getting Started for client-specific install steps.