@cyanheads/eurostat-mcp-server 0.6.0 → 0.6.2
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/AGENTS.md +386 -0
- package/CLAUDE.md +32 -9
- package/Dockerfile +5 -5
- package/README.md +15 -13
- package/changelog/0.1.x/0.1.0.md +20 -0
- package/changelog/0.1.x/0.1.1.md +21 -0
- package/changelog/0.1.x/0.1.10.md +24 -0
- package/changelog/0.1.x/0.1.11.md +15 -0
- package/changelog/0.1.x/0.1.12.md +28 -0
- package/changelog/0.1.x/0.1.13.md +20 -0
- package/changelog/0.1.x/0.1.14.md +38 -0
- package/changelog/0.1.x/0.1.15.md +13 -0
- package/changelog/0.1.x/0.1.16.md +36 -0
- package/changelog/0.1.x/0.1.2.md +17 -0
- package/changelog/0.1.x/0.1.3.md +12 -0
- package/changelog/0.1.x/0.1.4.md +17 -0
- package/changelog/0.1.x/0.1.5.md +11 -0
- package/changelog/0.1.x/0.1.6.md +14 -0
- package/changelog/0.1.x/0.1.7.md +16 -0
- package/changelog/0.1.x/0.1.8.md +19 -0
- package/changelog/0.1.x/0.1.9.md +20 -0
- package/changelog/0.2.x/0.2.0.md +29 -0
- package/changelog/0.3.x/0.3.0.md +17 -0
- package/changelog/0.4.x/0.4.0.md +24 -0
- package/changelog/0.5.x/0.5.0.md +20 -0
- package/changelog/0.6.x/0.6.0.md +20 -0
- package/changelog/0.6.x/0.6.1.md +30 -0
- package/changelog/0.6.x/0.6.2.md +21 -0
- package/changelog/template.md +168 -0
- package/dist/mcp-server/resources/definitions/eurostat-dataset.resource.js +2 -2
- package/dist/mcp-server/resources/definitions/eurostat-dataset.resource.js.map +1 -1
- package/dist/mcp-server/tools/definitions/eurostat-download-dataset.tool.d.ts +3 -0
- package/dist/mcp-server/tools/definitions/eurostat-download-dataset.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/eurostat-download-dataset.tool.js +16 -4
- package/dist/mcp-server/tools/definitions/eurostat-download-dataset.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/eurostat-get-dataset-info.tool.js +2 -2
- package/dist/mcp-server/tools/definitions/eurostat-get-dataset-info.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/eurostat-get-dimension-values.tool.d.ts +13 -1
- package/dist/mcp-server/tools/definitions/eurostat-get-dimension-values.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/eurostat-get-dimension-values.tool.js +24 -3
- package/dist/mcp-server/tools/definitions/eurostat-get-dimension-values.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/eurostat-query-dataset.tool.d.ts +4 -3
- package/dist/mcp-server/tools/definitions/eurostat-query-dataset.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/eurostat-query-dataset.tool.js +40 -21
- package/dist/mcp-server/tools/definitions/eurostat-query-dataset.tool.js.map +1 -1
- package/dist/services/eurostat-bulk/eurostat-bulk-service.d.ts.map +1 -1
- package/dist/services/eurostat-bulk/eurostat-bulk-service.js +1 -4
- package/dist/services/eurostat-bulk/eurostat-bulk-service.js.map +1 -1
- package/dist/services/eurostat-catalogue/eurostat-catalogue-service.d.ts.map +1 -1
- package/dist/services/eurostat-catalogue/eurostat-catalogue-service.js +3 -6
- package/dist/services/eurostat-catalogue/eurostat-catalogue-service.js.map +1 -1
- package/dist/services/eurostat-data/eurostat-data-service.d.ts +17 -55
- package/dist/services/eurostat-data/eurostat-data-service.d.ts.map +1 -1
- package/dist/services/eurostat-data/eurostat-data-service.js +90 -160
- package/dist/services/eurostat-data/eurostat-data-service.js.map +1 -1
- package/dist/services/eurostat-data/sdmx-metadata.d.ts +16 -0
- package/dist/services/eurostat-data/sdmx-metadata.d.ts.map +1 -0
- package/dist/services/eurostat-data/sdmx-metadata.js +330 -0
- package/dist/services/eurostat-data/sdmx-metadata.js.map +1 -0
- package/dist/services/eurostat-data/types.d.ts +21 -19
- package/dist/services/eurostat-data/types.d.ts.map +1 -1
- package/dist/services/eurostat-data/types.js +3 -3
- package/dist/services/eurostat-data/types.js.map +1 -1
- package/package.json +20 -12
- package/server.json +3 -3
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "eurostat_download_dataset reads the SDMX 2.1 TSV bulk endpoint — roughly half the bytes of eurostat_query_dataset — and stages a whole dataset on the dataframe canvas (#8)."
|
|
3
|
+
breaking: false
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.5.0 — 2026-08-04
|
|
8
|
+
|
|
9
|
+
## Added
|
|
10
|
+
|
|
11
|
+
- **`eurostat_download_dataset`** — downloads a whole dataset through the SDMX 2.1 TSV bulk endpoint (`/sdmx/2.1/data/{dataset}?format=TSV`) instead of the JSON-stat endpoint `eurostat_query_dataset` reads, and stages every observation on the dataframe canvas when one is configured. Filters take the same `{dimension_code: [value, ...]}` map as `eurostat_query_dataset`; the positional SDMX key is built server-side from the dataset's own dimension order, so arity is correct by construction and a filter naming a dimension the dataset does not have is rejected up front with the real dimension list. Narrow with `since_period`/`until_period` — there is deliberately no "last N periods", since the TSV layout keeps a column for every period regardless and `lastNObservations` only blanks the unselected cells. `preview_limit` (default 50, max 500) caps the inline echo; without a canvas only that preview is retained, and the response says so. ([#8](https://github.com/cyanheads/eurostat-mcp-server/issues/8))
|
|
12
|
+
- **`EurostatBulkService`** (`src/services/eurostat-bulk/`) — the streaming client behind the new tool: gzip sniffed off the response stream rather than trusted from headers (Eurostat sends no `Content-Encoding` on compressed bodies), a byte budget enforced mid-transfer since the body is `Transfer-Encoding: chunked` with no `Content-Length`, XML SOAP-fault and async-queue-envelope classification, and wide-to-long expansion of the TSV layout into one row per observation.
|
|
13
|
+
- **`EUROSTAT_BULK_TIMEOUT_MS`** (default `120000`) and **`EUROSTAT_BULK_MAX_BYTES`** (default `52428800`) — held separate from the existing request timeout because a bulk body streams for minutes where a metadata call answers in seconds.
|
|
14
|
+
- **`EurostatDataService.getDimensionOrder`** — resolves a dataset's dimension order (the JSON-stat `id` array minus `time`) from a one-period probe, the input the positional SDMX key is built from.
|
|
15
|
+
|
|
16
|
+
## Changed
|
|
17
|
+
|
|
18
|
+
- **`eurostat_query_dataset`, both dataframe tools, `eurostat_get_dataset_info`, `eurostat_get_dimension_values`, and `eurostat_search_datasets` have their descriptions rewritten**, not appended to, to route between a dataset slice (`eurostat_query_dataset`) and a whole dataset (`eurostat_download_dataset`).
|
|
19
|
+
- **The two dataframe stagers write different column sets**, and `eurostat_dataframe_describe`/`eurostat_dataframe_query` now say so explicitly: `eurostat_query_dataset` gives each dimension a code column plus a `_label` companion; `eurostat_download_dataset` gives code columns only (the bulk endpoint carries no labels) plus `time`, `conf_status`, and `conf_status_label`. The two tables also disagree on `obs_flag` — JSON-stat folds a confidentiality marker into the observation status, so a confidential cell reads `obs_flag = '|C'` on a query-staged table but `obs_flag = NULL` with `conf_status = 'C'` on a bulk-staged one; join on dimension codes and `time`, not on `obs_flag`.
|
|
20
|
+
- **`newTableName()` moved** from `eurostat-query-dataset.tool.ts` to `src/services/canvas-accessor.ts`, so both staging tools share one table-naming helper.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "eurostat_query_dataset's observations[].status carries only the OBS_FLAG now, confidentiality moved to a new confStatus field (#35); a wholly-confidential slice no longer wrongly raises no_results (#36)."
|
|
3
|
+
breaking: true
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.6.0 — 2026-08-04
|
|
8
|
+
|
|
9
|
+
## Breaking
|
|
10
|
+
|
|
11
|
+
- **`eurostat_query_dataset`'s `observations[].status` no longer carries a confidentiality code.** JSON-stat publishes no `CONF_STATUS` field and instead folds it into the observation status behind a `|` — a confidential cell arrived as `status: { code: "|C", label: "|confidential" }`. The decoder now splits that separator: `status` carries only the `OBS_FLAG` half and is omitted for a cell with none, while a new sibling field `confStatus: { code, label }` carries the `CONF_STATUS` half, present only when Eurostat restricts the cell. Before: `status.code === "|C"`. After: `status` omitted, `confStatus.code === "C"`. The staged dataframe table gains `conf_status`/`conf_status_label` columns; both `eurostat_query_dataset` and `eurostat_download_dataset` now stage the same five measure columns — `obs_value`, `obs_flag`, `obs_flag_label`, `conf_status`, `conf_status_label` — under the same names with the same codes, so the two join and compare directly instead of disagreeing on what `obs_flag` holds. ([#35](https://github.com/cyanheads/eurostat-mcp-server/issues/35))
|
|
12
|
+
|
|
13
|
+
## Changed
|
|
14
|
+
|
|
15
|
+
- **`src/services/eurostat-codelists.ts`** (new) — the `OBS_FLAG`/`CONF_STATUS` code-to-label dictionaries and the five measure column names, previously duplicated between the JSON-stat and SDMX-TSV services, now live in one module both import.
|
|
16
|
+
- **`eurostat_query_dataset`, `eurostat_dataframe_describe`, and `eurostat_dataframe_query` descriptions rewritten** to describe the shared measure columns instead of the `obs_flag` divergence the breaking change above removes.
|
|
17
|
+
|
|
18
|
+
## Fixed
|
|
19
|
+
|
|
20
|
+
- **`eurostat_query_dataset` no longer rejects a slice whose every cell is confidential as `no_results`.** The guard tested the response's `value` map alone, but the decoder counts a cell as an observation when its index appears in `value` **or** `status` — a wholly-confidential slice carries every cell in `status` with no `value` entry, so it arrived as `value: {}` and was rejected even though the decoder yields it as data. The guard now derives from the same cell count (`obsCount`) the response already reports, so a rejected query and a returned one can no longer disagree about what an observation is. The `no_results` recovery hint also now names the period range, since an out-of-coverage range is the other way Eurostat answers HTTP 200 with nothing. ([#36](https://github.com/cyanheads/eurostat-mcp-server/issues/36))
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Adopts mcp-ts-core 0.12.3 and MCP SDK v2, reports truncated bulk previews on both output surfaces, and refreshes the build and test configuration."
|
|
3
|
+
breaking: false
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.6.1 — 2026-08-21
|
|
8
|
+
|
|
9
|
+
## Changed
|
|
10
|
+
|
|
11
|
+
- **`@cyanheads/mcp-ts-core` 0.12.3 adoption** serves MCP protocol revision 2026-07-28 alongside existing clients, advertises strict tool inputs and the error output envelope, adds stateful HTTP replay, and records failures across output validation, formatting, and enrichment.
|
|
12
|
+
- **Request contexts** now pass directly into framework fetch, retry, and cursor helpers without compatibility casts.
|
|
13
|
+
- **TypeScript and Vitest configuration** typechecks `src/` and `tests/` together while keeping build emission scoped to `src/`, with named unit, smoke, integration, and fuzz projects.
|
|
14
|
+
- **Runtime packaging** pins Bun 1.4.0 and omits optional framework peers from the production image while retaining the DuckDB canvas binding as a direct dependency.
|
|
15
|
+
- **Project guidance and metadata** syncs the framework 0.12.x skills, MCP SDK v2 conventions, community health files, bundle checks, and security contact.
|
|
16
|
+
|
|
17
|
+
## Fixed
|
|
18
|
+
|
|
19
|
+
- **`eurostat_download_dataset` inline previews** report `truncated`, `shown`, and `cap` through enrichment whenever rows are omitted, keeping `structuredContent` and `content[]` aligned.
|
|
20
|
+
- **Directory tree generation** applies directory-only ignore patterns to directories, so ignored agent and workspace directories stay out of the generated tree.
|
|
21
|
+
|
|
22
|
+
## Dependencies
|
|
23
|
+
|
|
24
|
+
- `@cyanheads/mcp-ts-core` `^0.11.1` → `^0.12.3`
|
|
25
|
+
- `@duckdb/node-api` `^1.5.5-r.3` → `^1.5.5-r.4`
|
|
26
|
+
- `@biomejs/biome` `2.5.6` → `2.5.9`
|
|
27
|
+
- `@types/node` `26.1.2` → `26.2.0`
|
|
28
|
+
- `tsc-alias` `^1.9.1` → `^1.9.2`
|
|
29
|
+
- `vitest` `^4.1.10` → `^4.1.11`
|
|
30
|
+
- `tsx` `^4.23.1` removed (the project runs TypeScript scripts with Bun directly)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Uses dataset-scoped SDMX metadata, adds bounded query previews, and makes query and canvas recovery paths explicit."
|
|
3
|
+
breaking: false
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.6.2 — 2026-08-30
|
|
8
|
+
|
|
9
|
+
## Added
|
|
10
|
+
|
|
11
|
+
- **`eurostat_query_dataset.preview_limit`** returns a deterministic 1–500-row inline prefix (default 50) while full-match totals and the 5,000-row staging threshold remain independent ([#39](https://github.com/cyanheads/eurostat-mcp-server/issues/39)).
|
|
12
|
+
|
|
13
|
+
## Changed
|
|
14
|
+
|
|
15
|
+
- **Dataset metadata and dimension values** now come from each dataset's SDMX dataflow descendants and content constraint, including complete available `time` values ([#44](https://github.com/cyanheads/eurostat-mcp-server/issues/44)).
|
|
16
|
+
- **Canvas-producing responses** direct callers to inspect `eurostat_dataframe_describe` before querying the returned table ([#42](https://github.com/cyanheads/eurostat-mcp-server/issues/42)).
|
|
17
|
+
|
|
18
|
+
## Fixed
|
|
19
|
+
|
|
20
|
+
- **`NO_RESULTS` and geo slices** distinguish empty valid queries from missing datasets, report the effective geo level, and expose a recovery hint for conflicting query parameters ([#37](https://github.com/cyanheads/eurostat-mcp-server/issues/37), [#38](https://github.com/cyanheads/eurostat-mcp-server/issues/38), [#41](https://github.com/cyanheads/eurostat-mcp-server/issues/41)).
|
|
21
|
+
- **HTTP 413 error bodies** are classified as non-retryable asynchronous responses before retry handling ([#44](https://github.com/cyanheads/eurostat-mcp-server/issues/44)).
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
---
|
|
2
|
+
# FORMAT REFERENCE — do not edit. Copy this file to
|
|
3
|
+
# `changelog/<major.minor>.x/<version>.md` (e.g. `changelog/0.8.x/0.8.6.md`)
|
|
4
|
+
# to author a new release. Set that file's H1 to `# <version> — YYYY-MM-DD`
|
|
5
|
+
# with a concrete date.
|
|
6
|
+
|
|
7
|
+
# Required. One-line GitHub Release-style headline. 350 character cap — a
|
|
8
|
+
# ceiling, not a target. Default short and scannable. Don't pad, don't stitch
|
|
9
|
+
# unrelated changes with commas/semicolons into an inventory — pick the
|
|
10
|
+
# headline, like a tag's theme line. Quotes required: unquoted YAML treats
|
|
11
|
+
# `: ` inside the value as a key separator and fails GitHub's strict parser.
|
|
12
|
+
summary: ""
|
|
13
|
+
|
|
14
|
+
# Set `true` when consumers must change code to upgrade: API removals,
|
|
15
|
+
# signature changes, config renames, behavior changes that break existing
|
|
16
|
+
# usage. Flagged as `Breaking` in the rollup.
|
|
17
|
+
breaking: false
|
|
18
|
+
|
|
19
|
+
# Set `true` ONLY for a security fix in THIS project's own source code — a
|
|
20
|
+
# vulnerability or hardening in code you ship. A dependency or transitive CVE
|
|
21
|
+
# bump is routine maintenance, NOT a security release: record it under
|
|
22
|
+
# `## Dependencies` (with the advisory ID) and leave this `false`. When true,
|
|
23
|
+
# pairs with the `## Security` section below and flags `Security` in the rollup.
|
|
24
|
+
security: false
|
|
25
|
+
|
|
26
|
+
# Optional free-form notes for maintenance agents processing this release.
|
|
27
|
+
# Not rendered in CHANGELOG — consumed by agents running `maintenance` on
|
|
28
|
+
# downstream servers. ADOPTION STEPS ONLY — new files to create, fields to
|
|
29
|
+
# populate, one-time migration steps. Never a second rendering of the body:
|
|
30
|
+
# if a body bullet already says it, name the bullet's symbol instead of
|
|
31
|
+
# re-explaining. Omit the field entirely when there's nothing to say.
|
|
32
|
+
# agent-notes: |
|
|
33
|
+
# <instructions for downstream maintenance agents>
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
# <version> — YYYY-MM-DD
|
|
37
|
+
|
|
38
|
+
<!--
|
|
39
|
+
AUTHORING GUIDE — applies to the new per-version file you create from this
|
|
40
|
+
template.
|
|
41
|
+
|
|
42
|
+
Audience: someone scanning release notes to decide what affects them. Lead
|
|
43
|
+
each bullet with the symbol or concept name in **bold** so they can skip
|
|
44
|
+
what's irrelevant and zoom in on what's not.
|
|
45
|
+
|
|
46
|
+
Tone: terse, fact-dense, not verbose. Bullet shape: **symbol** + what
|
|
47
|
+
changed + at most one consumer-facing caveat. One sentence by default, two
|
|
48
|
+
when the second carries weight — a bullet past ~40 words or three sentences
|
|
49
|
+
is wrong. The depth lives one hop away: the linked issue carries the why,
|
|
50
|
+
the commit diff carries the how. The changelog names what changed and what
|
|
51
|
+
a consumer does about it; a reader who wants mechanism opens the link.
|
|
52
|
+
|
|
53
|
+
Model length on THIS guide, never on the previous entry — entries modeled
|
|
54
|
+
on entries compound.
|
|
55
|
+
|
|
56
|
+
Cut (each has shipped as a wall of text; these are the cruft):
|
|
57
|
+
- History/justification narration — how the bug worked, why the old
|
|
58
|
+
behavior was wrong. One short clause at most; the issue carries the story.
|
|
59
|
+
- Design-rationale defense — "chosen over Y because…", "guarding the
|
|
60
|
+
getter is not enough…". That is the author arguing with a reviewer;
|
|
61
|
+
reviewers read the PR, not the changelog.
|
|
62
|
+
- Defensive unchanged-clauses — "X is unchanged", "byte-identical to
|
|
63
|
+
<prev>". Keep one only where its absence would cause a real misread,
|
|
64
|
+
as a short parenthetical.
|
|
65
|
+
- Edge-case inventories — marker lists, not-flagged lists, escape tables.
|
|
66
|
+
Tests and the issue carry those.
|
|
67
|
+
- Mechanism walkthroughs (JSDoc, CLAUDE.md/AGENTS.md, or the relevant
|
|
68
|
+
skill own those), ceremonial framings ("This release introduces…"),
|
|
69
|
+
backwards-compat paragraphs, file-by-file test enumerations. Prefer
|
|
70
|
+
code/symbol names over English re-explanations.
|
|
71
|
+
|
|
72
|
+
Verified ≠ included: the every-claim-verified-from-the-diff rule bounds
|
|
73
|
+
the TRUTH of what you write, never the AMOUNT.
|
|
74
|
+
|
|
75
|
+
Example — same fact, right size:
|
|
76
|
+
|
|
77
|
+
TOO LONG: **`fetchWithTimeout`'s `timeoutMs` bounds the whole exchange**
|
|
78
|
+
(#341). `fetch` resolves once headers arrive and the deadline was
|
|
79
|
+
cleared as the helper returned, so a peer that answered promptly and
|
|
80
|
+
then stalled the stream held the request open indefinitely. A 2xx
|
|
81
|
+
carrying a body now comes back as a passthrough wrapper that disarms
|
|
82
|
+
the deadline when the body closes, errors, or is cancelled; …
|
|
83
|
+
[+90 more words of mechanism and edge cases]
|
|
84
|
+
|
|
85
|
+
RIGHT: **`fetchWithTimeout`'s `timeoutMs` now bounds the whole
|
|
86
|
+
exchange, not just the headers** (#341). A stalled body aborts with
|
|
87
|
+
the same `Timeout` error; the returned `Response` is a wrapper, so
|
|
88
|
+
identity assertions (`toBe(response)`) no longer hold.
|
|
89
|
+
|
|
90
|
+
Narrative intro: skip by default. Add one short sentence only when the
|
|
91
|
+
release theme genuinely needs framing the bullets can't carry. When many
|
|
92
|
+
bullets share one upgrade consequence, state it ONCE — intro line or
|
|
93
|
+
agent-notes — never per bullet.
|
|
94
|
+
|
|
95
|
+
Sections: Keep a Changelog order — Added, Changed, Deprecated, Removed,
|
|
96
|
+
Fixed, Security. Include only sections with entries; delete the rest
|
|
97
|
+
(including the commented-out scaffolding below). Don't ship empty headers.
|
|
98
|
+
|
|
99
|
+
Include: every distinct fact a reader needs to adopt or audit the release —
|
|
100
|
+
new exports, signatures, lint rule IDs, env vars, breaking changes, version
|
|
101
|
+
bumps on shipped skills. Nothing more.
|
|
102
|
+
|
|
103
|
+
Links: link issues, PRs, docs, or skills where they help a reader jump to
|
|
104
|
+
context. Once per item per entry — don't re-link the same issue in summary,
|
|
105
|
+
narrative, and bullet. Skip links for inline symbol names; code spans speak
|
|
106
|
+
for themselves.
|
|
107
|
+
|
|
108
|
+
Issue/PR URLs: use full URLs. GitHub's bare `#NN` auto-link only resolves
|
|
109
|
+
inside its own UI, not in npm reads or local editors.
|
|
110
|
+
|
|
111
|
+
[#38](https://github.com/cyanheads/mcp-ts-core/issues/38) ← issue
|
|
112
|
+
[#42](https://github.com/cyanheads/mcp-ts-core/pull/42) ← PR
|
|
113
|
+
|
|
114
|
+
Verify numbers exist before linking (`gh issue view NN`, `gh pr view NN`).
|
|
115
|
+
Never speculate on a future number — `#42` for an upcoming PR silently
|
|
116
|
+
resolves to whatever real item already owns 42, and timeline previews pull
|
|
117
|
+
in that unrelated item's metadata.
|
|
118
|
+
|
|
119
|
+
TAG ANNOTATIONS — the annotated tag body renders as the GitHub Release body
|
|
120
|
+
via `gh release create --notes-from-tag`. The tag is a derivative of this
|
|
121
|
+
changelog entry — a condensed, scannable version, not a copy. Format:
|
|
122
|
+
|
|
123
|
+
<theme — omit version number, GitHub prepends it>
|
|
124
|
+
← blank line
|
|
125
|
+
<1-2 sentence context: what this release does>
|
|
126
|
+
← blank line
|
|
127
|
+
Dependency bumps: ← section header
|
|
128
|
+
← blank line
|
|
129
|
+
- `@cyanheads/mcp-ts-core` ^0.9.1 → ^0.9.6 ← bullet
|
|
130
|
+
← blank line
|
|
131
|
+
Changed: ← only sections with entries
|
|
132
|
+
← blank line
|
|
133
|
+
- `format()` output includes `query` in text mode
|
|
134
|
+
← blank line
|
|
135
|
+
Added:
|
|
136
|
+
← blank line
|
|
137
|
+
- `manifest.json` scaffolded for MCPB bundle support
|
|
138
|
+
- Install badges (Claude Desktop, Cursor, VS Code)
|
|
139
|
+
← blank line
|
|
140
|
+
<N> tests pass; `bun run devcheck` clean. ← footer
|
|
141
|
+
|
|
142
|
+
Never a flat comma-separated string. Always structured markdown with
|
|
143
|
+
sections. The tag must scan well as a rendered GitHub Release page.
|
|
144
|
+
-->
|
|
145
|
+
|
|
146
|
+
## Added
|
|
147
|
+
|
|
148
|
+
-
|
|
149
|
+
|
|
150
|
+
## Changed
|
|
151
|
+
|
|
152
|
+
-
|
|
153
|
+
|
|
154
|
+
<!-- ## Deprecated
|
|
155
|
+
|
|
156
|
+
- -->
|
|
157
|
+
|
|
158
|
+
<!-- ## Removed
|
|
159
|
+
|
|
160
|
+
- -->
|
|
161
|
+
|
|
162
|
+
## Fixed
|
|
163
|
+
|
|
164
|
+
-
|
|
165
|
+
|
|
166
|
+
<!-- ## Security
|
|
167
|
+
|
|
168
|
+
- -->
|
|
@@ -22,7 +22,7 @@ export const eurostatDatasetResource = resource('eurostat://dataset/{dataset_cod
|
|
|
22
22
|
valuesCount: z
|
|
23
23
|
.number()
|
|
24
24
|
.optional()
|
|
25
|
-
.describe('Number of
|
|
25
|
+
.describe('Number of dataset-available values from the content constraint, including the full period count for "time". Omitted only when Eurostat does not supply a measurable value set.'),
|
|
26
26
|
sampleValues: z
|
|
27
27
|
.array(z
|
|
28
28
|
.object({
|
|
@@ -31,7 +31,7 @@ export const eurostatDatasetResource = resource('eurostat://dataset/{dataset_cod
|
|
|
31
31
|
})
|
|
32
32
|
.describe('A dimension value code and label pair.'))
|
|
33
33
|
.optional()
|
|
34
|
-
.describe('First 10 values for orientation. Omitted alongside valuesCount when
|
|
34
|
+
.describe('First 10 dataset-available values for orientation. Omitted alongside valuesCount when Eurostat does not supply a measurable value set.'),
|
|
35
35
|
})
|
|
36
36
|
.describe('A dataset dimension with its valid values.'))
|
|
37
37
|
.describe('Dataset dimensions.'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eurostat-dataset.resource.js","sourceRoot":"","sources":["../../../../src/mcp-server/resources/definitions/eurostat-dataset.resource.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAE3F,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAAQ,CAAC,mCAAmC,EAAE;IACnF,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,oNAAoN;IACtN,QAAQ,EAAE,kBAAkB;IAC5B,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;KACzE,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC;QAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;QAC3D,UAAU,EAAE,CAAC;aACV,KAAK,CACJ,CAAC;aACE,MAAM,CAAC;YACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAC5C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAC7C,WAAW,EAAE,CAAC;iBACX,MAAM,EAAE;iBACR,QAAQ,EAAE;iBACV,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"eurostat-dataset.resource.js","sourceRoot":"","sources":["../../../../src/mcp-server/resources/definitions/eurostat-dataset.resource.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAE3F,MAAM,CAAC,MAAM,uBAAuB,GAAG,QAAQ,CAAC,mCAAmC,EAAE;IACnF,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EACT,oNAAoN;IACtN,QAAQ,EAAE,kBAAkB;IAC5B,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;KACzE,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC;QAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;QAC3D,UAAU,EAAE,CAAC;aACV,KAAK,CACJ,CAAC;aACE,MAAM,CAAC;YACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAC5C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAC7C,WAAW,EAAE,CAAC;iBACX,MAAM,EAAE;iBACR,QAAQ,EAAE;iBACV,QAAQ,CACP,gLAAgL,CACjL;YAC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readonly when: "A canvas_id was supplied for staging but is unknown or its lifetime has elapsed.";
|
|
66
66
|
readonly recovery: "Omit canvas_id so the download starts a fresh canvas and returns its canvasId.";
|
|
67
67
|
}], {
|
|
68
|
+
readonly truncated: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
readonly shown: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
readonly cap: z.ZodOptional<z.ZodNumber>;
|
|
68
71
|
readonly appliedQuery: z.ZodObject<{
|
|
69
72
|
filters: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
70
73
|
sincePeriod: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eurostat-download-dataset.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/eurostat-download-dataset.tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAiB,MAAM,+BAA+B,CAAC;AA6BhF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"eurostat-download-dataset.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/eurostat-download-dataset.tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAiB,MAAM,+BAA+B,CAAC;AA6BhF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwXlC,CAAC;AAEH,wEAAwE;AACxE,KAAK,YAAY,GACb,cAAc,GACd,cAAc,GACd,mBAAmB,GACnB,WAAW,GACX,gBAAgB,CAAC;AAErB;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,OAAO,EACZ,WAAW,EAAE,MAAM,GAClB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,YAAY,CAAA;CAAE,GAAG,SAAS,CAqCrE"}
|
|
@@ -25,7 +25,7 @@ async function* teePreview(rows, preview, limit) {
|
|
|
25
25
|
}
|
|
26
26
|
export const eurostatDownloadDataset = tool('eurostat_download_dataset', {
|
|
27
27
|
title: 'Download Eurostat Dataset',
|
|
28
|
-
description: 'Download a Eurostat dataset in bulk through the SDMX 2.1 TSV endpoint and stage every observation as a SQL table on the dataframe canvas — the route to a whole dataset, where eurostat_query_dataset is the route to a slice of one. The TSV wire format is roughly half the bytes of the JSON-stat body eurostat_query_dataset reads, so it reaches datasets that would otherwise time out, and it is expanded here into one row per observation. Filters take the same dimension-code map eurostat_query_dataset uses and are applied server-side by Eurostat; call eurostat_get_dataset_info first for the dimension codes and eurostat_get_dimension_values for their values. Narrow with since_period/until_period rather than asking for the most recent N periods — the TSV layout keeps a column for every period whichever is requested, so a period range is what actually shrinks the response. Transfers are bounded by a byte budget enforced while streaming: when it is spent the download stops and budgetExceeded is set, leaving a prefix of the dataset rather than an error. Only preview_limit rows come back inline
|
|
28
|
+
description: 'Download a Eurostat dataset in bulk through the SDMX 2.1 TSV endpoint and stage every observation as a SQL table on the dataframe canvas — the route to a whole dataset, where eurostat_query_dataset is the route to a slice of one. The TSV wire format is roughly half the bytes of the JSON-stat body eurostat_query_dataset reads, so it reaches datasets that would otherwise time out, and it is expanded here into one row per observation. Filters take the same dimension-code map eurostat_query_dataset uses and are applied server-side by Eurostat; call eurostat_get_dataset_info first for the dimension codes and eurostat_get_dimension_values for their values. Narrow with since_period/until_period rather than asking for the most recent N periods — the TSV layout keeps a column for every period whichever is requested, so a period range is what actually shrinks the response. Transfers are bounded by a byte budget enforced while streaming: when it is spent the download stops and budgetExceeded is set, leaving a prefix of the dataset rather than an error. Only preview_limit rows come back inline. When a table is staged, call eurostat_dataframe_describe first to confirm its columns, then eurostat_dataframe_query; without a canvas, rows past the preview are not retained.',
|
|
29
29
|
annotations: { readOnlyHint: true, idempotentHint: true, openWorldHint: true },
|
|
30
30
|
input: z.object({
|
|
31
31
|
dataset_code: z.string().min(1).describe('Dataset code (e.g., "nama_10_gdp"). Required.'),
|
|
@@ -97,13 +97,19 @@ export const eurostatDownloadDataset = tool('eurostat_download_dataset', {
|
|
|
97
97
|
tableName: z
|
|
98
98
|
.string()
|
|
99
99
|
.optional()
|
|
100
|
-
.describe('Canvas table holding every downloaded observation. Omitted when this deployment runs without a dataframe canvas, in which case only the inline preview survives the call.'),
|
|
100
|
+
.describe('Canvas table holding every downloaded observation. Call eurostat_dataframe_describe with canvasId first to confirm the table and columns, then eurostat_dataframe_query. Omitted when this deployment runs without a dataframe canvas, in which case only the inline preview survives the call.'),
|
|
101
101
|
stagedRowCount: z
|
|
102
102
|
.number()
|
|
103
103
|
.optional()
|
|
104
104
|
.describe('Rows written to the canvas table. Matches rowCount. Omitted alongside tableName.'),
|
|
105
105
|
}),
|
|
106
106
|
enrichment: {
|
|
107
|
+
truncated: z
|
|
108
|
+
.boolean()
|
|
109
|
+
.optional()
|
|
110
|
+
.describe('True when the inline observation preview omits rows.'),
|
|
111
|
+
shown: z.number().optional().describe('Observations returned in the inline preview.'),
|
|
112
|
+
cap: z.number().optional().describe('The preview_limit applied to inline observations.'),
|
|
107
113
|
appliedQuery: z
|
|
108
114
|
.object({
|
|
109
115
|
filters: z
|
|
@@ -117,7 +123,7 @@ export const eurostatDownloadDataset = tool('eurostat_download_dataset', {
|
|
|
117
123
|
notice: z
|
|
118
124
|
.string()
|
|
119
125
|
.optional()
|
|
120
|
-
.describe('Guidance
|
|
126
|
+
.describe('Guidance for every staged result, including the required eurostat_dataframe_describe then eurostat_dataframe_query sequence, composed with byte-budget, no-canvas, or empty-result disclosure when applicable.'),
|
|
121
127
|
},
|
|
122
128
|
enrichmentTrailer: {
|
|
123
129
|
appliedQuery: {
|
|
@@ -265,6 +271,9 @@ export const eurostatDownloadDataset = tool('eurostat_download_dataset', {
|
|
|
265
271
|
url: download.url,
|
|
266
272
|
},
|
|
267
273
|
});
|
|
274
|
+
if (stats.rowCount > preview.length) {
|
|
275
|
+
ctx.enrich.truncated({ shown: preview.length, cap: input.preview_limit });
|
|
276
|
+
}
|
|
268
277
|
const notices = [];
|
|
269
278
|
if (stats.budgetExceeded) {
|
|
270
279
|
notices.push(`The byte budget stopped this transfer after ${stats.bytesRead.toLocaleString()} bytes, so these ${stats.rowCount.toLocaleString()} observations are the start of "${input.dataset_code}" and not all of it. Add dimension filters or a since_period/until_period range to fit the dataset inside the budget, or raise EUROSTAT_BULK_MAX_BYTES.`);
|
|
@@ -272,6 +281,9 @@ export const eurostatDownloadDataset = tool('eurostat_download_dataset', {
|
|
|
272
281
|
if (!staged) {
|
|
273
282
|
notices.push(`This deployment runs without a dataframe canvas, so nothing was staged: only the ${preview.length.toLocaleString()} observations returned inline are retained, and the other ${(stats.rowCount - preview.length).toLocaleString()} were counted and discarded. Set CANVAS_PROVIDER_TYPE=duckdb to keep the download, or use eurostat_query_dataset with dimension filters to fetch a slice small enough to return whole.`);
|
|
274
283
|
}
|
|
284
|
+
else {
|
|
285
|
+
notices.push(`All ${staged.stagedRowCount.toLocaleString()} downloaded observations are staged as table "${staged.tableName}" on canvas "${staged.canvasId}". Call eurostat_dataframe_describe with that canvas_id first to confirm the table and columns, then call eurostat_dataframe_query.`);
|
|
286
|
+
}
|
|
275
287
|
if (notices.length > 0)
|
|
276
288
|
ctx.enrich.notice(notices.join(' '));
|
|
277
289
|
return {
|
|
@@ -301,7 +313,7 @@ export const eurostatDownloadDataset = tool('eurostat_download_dataset', {
|
|
|
301
313
|
`**Transfer:** ${result.bytesRead} bytes decoded | **Compressed:** ${result.compressed} | **Budget exceeded:** ${result.budgetExceeded}${result.budgetExceeded ? ' — these rows are the start of the dataset, not all of it' : ''}`,
|
|
302
314
|
];
|
|
303
315
|
lines.push(result.tableName
|
|
304
|
-
? `**Staged:** table \`${result.tableName}\` on canvas \`${result.canvasId}\` (stagedRowCount ${result.stagedRowCount}) — query it with eurostat_dataframe_query`
|
|
316
|
+
? `**Staged:** table \`${result.tableName}\` on canvas \`${result.canvasId}\` (stagedRowCount ${result.stagedRowCount}) — inspect it with eurostat_dataframe_describe first, then query it with eurostat_dataframe_query`
|
|
305
317
|
: '**Staged:** nothing — this deployment runs without a dataframe canvas, so only the rows below are retained');
|
|
306
318
|
lines.push('', `## First ${result.observations.length} observations`);
|
|
307
319
|
for (const row of result.observations) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eurostat-download-dataset.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/eurostat-download-dataset.tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAiB,MAAM,+BAA+B,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACvF,OAAO,EACL,aAAa,EACb,sBAAsB,GACvB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAE3F,0EAA0E;AAC1E,MAAM,WAAW,GAAG,GAAG,CAAC;AAExB;;;;;GAKG;AACH,KAAK,SAAS,CAAC,CAAC,UAAU,CACxB,IAA6B,EAC7B,OAAkB,EAClB,KAAa;IAEb,IAAI,KAAK,EAAE,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QAC7B,IAAI,OAAO,CAAC,MAAM,GAAG,KAAK;YAAE,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC9C,MAAM,GAAG,CAAC;IACZ,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC,2BAA2B,EAAE;IACvE,KAAK,EAAE,2BAA2B;IAClC,W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,OAAO;gBACL,MAAM;gBACN,OAAO;gBACP,IAAI,EAAE,kCAAkC,WAAW,yJAAyJ;aAC7M,CAAC;QACJ,KAAK,cAAc;YACjB,OAAO;gBACL,MAAM;gBACN,OAAO;gBACP,IAAI,EAAE,iEAAiE,WAAW,+GAA+G;aAClM,CAAC;QACJ,KAAK,cAAc;YACjB,OAAO;gBACL,MAAM;gBACN,OAAO;gBACP,IAAI,EAAE,4JAA4J,WAAW,qBAAqB;aACnM,CAAC;QACJ,KAAK,gBAAgB;YACnB,OAAO;gBACL,MAAM;gBACN,OAAO;gBACP,IAAI,EAAE,qDAAqD,WAAW,0EAA0E;aACjJ,CAAC;QACJ;YACE,OAAO;IACX,CAAC;AACH,CAAC"}
|
|
1
|
+
{"version":3,"file":"eurostat-download-dataset.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/eurostat-download-dataset.tool.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAiB,MAAM,+BAA+B,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACvF,OAAO,EACL,aAAa,EACb,sBAAsB,GACvB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAE3F,0EAA0E;AAC1E,MAAM,WAAW,GAAG,GAAG,CAAC;AAExB;;;;;GAKG;AACH,KAAK,SAAS,CAAC,CAAC,UAAU,CACxB,IAA6B,EAC7B,OAAkB,EAClB,KAAa;IAEb,IAAI,KAAK,EAAE,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QAC7B,IAAI,OAAO,CAAC,MAAM,GAAG,KAAK;YAAE,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC9C,MAAM,GAAG,CAAC;IACZ,CAAC;AACH,C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@@ export const eurostatGetDatasetInfo = tool('eurostat_get_dataset_info', {
|
|
|
28
28
|
valuesCount: z
|
|
29
29
|
.number()
|
|
30
30
|
.optional()
|
|
31
|
-
.describe('Number of
|
|
31
|
+
.describe('Number of dataset-available values in this dimension, taken from the dataset content constraint. For "time" this is the full period count. Omitted only when Eurostat does not supply a measurable value set.'),
|
|
32
32
|
sampleValues: z
|
|
33
33
|
.array(z
|
|
34
34
|
.object({
|
|
@@ -37,7 +37,7 @@ export const eurostatGetDatasetInfo = tool('eurostat_get_dataset_info', {
|
|
|
37
37
|
})
|
|
38
38
|
.describe('A dimension value code and label pair.'))
|
|
39
39
|
.optional()
|
|
40
|
-
.describe('First 10
|
|
40
|
+
.describe('First 10 dataset-available values for orientation. Use eurostat_get_dimension_values for the full constrained list. Omitted alongside valuesCount when Eurostat does not supply a measurable value set.'),
|
|
41
41
|
})
|
|
42
42
|
.describe('A dataset dimension with its valid values.'))
|
|
43
43
|
.describe('All dimensions of the dataset with their valid codes and labels.'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eurostat-get-dataset-info.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/eurostat-get-dataset-info.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAiB,MAAM,+BAA+B,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAE3F,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,CAAC,2BAA2B,EAAE;IACtE,KAAK,EAAE,2BAA2B;IAClC,WAAW,EACT,wiBAAwiB;IAC1iB,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE;IAC9E,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,YAAY,EAAE,CAAC;aACZ,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CACP,2GAA2G,CAC5G;KACJ,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;QACtD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;QAC3D,UAAU,EAAE,CAAC;aACV,KAAK,CACJ,CAAC;aACE,MAAM,CAAC;YACN,IAAI,EAAE,CAAC;iBACJ,MAAM,EAAE;iBACR,QAAQ,CACP,oIAAoI,CACrI;YACH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,0DAA0D,CAAC;YACtF,WAAW,EAAE,CAAC;iBACX,MAAM,EAAE;iBACR,QAAQ,EAAE;iBACV,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"eurostat-get-dataset-info.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/eurostat-get-dataset-info.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAiB,MAAM,+BAA+B,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAE3F,MAAM,CAAC,MAAM,sBAAsB,GAAG,IAAI,CAAC,2BAA2B,EAAE;IACtE,KAAK,EAAE,2BAA2B;IAClC,WAAW,EACT,wiBAAwiB;IAC1iB,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE;IAC9E,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,YAAY,EAAE,CAAC;aACZ,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,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ionCode: z.ZodString;
|
|
19
19
|
dimensionLabel: z.ZodString;
|
|
20
|
+
geoLevel: z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
aggregate: "aggregate";
|
|
22
|
+
country: "country";
|
|
23
|
+
nuts1: "nuts1";
|
|
24
|
+
nuts2: "nuts2";
|
|
25
|
+
nuts3: "nuts3";
|
|
26
|
+
}>>;
|
|
20
27
|
values: z.ZodArray<z.ZodObject<{
|
|
21
28
|
code: z.ZodString;
|
|
22
29
|
label: z.ZodString;
|
|
@@ -30,9 +37,14 @@ export declare const eurostatGetDimensionValues: import("@cyanheads/mcp-ts-core"
|
|
|
30
37
|
}, {
|
|
31
38
|
readonly reason: "async_response";
|
|
32
39
|
readonly code: JsonRpcErrorCode.ServiceUnavailable;
|
|
33
|
-
readonly when: "Eurostat returned an
|
|
40
|
+
readonly when: "Eurostat returned an asynchronous-response condition.";
|
|
34
41
|
readonly retryable: false;
|
|
35
42
|
readonly recovery: "Use eurostat_get_dataset_info for a sampled value set, or narrow the request with geo_level for the geo dimension.";
|
|
43
|
+
}, {
|
|
44
|
+
readonly reason: "no_results";
|
|
45
|
+
readonly code: JsonRpcErrorCode.NotFound;
|
|
46
|
+
readonly when: "The dataset has no geo values at the effective geo_level.";
|
|
47
|
+
readonly recovery: "Choose a different geo_level. Omitted geo_level means country.";
|
|
36
48
|
}, {
|
|
37
49
|
readonly reason: "conflicting_params";
|
|
38
50
|
readonly code: JsonRpcErrorCode.ValidationError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eurostat-get-dimension-values.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/eurostat-get-dimension-values.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAiB,MAAM,+BAA+B,CAAC;AAIhF,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"eurostat-get-dimension-values.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/eurostat-get-dimension-values.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAiB,MAAM,+BAA+B,CAAC;AAIhF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8IrC,CAAC"}
|
|
@@ -24,6 +24,10 @@ export const eurostatGetDimensionValues = tool('eurostat_get_dimension_values',
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
dimensionCode: z.string().describe('The dimension code that was queried.'),
|
|
26
26
|
dimensionLabel: z.string().describe('Human-readable dimension name.'),
|
|
27
|
+
geoLevel: z
|
|
28
|
+
.enum(GEO_LEVEL_VALUES)
|
|
29
|
+
.optional()
|
|
30
|
+
.describe('Effective NUTS hierarchy level for the geo value set. Present only for the geo dimension; country is reported when geo_level was omitted.'),
|
|
27
31
|
values: z
|
|
28
32
|
.array(z
|
|
29
33
|
.object({
|
|
@@ -33,8 +37,10 @@ export const eurostatGetDimensionValues = tool('eurostat_get_dimension_values',
|
|
|
33
37
|
label: z.string().describe('Human-readable label for this value.'),
|
|
34
38
|
})
|
|
35
39
|
.describe('A dimension value code and label pair.'))
|
|
36
|
-
.describe('All
|
|
37
|
-
totalCount: z
|
|
40
|
+
.describe('All dataset-available values for this dimension. For geo, this is the subset at geoLevel.'),
|
|
41
|
+
totalCount: z
|
|
42
|
+
.number()
|
|
43
|
+
.describe('Total number of distinct values returned, after geoLevel filtering for geo.'),
|
|
38
44
|
}),
|
|
39
45
|
errors: [
|
|
40
46
|
{
|
|
@@ -46,10 +52,16 @@ export const eurostatGetDimensionValues = tool('eurostat_get_dimension_values',
|
|
|
46
52
|
{
|
|
47
53
|
reason: 'async_response',
|
|
48
54
|
code: JsonRpcErrorCode.ServiceUnavailable,
|
|
49
|
-
when: 'Eurostat returned an
|
|
55
|
+
when: 'Eurostat returned an asynchronous-response condition.',
|
|
50
56
|
retryable: false,
|
|
51
57
|
recovery: 'Use eurostat_get_dataset_info for a sampled value set, or narrow the request with geo_level for the geo dimension.',
|
|
52
58
|
},
|
|
59
|
+
{
|
|
60
|
+
reason: 'no_results',
|
|
61
|
+
code: JsonRpcErrorCode.NotFound,
|
|
62
|
+
when: 'The dataset has no geo values at the effective geo_level.',
|
|
63
|
+
recovery: 'Choose a different geo_level. Omitted geo_level means country.',
|
|
64
|
+
},
|
|
53
65
|
{
|
|
54
66
|
reason: 'conflicting_params',
|
|
55
67
|
code: JsonRpcErrorCode.ValidationError,
|
|
@@ -72,6 +84,14 @@ export const eurostatGetDimensionValues = tool('eurostat_get_dimension_values',
|
|
|
72
84
|
},
|
|
73
85
|
});
|
|
74
86
|
}
|
|
87
|
+
if (reason === 'no_results') {
|
|
88
|
+
const effectiveGeoLevel = input.geo_level ?? 'country';
|
|
89
|
+
throw ctx.fail('no_results', err.message, {
|
|
90
|
+
recovery: {
|
|
91
|
+
hint: `Dataset "${input.dataset_code}" has no "geo" values at the "${effectiveGeoLevel}" level. Choose another geo_level (aggregate, nuts1, nuts2, or nuts3); omitting geo_level requests country values.`,
|
|
92
|
+
},
|
|
93
|
+
});
|
|
94
|
+
}
|
|
75
95
|
if (reason === 'async_response') {
|
|
76
96
|
throw ctx.fail('async_response', err.message, {
|
|
77
97
|
recovery: {
|
|
@@ -98,6 +118,7 @@ export const eurostatGetDimensionValues = tool('eurostat_get_dimension_values',
|
|
|
98
118
|
format: (result) => {
|
|
99
119
|
const lines = [
|
|
100
120
|
`**Dimension:** ${result.dimensionLabel} (\`${result.dimensionCode}\`)`,
|
|
121
|
+
...(result.geoLevel ? [`**Geo level:** \`${result.geoLevel}\``] : []),
|
|
101
122
|
`**Total values:** ${result.totalCount}\n`,
|
|
102
123
|
];
|
|
103
124
|
for (const v of result.values) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eurostat-get-dimension-values.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/eurostat-get-dimension-values.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAiB,MAAM,+BAA+B,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAErE,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,CAAC,+BAA+B,EAAE;IAC9E,KAAK,EAAE,+BAA+B;IACtC,WAAW,EACT,qjBAAqjB;IACvjB,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE;IAC9E,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,qCAAqC,CAAC;QAC/E,SAAS,EAAE,CAAC;aACT,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CACP,oIAAoI,CACrI;QACH,SAAS,EAAE,CAAC;aACT,IAAI,CAAC,gBAAgB,CAAC;aACtB,QAAQ,EAAE;aACV,QAAQ,CACP,qPAAqP,CACtP;KACJ,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;QAC1E,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;QACrE,MAAM,EAAE,CAAC;aACN,KAAK,CACJ,CAAC;aACE,MAAM,CAAC;YACN,IAAI,EAAE,CAAC;iBACJ,MAAM,EAAE;iBACR,QAAQ,CACP,2GAA2G,CAC5G;YACH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;SACnE,CAAC;aACD,QAAQ,CAAC,wCAAwC,CAAC,CACtD;aACA,QAAQ,
|
|
1
|
+
{"version":3,"file":"eurostat-get-dimension-values.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/eurostat-get-dimension-values.tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAiB,MAAM,+BAA+B,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAErE,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,CAAC,+BAA+B,EAAE;IAC9E,KAAK,EAAE,+BAA+B;IACtC,WAAW,EACT,qjBAAqjB;IACvjB,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE;IAC9E,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,qCAAqC,CAAC;QAC/E,SAAS,EAAE,CAAC;aACT,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CACP,oIAAoI,CACrI;QACH,SAAS,EAAE,CAAC;aACT,IAAI,CAAC,gBAAgB,CAAC;aACtB,QAAQ,EAAE;aACV,QAAQ,CACP,qPAAqP,CACtP;KACJ,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;QA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