query_resource
Pack: avoindata-fi · Endpoint: https://gateway.pipeworx.io/avoindata-fi/mcp
Pull rows from a tabular Finland Open Data resource (CKAN DataStore) by resource_id (from a dataset’s resources). Optional full-text q, limit, offset. Note: only resources with the DataStore enabled are queryable.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
resource_id | string | yes | A resource_id from dataset/search_datasets. |
q | string | no | Optional full-text filter over the rows. |
limit | number | no | Max rows (default 100). |
offset | number | no | Pagination offset. |
Example call
curl -X POST https://gateway.pipeworx.io/avoindata-fi/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_resource","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"avoindata-fi": {
"url": "https://gateway.pipeworx.io/avoindata-fi/mcp"
}
}
}
See Getting Started for client-specific install steps.