catalog-data API for agents (unofficial) — JSON over curl
catalog.data.gov is the U.S. government's open-data catalog (about 587k datasets from federal, state and local publishers). This CLI searches datasets, pages through results, reads dataset metadata and download links, fetches raw DCAT records, and lists organizations, publishers and keywords.
Host: catalog.data.gov. Call these verified read commands with plain curl; no install, key, or account. Use the public JSON API with plain curl. No install, key, account, or browser is needed. Start with San Francisco and U.S. agent tasks: events, startup jobs, BART and Muni departures, Craigslist listings, local news, public datasets and prediction markets. Example: curl 'https://clify-dev.netlify.app/search?q=SF+tech+events'. Responses are one JSON object. The hosted MCP and GitHub repo are also available.
Machine-readable command schema · Source website
Commands
search-datasets
Search the Data.gov catalog for datasets, with optional keyword tag, organization type, publisher, geospatial and downloadable-file filters, and sorting. Params: q, sort, keyword, org_type, publisher, spatial_filter, has_download Read-only
curl 'https://clify-dev.netlify.app/catalog-data/search-datasets?q=electric+vehicles&sort=relevance&keyword=ev&org_type=State+Government&publisher=National+Renewable+Energy+Laboratory+%28NREL%29&has_download=true'
search-datasets-next
Fetch the next page of dataset search results (the 'Show more results' fragment) using an 'after' cursor from a previous results page. Params: after*, q, sort, keyword, org_type, publisher, spatial_filter, has_download, per_page, results Read-only
curl 'https://clify-dev.netlify.app/catalog-data/search-datasets-next?after=WzEwNS45NDY5LDQsImYyYjIxZTJkLWY0OGUtNDg5ZC04OWI1LWU1NTAzZjI3YmYxNSJd&q=water+quality&sort=relevance&has_download=true&results=40'
get-dataset
Get one dataset's metadata (title, description, publisher, dates, license, keywords) and its download links (distribution) by slug. Params: slug* Read-only
curl 'https://clify-dev.netlify.app/catalog-data/get-dataset?slug=electric-vehicle-population-data'
get-harvest-record
Get the raw DCAT JSON metadata record for a dataset by its harvest record UUID (linked from the dataset page). Params: id* Read-only
curl 'https://clify-dev.netlify.app/catalog-data/get-harvest-record?id=71ed5c68-36a1-4ce5-a178-b3e1d4880cd5'
list-organizations
List all publishing organizations (124) with slug, type and dataset count, as JSON. Params: none Read-only
curl 'https://clify-dev.netlify.app/catalog-data/list-organizations'
list-publishers
List the top publishers by dataset count (100 of 1867); names can be used as the publisher filter. Params: none Read-only
curl 'https://clify-dev.netlify.app/catalog-data/list-publishers'
suggest-keywords
Autocomplete keyword tags matching a partial string, with dataset counts; results can be used as the keyword filter. Params: search*, size Read-only
curl 'https://clify-dev.netlify.app/catalog-data/suggest-keywords?search=charg&size=10'
search-organizations
Browse or search organizations by name (HTML listing with type and dataset count, paginated). Params: q, per_page, page Read-only
curl 'https://clify-dev.netlify.app/catalog-data/search-organizations?q=energy'
get-organization-datasets
List or search the datasets of one organization (by slug), with optional publisher and geospatial filters and sorting. Params: slug*, q, sort, publisher, spatial_filter Read-only
curl 'https://clify-dev.netlify.app/catalog-data/get-organization-datasets?slug=energy&q=solar&sort=relevance&publisher=National+Renewable+Energy+Laboratory+%28NREL%29'