Using the CKAN MCP Server well
Learn how to point the CKAN MCP Server at the right open-data portal and choose the right tool for each question. The agent confirms which portal it is querying and asks before switching to another one.
Use it when
- You are starting an open-data question and need to know which portal and tool to use
- A search on a government data portal returned nothing and you need to know if it is the wrong portal
- You want to query a CKAN catalogue without flooding the conversation with rows
Tools it uses
ckan_find_portalsckan_status_showckan_find_relevant_datasetsckan_package_searchckan_package_showckan_list_resourcesckan_datastore_searchckan_datastore_search_sqlckan_organization_listckan_organization_showckan_organization_searchckan_group_listckan_group_showckan_group_searchckan_tag_listckan_get_mqa_qualityckan_get_mqa_quality_detailsckan_analyze_datasetsckan_catalog_statssparql_query
Find me datasets about bus ridership on the transport portal and tell me how many there are.
Portal: transport.example.gov, checked just now. I searched titles and descriptions for bus ridership and found 14 datasets. I shortlisted the 5 most recent ones for you to review. Not checked: the resource files themselves, which I have not opened.