@aborruso/ckan-mcp-server 0.4.63 → 0.4.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LOG.md +4 -0
  2. package/dist/index.js +4 -1
  3. package/package.json +1 -1
package/LOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # LOG
2
2
 
3
+ ## 2026-03-04 (v0.4.64)
4
+
5
+ - fix(europa): `q=*` now correctly returns all 1.7M+ datasets — Europa API ignores `q` when omitted; sending `q=*` was causing Elasticsearch to return only ~6k results; match-all queries (`*`, `*:*`) now omit the `q` parameter
6
+
3
7
  ## 2026-03-04
4
8
 
5
9
  - feat: expose Europa API facets in `europa_dataset_search` — country, format, categories, and 15 more facet types now rendered as tables (markdown) and compact objects (JSON, top 15 items per facet)
package/dist/index.js CHANGED
@@ -3991,7 +3991,10 @@ var EUROPA_SEARCH_URL = "https://data.europa.eu/api/hub/search/search";
3991
3991
  async function makeEuropaSearchRequest(params) {
3992
3992
  const isNode = typeof process !== "undefined" && !!process.versions?.node;
3993
3993
  const searchParams = new URLSearchParams();
3994
- searchParams.set("q", params.q);
3994
+ const isMatchAll = !params.q || params.q === "*" || params.q === "*:*";
3995
+ if (!isMatchAll) {
3996
+ searchParams.set("q", params.q);
3997
+ }
3995
3998
  searchParams.set("page", String(params.page ?? 0));
3996
3999
  searchParams.set("limit", String(params.limit ?? 10));
3997
4000
  searchParams.set("filters", "dataset");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aborruso/ckan-mcp-server",
3
- "version": "0.4.63",
3
+ "version": "0.4.64",
4
4
  "description": "MCP server for interacting with CKAN open data portals",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",