@aborruso/ckan-mcp-server 0.4.60 → 0.4.62
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.
- package/EXAMPLES.md +3 -1
- package/LOG.md +10 -0
- package/dist/index.js +532 -37
- package/dist/worker.js +146 -88
- package/package.json +1 -1
package/EXAMPLES.md
CHANGED
|
@@ -801,7 +801,9 @@ ckan_package_search({
|
|
|
801
801
|
Readable, formatted with tables and sections
|
|
802
802
|
|
|
803
803
|
### JSON format
|
|
804
|
-
For programmatic processing
|
|
804
|
+
For programmatic processing. JSON responses are compact — they include only essential fields, dropping extras, relationships, and CKAN internal metadata (~70% token reduction).
|
|
805
|
+
|
|
806
|
+
See [docs/JSON-OUTPUT.md](docs/JSON-OUTPUT.md) for the complete field schema of each tool.
|
|
805
807
|
|
|
806
808
|
```typescript
|
|
807
809
|
ckan_package_search({
|
package/LOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## 2026-03-04
|
|
4
4
|
|
|
5
|
+
- 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)
|
|
6
|
+
- feat: add `is_hvd` boolean filter to `europa_dataset_search` — search only among High Value Datasets
|
|
7
|
+
- feat: compact JSON output for heavy tools — `package_search`, `package_show`, `organization_list/show`, `group_list/show`, `datastore_search/search_sql` now return only essential fields in JSON mode (~70% token reduction)
|
|
8
|
+
- feat: `truncateJson()` — JSON-safe truncation that shrinks arrays instead of cutting mid-string, always produces valid JSON
|
|
9
|
+
- fix: filter `_id` field from datastore JSON output (already done in markdown)
|
|
10
|
+
- docs: add `docs/JSON-OUTPUT.md` — complete field schema for all tools in JSON mode
|
|
11
|
+
- feat: add `europa_dataset_search` tool for European Data Portal (data.europa.eu) — searches 1.7M+ datasets across all EU countries with country filter, multilingual support, and HVD badge
|
|
12
|
+
- new files: `src/utils/europa-http.ts`, `src/tools/europa.ts`, `tests/integration/europa.test.ts`
|
|
13
|
+
- types: add `EuropaDataset`, `EuropaDistribution`, `EuropaMultilingualField`, `EuropaLabelledValue` interfaces
|
|
14
|
+
- JSON output filters multilingual fields to requested language only (compact response)
|
|
5
15
|
- fix(http): add AbortController 30s timeout to Workers fetch — prevents hang when CKAN server is slow (root cause of Worker timeout errors)
|
|
6
16
|
|
|
7
17
|
## 2026-03-03 (v0.4.59)
|