Skip to main content
Glama
openascot

CKAN MCP Server

by openascot

get_resource_records

Retrieve data records from a CKAN datastore resource using filters, queries, and pagination to access structured open data.

Instructions

Get records from a specific datastore resource

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resourceIdYesThe ID of the resource to fetch records from
limitNoMaximum number of records to return
offsetNoNumber of records to skip (for pagination)
filtersNoDatastore API filters to apply on the server (field:value mapping).
qNoFull-text query applied by CKAN's datastore_search endpoint.
plainNoWhen true, disables text highlighting in datastore results.
distinctNoReturn only distinct rows from the datastore resource.
fieldsNoSubset of fields to return for each record.
sortNoSort expression understood by datastore_search (e.g., "column desc").
includeTotalNoInclude the total record count from CKAN even when limit=0.
recordsFormatNoOptional datastore output format (e.g., objects or lists).

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/openascot/ckan-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server