search

Pack: opendata-canada · Endpoint: https://gateway.pipeworx.io/opendata-canada/mcp

Full-text search the open.canada.ca CKAN catalogue by keyword query, with optional CKAN filter query (fq), pagination (rows/start); returns dataset titles, descriptions, organizations, formats, and resource URLs.

Parameters

NameTypeRequiredDescription
querystringyes
fqstringno
rowsnumberno
startnumberno

Example call

Arguments

{
  "query": "climate data"
}

curl

curl -X POST https://gateway.pipeworx.io/opendata-canada/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"climate data"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('search', {
  "query": "climate data"
});

More examples

{
  "query": "health statistics",
  "rows": 10,
  "start": 0
}

Response shape

FieldTypeDescription
countintegerTotal number of packages matching query
resultsarrayArray of package objects
search_facetsobjectFaceted search results
Full JSON Schema
{
  "type": "object",
  "description": "CKAN package search result",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Total number of packages matching query"
    },
    "results": {
      "type": "array",
      "description": "Array of package objects",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Package ID"
          },
          "name": {
            "type": "string",
            "description": "Package name/slug"
          },
          "title": {
            "type": "string",
            "description": "Package title"
          },
          "notes": {
            "type": "string",
            "description": "Package description"
          },
          "author": {
            "type": "string",
            "description": "Package author"
          },
          "author_email": {
            "type": "string",
            "description": "Author email"
          },
          "maintainer": {
            "type": "string",
            "description": "Package maintainer"
          },
          "maintainer_email": {
            "type": "string",
            "description": "Maintainer email"
          },
          "license_id": {
            "type": "string",
            "description": "License ID"
          },
          "url": {
            "type": "string",
            "description": "Package URL"
          },
          "version": {
            "type": "string",
            "description": "Package version"
          },
          "private": {
            "type": "boolean",
            "description": "Whether package is private"
          },
          "owner_org": {
            "type": "string",
            "description": "Owner organization ID"
          },
          "tags": {
            "type": "array",
            "description": "Array of tags",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "vocabulary_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "resources": {
            "type": "array",
            "description": "Array of resources",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "format": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "last_modified": {
                  "type": "string"
                }
              }
            }
          },
          "groups": {
            "type": "array",
            "description": "Array of group/theme IDs",
            "items": {
              "type": "object"
            }
          },
          "organization": {
            "type": "object",
            "description": "Organization object"
          },
          "metadata_created": {
            "type": "string",
            "description": "Creation timestamp"
          },
          "metadata_modified": {
            "type": "string",
            "description": "Modification timestamp"
          }
        }
      }
    },
    "search_facets": {
      "type": "object",
      "description": "Faceted search results"
    }
  }
}

Connect

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

{
  "mcpServers": {
    "opendata-canada": {
      "url": "https://gateway.pipeworx.io/opendata-canada/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026