query_dataset

Pack: datos-co · Endpoint: https://gateway.pipeworx.io/datos-co/mcp

Query rows from a datos.gov.co dataset using SoQL. datasetId is the Socrata 4x4 code from

Parameters

NameTypeRequiredDescription
datasetIdstringyesSocrata 4x4 id, e.g. “gt2j-8ykr”.
selectstringnoColumns or aggregates, e.g. “departamento_nom, count(*)”.
wherestringnoSQL-like filter, e.g. “edad > 60 AND sexo=‘F’”.
orderstringnoSort, e.g. “fecha_reporte_web desc”.
groupstringnoGroup-by field(s) for aggregation.
qstringnoFull-text search across the whole row.
limitnumbernoRows to return (default 50).
offsetnumbernoPagination offset (default 0).

Example call

curl -X POST https://gateway.pipeworx.io/datos-co/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_dataset","arguments":{}}}'

Connect

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

{
  "mcpServers": {
    "datos-co": {
      "url": "https://gateway.pipeworx.io/datos-co/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 2, 2026