OpenHelvetia Gateway is an MCP server published by swiss.openhelvetia, hosted at mcp.openhelvetia.swiss. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 65 tools, including directory.get, facts.badge, facts.latest, fedlex.check_in_force, fedlex.check_quote.
Swiss federal law (Fedlex) and political data (LINDAS) for agents, every answer with sources
1 connections through 4 shared values. Tap any node.
The directory envelope (v0.2, authority: manifest). Real entries only — a data source enters on one of three admission routes (E21); an empty list is the honest state, never padded.
No parameters.
{
"name": "directory.get",
"description": "The directory envelope (v0.2, authority: manifest). Real entries only — a data source enters on one of three admission routes (E21); an empty list is the honest state, never padded.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true
}
}shields.io endpoint JSON for one subject, derived from the fact table — «no facts» in grey when nothing is recorded, never rounded up.
| Parameter |
|---|
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| Type |
|---|
| Description |
|---|
| domain * | string | |
| subject * | string | Subject key (e.g. «slug#0»). |
{
"name": "facts.badge",
"description": "shields.io endpoint JSON for one subject, derived from the fact table — «no facts» in grey when nothing is recorded, never rounded up.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"domain",
"subject"
],
"properties": {
"domain": {
"type": "string"
},
"subject": {
"type": "string",
"description": "Subject key (e.g. «slug#0»)."
}
}
},
"annotations": {
"readOnlyHint": true
}
}Latest effective facts per subject+metric from the versioned fact table — the bitemporal as_of cutoff is exposed; an absent store is the honest empty view.
| Parameter | Type | Description |
|---|---|---|
| as_of | ["string","null"] | Optional bitemporal cutoff (RFC 3339). |
| domain * | string | Measured domain («checker», «benchmark»). |
{
"name": "facts.latest",
"description": "Latest effective facts per subject+metric from the versioned fact table — the bitemporal as_of cutoff is exposed; an absent store is the honest empty view.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"domain"
],
"properties": {
"as_of": {
"type": [
"string",
"null"
],
"description": "Optional bitemporal cutoff (RFC 3339)."
},
"domain": {
"type": "string",
"description": "Measured domain («checker», «benchmark»)."
}
}
},
"annotations": {
"readOnlyHint": true
}
}Check whether an act was in force on a date; false is a valid answer, never an error: use for «gilt das noch?» questions. norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | |
| as_of * | string | ISO date YYYY-MM-DD. |
{
"name": "fedlex.check_in_force",
"description": "Check whether an act was in force on a date; false is a valid answer, never an error: use for «gilt das noch?» questions. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli",
"as_of"
],
"properties": {
"eli": {
"type": "string"
},
"as_of": {
"type": "string",
"description": "ISO date YYYY-MM-DD."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Check a quote (Zitat) against the norm text of one element: use before citing, to prove the wording is in what was read (Belegkette). norm.
| Parameter | Type | Description |
|---|---|---|
| eid * | string | The element that was read: an eId such as «art_6» or a path eId such as «art_6/para_1» or «annex_3/lvl_u1/lvl_2». |
| lang | ["string","null"] | Manifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read. |
| quote * | string | The wording to check, verbatim; «…» or «[...]» marks an omission (each part must occur, in order). |
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>` — the version that was read. |
{
"name": "fedlex.check_quote",
"description": "Check a quote (Zitat) against the norm text of one element: use before citing, to prove the wording is in what was read (Belegkette). norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version",
"eid",
"quote"
],
"properties": {
"eid": {
"type": "string",
"description": "The element that was read: an eId such as «art_6» or a path eId\nsuch as «art_6/para_1» or «annex_3/lvl_u1/lvl_2»."
},
"lang": {
"type": [
"string",
"null"
],
"description": "Manifestation language (de|fr|it|en|rm); default de. Which\nlanguages a version carries as XML is the graph's answer —\nfedlex.list_expressions shows it before a read."
},
"quote": {
"type": "string",
"description": "The wording to check, verbatim; «…» or «[...]» marks an omission\n(each part must occur, in order)."
},
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>` — the version that was read."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Cite an element as its canonical Fundstelle («Art. 7 Abs. 1 Bst. b LSV») from eli_version and eId: use to label a read place in the Belegkette. norm.
| Parameter | Type | Description |
|---|---|---|
| eid * | string | The place to label: an eId such as «art_7/para_1/lbl_b», «art_23_a» or «annex_3/lvl_u1». |
| lang | ["string","null"] | Label language (de|fr|it|en|rm) — the manifestation read and the abbreviation used; default de. |
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>`. |
{
"name": "fedlex.cite",
"description": "Cite an element as its canonical Fundstelle («Art. 7 Abs. 1 Bst. b LSV») from eli_version and eId: use to label a read place in the Belegkette. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version",
"eid"
],
"properties": {
"eid": {
"type": "string",
"description": "The place to label: an eId such as «art_7/para_1/lbl_b», «art_23_a»\nor «annex_3/lvl_u1»."
},
"lang": {
"type": [
"string",
"null"
],
"description": "Label language (de|fr|it|en|rm) — the manifestation read and the\nabbreviation used; default de."
},
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Compare an element or every article between two Fassungen of an act — added, removed, changed paragraphs with wording: use for «was hat sich geändert?». norm.
| Parameter | Type | Description |
|---|---|---|
| eid | ["string","null"] | Optional scope: one element (article or path eId); default every article. |
| eli * | string | Fedlex ELI of the act (consolidation abstract). |
| lang | ["string","null"] | Manifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read. |
| to_version * | string | The newer consolidation: a version IRI or a date. |
| from_version * | string | The older consolidation: a version IRI or a date (YYYY-MM-DD / YYYYMMDD). |
{
"name": "fedlex.compare_versions",
"description": "Compare an element or every article between two Fassungen of an act — added, removed, changed paragraphs with wording: use for «was hat sich geändert?». norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli",
"from_version",
"to_version"
],
"properties": {
"eid": {
"type": [
"string",
"null"
],
"description": "Optional scope: one element (article or path eId); default every article."
},
"eli": {
"type": "string",
"description": "Fedlex ELI of the act (consolidation abstract)."
},
"lang": {
"type": [
"string",
"null"
],
"description": "Manifestation language (de|fr|it|en|rm); default de. Which\nlanguages a version carries as XML is the graph's answer —\nfedlex.list_expressions shows it before a read."
},
"to_version": {
"type": "string",
"description": "The newer consolidation: a version IRI or a date."
},
"from_version": {
"type": "string",
"description": "The older consolidation: a version IRI or a date (YYYY-MM-DD / YYYYMMDD)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Detect what the text tools hide in a Fassung: sections in another language (xml:lang) and <foreign> islands (formulas, graphics): use before quoting. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | Manifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read. |
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>`. |
{
"name": "fedlex.detect_foreign_content",
"description": "Detect what the text tools hide in a Fassung: sections in another language (xml:lang) and <foreign> islands (formulas, graphics): use before quoting. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version"
],
"properties": {
"lang": {
"type": [
"string",
"null"
],
"description": "Manifestation language (de|fr|it|en|rm); default de. Which\nlanguages a version carries as XML is the graph's answer —\nfedlex.list_expressions shows it before a read."
},
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Explore a JOLux node's edges (predicates and neighbours, both directions, capped): use to debug what the graph holds about an IRI; never as proof. hint.
| Parameter | Type | Description |
|---|---|---|
| iri * | string | Any Fedlex IRI (https://fedlex.data.admin.ch/…). |
| limit | ["integer","null"] | Edges per direction (default 20, at most 50). |
{
"name": "fedlex.explore_node",
"description": "Explore a JOLux node's edges (predicates and neighbours, both directions, capped): use to debug what the graph holds about an IRI; never as proof. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"iri"
],
"properties": {
"iri": {
"type": "string",
"description": "Any Fedlex IRI (https://fedlex.data.admin.ch/…)."
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Edges per direction (default 20, at most 50)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Extract the tables of a consolidation or of one element (annex limit values, tariffs) as header and rows: use when a norm is a table, not prose. norm.
| Parameter | Type | Description |
|---|---|---|
| eid | ["string","null"] | Optional scope: an eId (an annex level such as «annex_3/lvl_u1/lvl_2», an article). |
| lang | ["string","null"] | Manifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read. |
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>`. |
{
"name": "fedlex.extract_tables",
"description": "Extract the tables of a consolidation or of one element (annex limit values, tariffs) as header and rows: use when a norm is a table, not prose. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version"
],
"properties": {
"eid": {
"type": [
"string",
"null"
],
"description": "Optional scope: an eId (an annex level such as «annex_3/lvl_u1/lvl_2», an article)."
},
"lang": {
"type": [
"string",
"null"
],
"description": "Manifestation language (de|fr|it|en|rm); default de. Which\nlanguages a version carries as XML is the graph's answer —\nfedlex.list_expressions shows it before a read."
},
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Find acts in the same field of law via the legal taxonomy, by ELI or SR: use to discover neighbouring Erlasse; candidates only. hint.
| Parameter | Type | Description |
|---|---|---|
| sr | ["string","null"] | SR number as an alternative entry, e.g. «832.10». |
| eli | ["string","null"] | Fedlex ELI of the act — or give `sr`. |
| limit | ["integer","null"] | Max candidates (default 20, at most 50). |
{
"name": "fedlex.find_related_topic",
"description": "Find acts in the same field of law via the legal taxonomy, by ELI or SR: use to discover neighbouring Erlasse; candidates only. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sr": {
"type": [
"string",
"null"
],
"description": "SR number as an alternative entry, e.g. «832.10»."
},
"eli": {
"type": [
"string",
"null"
],
"description": "Fedlex ELI of the act — or give `sr`."
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Max candidates (default 20, at most 50)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Find treaty processes (Staatsverträge) by a title word, partner country IRI or bilaterality: use to locate a treaty before get_treaty_info. hint.
| Parameter | Type | Description |
|---|---|---|
| limit | ["integer","null"] | Max hits (default 20, at most 50). |
| query | ["string","null"] | A word of the treaty title (case-insensitive). |
| country | ["string","null"] | Partner country as a Fedlex country vocabulary IRI. |
| bilateral | ["boolean","null"] | true = bilateral only, false = multilateral only. |
{
"name": "fedlex.find_treaties",
"description": "Find treaty processes (Staatsverträge) by a title word, partner country IRI or bilaterality: use to locate a treaty before get_treaty_info. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Max hits (default 20, at most 50)."
},
"query": {
"type": [
"string",
"null"
],
"description": "A word of the treaty title (case-insensitive)."
},
"country": {
"type": [
"string",
"null"
],
"description": "Partner country as a Fedlex country vocabulary IRI."
},
"bilateral": {
"type": [
"boolean",
"null"
],
"description": "true = bilateral only, false = multilateral only."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Trace which amendments and consolidations changed one Artikel (eId) of an act, with dates: use for «seit wann gilt Art. X so?». norm.
| Parameter | Type | Description |
|---|---|---|
| eid * | string | Akoma-Ntoso eId of the element, e.g. «art_14a» or «art_2/para_1». |
| eli * | string | Fedlex ELI of the consolidation abstract. |
{
"name": "fedlex.get_article_history",
"description": "Trace which amendments and consolidations changed one Artikel (eId) of an act, with dates: use for «seit wann gilt Art. X so?». norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli",
"eid"
],
"properties": {
"eid": {
"type": "string",
"description": "Akoma-Ntoso eId of the element, e.g. «art_14a» or «art_2/para_1»."
},
"eli": {
"type": "string",
"description": "Fedlex ELI of the consolidation abstract."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List an act's relations: cites|cited_by (formal citations, act level) or in|out (foreseen impacts, mostly consultation drafts): use to see who cites X. norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | |
| direction * | string | «in» | «out» (the foreseen-impact graph) or «cites» | «cited_by» (the formal citation graph, act level). |
{
"name": "fedlex.get_citations",
"description": "List an act's relations: cites|cited_by (formal citations, act level) or in|out (foreseen impacts, mostly consultation drafts): use to see who cites X. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli",
"direction"
],
"properties": {
"eli": {
"type": "string"
},
"direction": {
"type": "string",
"description": "«in» | «out» (the foreseen-impact graph) or «cites» | «cited_by»\n(the formal citation graph, act level)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the position statements and result reports of one consultation IRI: use after get_consultations to read the genesis record. norm.
| Parameter | Type | Description |
|---|---|---|
| consultation * | string | The consultation IRI (from get_consultations). |
{
"name": "fedlex.get_consultation_documents",
"description": "List the position statements and result reports of one consultation IRI: use after get_consultations to read the genesis record. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"consultation"
],
"properties": {
"consultation": {
"type": "string",
"description": "The consultation IRI (from get_consultations)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the consultations (Vernehmlassungen) of an act's drafts or of one draft, with status and dates: use for the genesis, never for law in force. hint.
| Parameter | Type | Description |
|---|---|---|
| eli | ["string","null"] | Fedlex ELI of the act — its drafts are resolved first (at most five). |
| draft | ["string","null"] | Or a draft IRI (from get_drafts). |
| limit | ["integer","null"] | Max consultations (default 20, at most 50). |
| status | ["string","null"] | Optional status filter: the consultation-status IRI or its last segment. |
{
"name": "fedlex.get_consultations",
"description": "List the consultations (Vernehmlassungen) of an act's drafts or of one draft, with status and dates: use for the genesis, never for law in force. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"eli": {
"type": [
"string",
"null"
],
"description": "Fedlex ELI of the act — its drafts are resolved first (at most five)."
},
"draft": {
"type": [
"string",
"null"
],
"description": "Or a draft IRI (from get_drafts)."
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Max consultations (default 20, at most 50)."
},
"status": {
"type": [
"string",
"null"
],
"description": "Optional status filter: the consultation-status IRI or its last segment."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the legislative drafts (Entwürfe, eli/proj) an act came from, with the Curia Vista number: use as the entry to consultations and materials. norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | Fedlex ELI of the consolidation abstract. |
{
"name": "fedlex.get_drafts",
"description": "List the legislative drafts (Entwürfe, eli/proj) an act came from, with the Curia Vista number: use as the entry to consultations and materials. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli"
],
"properties": {
"eli": {
"type": "string",
"description": "Fedlex ELI of the consolidation abstract."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the Federal Gazette (BBl) documents of an act's genesis — Botschaft, reports — with genre and date: use for materials, never for law in force. norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | Fedlex ELI of the consolidation abstract. |
{
"name": "fedlex.get_fga_documents",
"description": "List the Federal Gazette (BBl) documents of an act's genesis — Botschaft, reports — with genre and date: use for materials, never for law in force. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli"
],
"properties": {
"eli": {
"type": "string",
"description": "Fedlex ELI of the consolidation abstract."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Read the JOLux profile of an act (titles de/fr/it, status, dates, identifier) for an ELI: use to confirm a search hit before you cite. norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | |
| as_of | ["string","null"] | Optional ISO date; absent = today, echoed back resolved. |
{
"name": "fedlex.get_law_metadata",
"description": "Read the JOLux profile of an act (titles de/fr/it, status, dates, identifier) for an ELI: use to confirm a search hit before you cite. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli"
],
"properties": {
"eli": {
"type": "string"
},
"as_of": {
"type": [
"string",
"null"
],
"description": "Optional ISO date; absent = today, echoed back resolved."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the AS/BBl issue (memorial) an oc publication appeared in and the acts of that issue: use after get_oc_act to locate the volume. norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | The AS publication ELI (https://fedlex.data.admin.ch/eli/oc/…), from get_oc_act. |
| limit | ["integer","null"] | Max acts of the issue (default 20, at most 50). |
{
"name": "fedlex.get_memorial",
"description": "List the AS/BBl issue (memorial) an oc publication appeared in and the acts of that issue: use after get_oc_act to locate the volume. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli"
],
"properties": {
"eli": {
"type": "string",
"description": "The AS publication ELI (https://fedlex.data.admin.ch/eli/oc/…), from get_oc_act."
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Max acts of the issue (default 20, at most 50)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the amendment notes («Fassung gemäss …», AS refs) per element of a consolidation: use for «wann und wodurch wurde Art. X geändert?». norm.
| Parameter | Type | Description |
|---|---|---|
| eid | ["string","null"] | Optional scope: only notes anchored at this eId or below. |
| lang | ["string","null"] | Manifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read. |
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>`. |
{
"name": "fedlex.get_modifications",
"description": "List the amendment notes («Fassung gemäss …», AS refs) per element of a consolidation: use for «wann und wodurch wurde Art. X geändert?». norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version"
],
"properties": {
"eid": {
"type": [
"string",
"null"
],
"description": "Optional scope: only notes anchored at this eId or below."
},
"lang": {
"type": [
"string",
"null"
],
"description": "Manifestation language (de|fr|it|en|rm); default de. Which\nlanguages a version carries as XML is the graph's answer —\nfedlex.list_expressions shows it before a read."
},
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Resolve an act's binding AS/RO publication (oc ELI, date, genre, office, memorial) from its consolidation ELI: use to cite the Amtliche Sammlung. norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | Fedlex ELI of the consolidation abstract. |
{
"name": "fedlex.get_oc_act",
"description": "Resolve an act's binding AS/RO publication (oc ELI, date, genre, office, memorial) from its consolidation ELI: use to cite the Amtliche Sammlung. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli"
],
"properties": {
"eli": {
"type": "string",
"description": "Fedlex ELI of the consolidation abstract."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the references (Verweise) an act's text makes, with ELI where linked, optionally within one eId: use to follow cross-references. hint.
| Parameter | Type | Description |
|---|---|---|
| eid | ["string","null"] | Optional scope: only references made from this eId or below. |
| lang | ["string","null"] | Manifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read. |
| limit | ["integer","null"] | Page size (default 200, at most 1000). |
| offset | ["integer","null"] | Continuation: the `next_offset` of the previous answer. |
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>`. |
{
"name": "fedlex.get_references",
"description": "List the references (Verweise) an act's text makes, with ELI where linked, optionally within one eId: use to follow cross-references. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version"
],
"properties": {
"eid": {
"type": [
"string",
"null"
],
"description": "Optional scope: only references made from this eId or below."
},
"lang": {
"type": [
"string",
"null"
],
"description": "Manifestation language (de|fr|it|en|rm); default de. Which\nlanguages a version carries as XML is the graph's answer —\nfedlex.list_expressions shows it before a read."
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Page size (default 200, at most 1000)."
},
"offset": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Continuation: the `next_offset` of the previous answer."
},
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Outline one consolidation (sections, articles with eId, num and heading): use when you know the act but not the article number. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | Manifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read. |
| depth | ["string","null"] | «article» (default: the skeleton down to articles) or «full» (the whole tree down to paragraphs and items). |
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>`. |
{
"name": "fedlex.get_structure",
"description": "Outline one consolidation (sections, articles with eId, num and heading): use when you know the act but not the article number. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version"
],
"properties": {
"lang": {
"type": [
"string",
"null"
],
"description": "Manifestation language (de|fr|it|en|rm); default de. Which\nlanguages a version carries as XML is the graph's answer —\nfedlex.list_expressions shows it before a read."
},
"depth": {
"type": [
"string",
"null"
],
"description": "«article» (default: the skeleton down to articles) or «full»\n(the whole tree down to paragraphs and items)."
},
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the subdivisions JOLux knows for an act (amended elements only, a gap catalogue): use to see which Artikel carry amendments; outline: get_structure. norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | Fedlex ELI of the consolidation abstract. |
{
"name": "fedlex.get_subdivisions",
"description": "List the subdivisions JOLux knows for an act (amended elements only, a gap catalogue): use to see which Artikel carry amendments; outline: get_structure. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli"
],
"properties": {
"eli": {
"type": "string",
"description": "Fedlex ELI of the consolidation abstract."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Classify an act in the systematic collection (SR branch chain, notation, labels de/fr/it): use for «zu welchem Rechtsgebiet gehört X?». norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | Fedlex ELI of the consolidation abstract. |
{
"name": "fedlex.get_taxonomy",
"description": "Classify an act in the systematic collection (SR branch chain, notation, labels de/fr/it): use for «zu welchem Rechtsgebiet gehört X?». norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli"
],
"properties": {
"eli": {
"type": "string",
"description": "Fedlex ELI of the consolidation abstract."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Read a treaty process profile (title, signature, bilateral, partner countries, approving decree) for an eli/treaty IRI: use after find_treaties. norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | The treaty process IRI (https://fedlex.data.admin.ch/eli/treaty/…), from find_treaties. |
| lang | ["string","null"] | Preferred title language (de|fr|it|en|rm); default de. |
{
"name": "fedlex.get_treaty_info",
"description": "Read a treaty process profile (title, signature, bilateral, partner countries, approving decree) for an eli/treaty IRI: use after find_treaties. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli"
],
"properties": {
"eli": {
"type": "string",
"description": "The treaty process IRI (https://fedlex.data.admin.ch/eli/treaty/…), from find_treaties."
},
"lang": {
"type": [
"string",
"null"
],
"description": "Preferred title language (de|fr|it|en|rm); default de."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the annexes (Anhänge) of a consolidation with titles and path eIds (annex_u1/…): use before reading an Anhang with read_article. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | Manifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read. |
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>`. |
{
"name": "fedlex.list_annexes",
"description": "List the annexes (Anhänge) of a consolidation with titles and path eIds (annex_u1/…): use before reading an Anhang with read_article. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version"
],
"properties": {
"lang": {
"type": [
"string",
"null"
],
"description": "Manifestation language (de|fr|it|en|rm); default de. Which\nlanguages a version carries as XML is the graph's answer —\nfedlex.list_expressions shows it before a read."
},
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the language versions and manifestations (XML, PDF) of one consolidation: use before reading to see whether a Fassung is PDF-only. norm.
| Parameter | Type | Description |
|---|---|---|
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>`. |
{
"name": "fedlex.list_expressions",
"description": "List the language versions and manifestations (XML, PDF) of one consolidation: use before reading to see whether a Fassung is PDF-only. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version"
],
"properties": {
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List every dated consolidation (Fassung) of an act, future ones included: use to pick the eli_version the reading tools need. norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | Fedlex ELI of the consolidation abstract. |
{
"name": "fedlex.list_versions",
"description": "List every dated consolidation (Fassung) of an act, future ones included: use to pick the eli_version the reading tools need. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli"
],
"properties": {
"eli": {
"type": "string",
"description": "Fedlex ELI of the consolidation abstract."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Parse a citation («Art. 7 Abs. 1 lit. b LSV») into act, article eId and path proposal: use to turn a quoted Fundstelle into what read_article can open. hint.
| Parameter | Type | Description |
|---|---|---|
| text * | string | A citation in plain text, e.g. «Art. 7 Abs. 1 lit. b LSV», «Anhang 3 Ziff. 2 LSV», «Art. 8 EMRK i.V.m. Art. 36 BV», «SR 832.10». |
{
"name": "fedlex.parse_reference",
"description": "Parse a citation («Art. 7 Abs. 1 lit. b LSV») into act, article eId and path proposal: use to turn a quoted Fundstelle into what read_article can open. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "A citation in plain text, e.g. «Art. 7 Abs. 1 lit. b LSV», «Anhang 3\nZiff. 2 LSV», «Art. 8 EMRK i.V.m. Art. 36 BV», «SR 832.10»."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Read one element (Artikel, Absatz, Anhang) of a dated consolidation by eId, e.g. art_6 or annex_u1/lvl_u1: use to quote a norm. norm.
| Parameter | Type | Description |
|---|---|---|
| eid * | string | Akoma-Ntoso eId, e.g. «art_10a», or a path eId such as «art_2/para_1» or «annex_u1/lvl_u1». |
| lang | ["string","null"] | Manifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read. |
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>`. |
{
"name": "fedlex.read_article",
"description": "Read one element (Artikel, Absatz, Anhang) of a dated consolidation by eId, e.g. art_6 or annex_u1/lvl_u1: use to quote a norm. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version",
"eid"
],
"properties": {
"eid": {
"type": "string",
"description": "Akoma-Ntoso eId, e.g. «art_10a», or a path eId such as\n«art_2/para_1» or «annex_u1/lvl_u1»."
},
"lang": {
"type": [
"string",
"null"
],
"description": "Manifestation language (de|fr|it|en|rm); default de. Which\nlanguages a version carries as XML is the graph's answer —\nfedlex.list_expressions shows it before a read."
},
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Read a whole small act or Verordnung as capped Markdown (truncated flag, continuation offset): use for short acts; quote via read_article. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | Manifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read. |
| offset | ["integer","null"] | Continuation: the `next_offset` of the previous answer. |
| max_chars | ["integer","null"] | Character budget (default 120 000, at most 400 000). |
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>`. |
{
"name": "fedlex.read_document",
"description": "Read a whole small act or Verordnung as capped Markdown (truncated flag, continuation offset): use for short acts; quote via read_article. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version"
],
"properties": {
"lang": {
"type": [
"string",
"null"
],
"description": "Manifestation language (de|fr|it|en|rm); default de. Which\nlanguages a version carries as XML is the graph's answer —\nfedlex.list_expressions shows it before a read."
},
"offset": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Continuation: the `next_offset` of the previous answer."
},
"max_chars": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Character budget (default 120 000, at most 400 000)."
},
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Resolve which consolidation (Fassung) of an act governed on an ISO date: use before reading text for a past or future Stichtag. norm.
| Parameter | Type | Description |
|---|---|---|
| eli * | string | |
| as_of * | string | ISO date YYYY-MM-DD. |
{
"name": "fedlex.resolve_consolidation_at",
"description": "Resolve which consolidation (Fassung) of an act governed on an ISO date: use before reading text for a past or future Stichtag. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli",
"as_of"
],
"properties": {
"eli": {
"type": "string"
},
"as_of": {
"type": "string",
"description": "ISO date YYYY-MM-DD."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Resolve an SR number (e.g. 832.10) to the act's ELI, titles and in-force status: use when a question names an SR; predecessors stay visible. norm.
| Parameter | Type | Description |
|---|---|---|
| sr * | string | Systematic (SR) number, e.g. «832.10». |
{
"name": "fedlex.resolve_sr",
"description": "Resolve an SR number (e.g. 832.10) to the act's ELI, titles and in-force status: use when a question names an SR; predecessors stay visible. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"sr"
],
"properties": {
"sr": {
"type": "string",
"description": "Systematic (SR) number, e.g. «832.10»."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Look up a Fedlex vocabulary term (enforcement-status, language, …) by label or IRI: use to decode a coded value from another answer. hint.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | Label language (de|fr|it|en|rm); default de. |
| query * | string | A label fragment (case-insensitive, any language) or a vocabulary IRI to decode. |
| vocabulary * | string | Scheme id: «enforcement-status», «subdivision-type», «legal-taxonomy», «impact-type», «resource-type», «language», … |
{
"name": "fedlex.resolve_vocabulary_label",
"description": "Look up a Fedlex vocabulary term (enforcement-status, language, …) by label or IRI: use to decode a coded value from another answer. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"vocabulary",
"query"
],
"properties": {
"lang": {
"type": [
"string",
"null"
],
"description": "Label language (de|fr|it|en|rm); default de."
},
"query": {
"type": "string",
"description": "A label fragment (case-insensitive, any language) or a\nvocabulary IRI to decode."
},
"vocabulary": {
"type": "string",
"description": "Scheme id: «enforcement-status», «subdivision-type»,\n«legal-taxonomy», «impact-type», «resource-type», «language», …"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Search acts by title keyword or official abbreviation (KVG, StPO, OR): use when you know the name but not the SR or ELI; in-force acts rank first. hint.
| Parameter | Type | Description |
|---|---|---|
| limit | ["integer","null"] | |
| query * | string |
{
"name": "fedlex.search_law",
"description": "Search acts by title keyword or official abbreviation (KVG, StPO, OR): use when you know the name but not the SR or ELI; in-force acts rank first. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"query": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Find where a word occurs inside ONE consolidation (hits with eId and Artikel): use before read_article when the article is unknown. hint.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | Manifestation language (de|fr|it|en|rm); default de. Which languages a version carries as XML is the graph's answer — fedlex.list_expressions shows it before a read. |
| limit | ["integer","null"] | Max hits (default 20, at most 100); `total` counts beyond it. |
| query * | string | Word or phrase; case-insensitive substring. |
| eli_version * | string | Dated consolidation: `<abstract-eli>/<YYYYMMDD>`. |
{
"name": "fedlex.search_text",
"description": "Find where a word occurs inside ONE consolidation (hits with eId and Artikel): use before read_article when the article is unknown. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"eli_version",
"query"
],
"properties": {
"lang": {
"type": [
"string",
"null"
],
"description": "Manifestation language (de|fr|it|en|rm); default de. Which\nlanguages a version carries as XML is the graph's answer —\nfedlex.list_expressions shows it before a read."
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Max hits (default 20, at most 100); `total` counts beyond it."
},
"query": {
"type": "string",
"description": "Word or phrase; case-insensitive substring."
},
"eli_version": {
"type": "string",
"description": "Dated consolidation: `<abstract-eli>/<YYYYMMDD>`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Check whether the I14Y catalogue answers, register by register, so «no data» and «source down» stay apart: use before retrying a failed call. norm.
No parameters.
{
"name": "i14y.api_status",
"description": "Check whether the I14Y catalogue answers, register by register, so «no data» and «source down» stay apart: use before retrying a failed call. norm.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true
}
}Show one concept's record — type, value type, version, validity (Konzept, Codeliste): use before reading a code list's entries. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | |
| concept_id * | string | The concept's `id` from `i14y.list_concepts`. |
{
"name": "i14y.get_concept",
"description": "Show one concept's record — type, value type, version, validity (Konzept, Codeliste): use before reading a code list's entries. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"concept_id"
],
"properties": {
"lang": {
"type": [
"string",
"null"
]
},
"concept_id": {
"type": "string",
"description": "The concept's `id` from `i14y.list_concepts`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Show one registered interface's record — endpoints, OpenAPI links, licence, served datasets (API, Endpunkt): use to reach the service. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | |
| data_service_id * | string | The service's `id` from `i14y.list_data_services`. |
{
"name": "i14y.get_data_service",
"description": "Show one registered interface's record — endpoints, OpenAPI links, licence, served datasets (API, Endpunkt): use to reach the service. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data_service_id"
],
"properties": {
"lang": {
"type": [
"string",
"null"
]
},
"data_service_id": {
"type": "string",
"description": "The service's `id` from `i14y.list_data_services`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Show one dataset's full record — contact, coverage, every distribution with its licence and download address (Lizenz, Download): use before reuse. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | |
| dataset_id * | string | The record's `id` as a hit or a list row carries it — a GUID, never the publisher's `identifier`. |
{
"name": "i14y.get_dataset",
"description": "Show one dataset's full record — contact, coverage, every distribution with its licence and download address (Lizenz, Download): use before reuse. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"lang": {
"type": [
"string",
"null"
]
},
"dataset_id": {
"type": "string",
"description": "The record's `id` as a hit or a list row carries it — a GUID,\nnever the publisher's `identifier`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List a dataset's distributions — format, licence, download and access address (Datei, Lizenz, Format): use for «where do I get the data». norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | |
| dataset_id * | string | The record's `id` as a hit or a list row carries it — a GUID, never the publisher's `identifier`. |
{
"name": "i14y.get_dataset_distributions",
"description": "List a dataset's distributions — format, licence, download and access address (Datei, Lizenz, Format): use for «where do I get the data». norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"dataset_id"
],
"properties": {
"lang": {
"type": [
"string",
"null"
]
},
"dataset_id": {
"type": "string",
"description": "The record's `id` as a hit or a list row carries it — a GUID,\nnever the publisher's `identifier`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the catalogues that feed I14Y, each one body's collection (Katalog, opendata.swiss, Bundesamt): use to see who contributes. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | |
| page | ["integer","null"] | |
| limit | ["integer","null"] | Catalogues per page, 1–100, default 50. |
{
"name": "i14y.list_catalogs",
"description": "List the catalogues that feed I14Y, each one body's collection (Katalog, opendata.swiss, Bundesamt): use to see who contributes. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"lang": {
"type": [
"string",
"null"
]
},
"page": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Catalogues per page, 1–100, default 50."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the harmonised concepts and code lists of the administration (Konzept, Codeliste, Nomenklatur, Merkmal): use to find a code list by publisher. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | |
| page | ["integer","null"] | |
| limit | ["integer","null"] | |
| publisher | ["string","null"] | |
| registration_status | ["string","null"] |
{
"name": "i14y.list_concepts",
"description": "List the harmonised concepts and code lists of the administration (Konzept, Codeliste, Nomenklatur, Merkmal): use to find a code list by publisher. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"lang": {
"type": [
"string",
"null"
]
},
"page": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"publisher": {
"type": [
"string",
"null"
]
},
"registration_status": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the registered machine interfaces of Swiss public bodies with their endpoints (API, Schnittstelle, Datendienst): use before building a scraper. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | |
| page | ["integer","null"] | |
| limit | ["integer","null"] | |
| publisher | ["string","null"] | |
| access_rights | ["string","null"] | |
| registration_status | ["string","null"] |
{
"name": "i14y.list_data_services",
"description": "List the registered machine interfaces of Swiss public bodies with their endpoints (API, Schnittstelle, Datendienst): use before building a scraper. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"lang": {
"type": [
"string",
"null"
]
},
"page": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"publisher": {
"type": [
"string",
"null"
]
},
"access_rights": {
"type": [
"string",
"null"
]
},
"registration_status": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the registered datasets, paged, with publisher, themes and access right (Datensätze, Metadaten, Open Data): use for a census or a publisher's list. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | Label language (de|fr|it|en|rm); default de. |
| page | ["integer","null"] | 1-based page, default 1. |
| limit | ["integer","null"] | Records per page, 1–100, default 25. |
| publisher | ["string","null"] | Publisher code («CH_BAZG»), from `i14y.list_publishers`. |
| access_rights | ["string","null"] | PUBLIC | RESTRICTED | NON_PUBLIC | CONFIDENTIAL. A listing is metadata, never a grant of access. |
| registration_status | ["string","null"] | One of the eight: Incomplete, Candidate, Recorded, Qualified, Standard, PreferredStandard, Superseded, Retired. |
{
"name": "i14y.list_datasets",
"description": "List the registered datasets, paged, with publisher, themes and access right (Datensätze, Metadaten, Open Data): use for a census or a publisher's list. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"lang": {
"type": [
"string",
"null"
],
"description": "Label language (de|fr|it|en|rm); default de."
},
"page": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "1-based page, default 1."
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Records per page, 1–100, default 25."
},
"publisher": {
"type": [
"string",
"null"
],
"description": "Publisher code («CH_BAZG»), from `i14y.list_publishers`."
},
"access_rights": {
"type": [
"string",
"null"
],
"description": "PUBLIC | RESTRICTED | NON_PUBLIC | CONFIDENTIAL. A listing is\nmetadata, never a grant of access."
},
"registration_status": {
"type": [
"string",
"null"
],
"description": "One of the eight: Incomplete, Candidate, Recorded, Qualified,\nStandard, PreferredStandard, Superseded, Retired."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the registered public services with their channels (Behördenleistung, Dienstleistung, Verwaltung): use for what an authority offers citizens. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | |
| page | ["integer","null"] | |
| limit | ["integer","null"] | |
| publisher | ["string","null"] | |
| registration_status | ["string","null"] |
{
"name": "i14y.list_public_services",
"description": "List the registered public services with their channels (Behördenleistung, Dienstleistung, Verwaltung): use for what an authority offers citizens. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"lang": {
"type": [
"string",
"null"
]
},
"page": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"publisher": {
"type": [
"string",
"null"
]
},
"registration_status": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the bodies that publish into I14Y with identifier and Swiss UID (Herausgeber, Bundesamt, Kanton, UID): use to find a publisher's code for a filter. norm.
| Parameter | Type | Description |
|---|---|---|
| uid | ["string","null"] | Exact Swiss UID as the register writes it («CHE116244755»). |
| lang | ["string","null"] | |
| page | ["integer","null"] | |
| limit | ["integer","null"] | Publishers per page, 1–100, default 50. |
| identifier | ["string","null"] | Exact publisher code («CH_BAZG»). |
{
"name": "i14y.list_publishers",
"description": "List the bodies that publish into I14Y with identifier and Swiss UID (Herausgeber, Bundesamt, Kanton, UID): use to find a publisher's code for a filter. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"uid": {
"type": [
"string",
"null"
],
"description": "Exact Swiss UID as the register writes it («CHE116244755»)."
},
"lang": {
"type": [
"string",
"null"
]
},
"page": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Publishers per page, 1–100, default 50."
},
"identifier": {
"type": [
"string",
"null"
],
"description": "Exact publisher code («CH_BAZG»)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Search the national data catalogue I14Y by words (Datensatz, Schnittstelle, API, Behördenleistung, Codeliste): use first, to find who publishes what. hint.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | The language searched AND served (de|fr|it|en|rm); default de. |
| page | ["integer","null"] | 1-based page, default 1. |
| limit | ["integer","null"] | Hits per page, 1–100, default 25. |
| query * | string | Free text, e.g. «Sonderpädagogik», «Zoll», «API»; empty lists the whole index one page at a time. Matched in `lang`. |
| types | ["array","null"] | Restrict to resource types: Dataset | DataService | PublicService | Concept | MappingTable. Each of them answers. |
| themes | ["array","null"] | Theme CODES as a hit carries them under `themes[].code` («103» is Bildung) — never a word. |
| publishers | ["array","null"] | Publisher CODES — the `identifier` `i14y.list_publishers` serves («CH1» is the Federal Statistical Office) — never a name. |
{
"name": "i14y.search_catalog",
"description": "Search the national data catalogue I14Y by words (Datensatz, Schnittstelle, API, Behördenleistung, Codeliste): use first, to find who publishes what. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"lang": {
"type": [
"string",
"null"
],
"description": "The language searched AND served (de|fr|it|en|rm); default de."
},
"page": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "1-based page, default 1."
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Hits per page, 1–100, default 25."
},
"query": {
"type": "string",
"description": "Free text, e.g. «Sonderpädagogik», «Zoll», «API»; empty lists\nthe whole index one page at a time. Matched in `lang`."
},
"types": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "Restrict to resource types: Dataset | DataService |\nPublicService | Concept | MappingTable. Each of them answers."
},
"themes": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "Theme CODES as a hit carries them under `themes[].code`\n(«103» is Bildung) — never a word."
},
"publishers": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "Publisher CODES — the `identifier` `i14y.list_publishers`\nserves («CH1» is the Federal Statistical Office) — never a name."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the codes of one code-list concept, paged, with names and validity (Code, Codeliste, Kanton, Geschlecht, Nomenklatur): use to resolve official codes. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | The language matched and served (de|fr|it|en|rm); default de. |
| page | ["integer","null"] | |
| limit | ["integer","null"] | Entries per page, 1–200, default 50. |
| query | ["string","null"] | A word of an entry's name, `*` for any characters; absent = every entry. Matched in `lang` only. |
| concept_id * | string | The `id` of a concept whose `concept_type` is CodeList. |
{
"name": "i14y.search_codelist_entries",
"description": "List the codes of one code-list concept, paged, with names and validity (Code, Codeliste, Kanton, Geschlecht, Nomenklatur): use to resolve official codes. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"concept_id"
],
"properties": {
"lang": {
"type": [
"string",
"null"
],
"description": "The language matched and served (de|fr|it|en|rm); default de."
},
"page": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0,
"description": "Entries per page, 1–200, default 50."
},
"query": {
"type": [
"string",
"null"
],
"description": "A word of an entry's name, `*` for any characters; absent =\nevery entry. Matched in `lang` only."
},
"concept_id": {
"type": "string",
"description": "The `id` of a concept whose `concept_type` is CodeList."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Show everything the holding says about one IRI (a cube, an observation, a Kanton): use to follow an address you were handed. norm.
| Parameter | Type | Description |
|---|---|---|
| iri * | string | Any IRI — the store is asked about it; no host is fetched. |
| lang | ["string","null"] | |
| limit | ["integer","null"] | |
| offset | ["integer","null"] |
{
"name": "lindas.describe",
"description": "Show everything the holding says about one IRI (a cube, an observation, a Kanton): use to follow an address you were handed. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"iri"
],
"properties": {
"iri": {
"type": "string",
"description": "Any IRI — the store is asked about it; no host is fetched."
},
"lang": {
"type": [
"string",
"null"
]
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"offset": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Show a cube's declared dimensions and profile — the record may carry more: use to learn the filters a question needs. hint.
| Parameter | Type | Description |
|---|---|---|
| cube * | string | A cube IRI of the served scope, e.g. `https://politics.ld.admin.ch/political-rights/popular-vote/1`. |
| lang | ["string","null"] | |
| limit | ["integer","null"] | |
| offset | ["integer","null"] |
{
"name": "lindas.describe_cube",
"description": "Show a cube's declared dimensions and profile — the record may carry more: use to learn the filters a question needs. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cube"
],
"properties": {
"cube": {
"type": "string",
"description": "A cube IRI of the served scope, e.g.\n`https://politics.ld.admin.ch/political-rights/popular-vote/1`."
},
"lang": {
"type": [
"string",
"null"
]
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"offset": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the values one dimension takes (Kantone, Abstimmungstypen, Geschäftsstände): use to filter by IRI instead of by text. hint.
| Parameter | Type | Description |
|---|---|---|
| cube * | string | |
| lang | ["string","null"] | |
| limit | ["integer","null"] | |
| dimension * | string | The dimension IRI as `lindas.describe_cube` served it — never built by appending to the cube IRI. |
{
"name": "lindas.dimension_values",
"description": "List the values one dimension takes (Kantone, Abstimmungstypen, Geschäftsstände): use to filter by IRI instead of by text. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cube",
"dimension"
],
"properties": {
"cube": {
"type": "string"
},
"lang": {
"type": [
"string",
"null"
]
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"dimension": {
"type": "string",
"description": "The dimension IRI as `lindas.describe_cube` served it — never\nbuilt by appending to the cube IRI."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Find the cube behind a question by a word of its name («Volksinitiative», «Petition», «Parteienregister»): use before reading rows. hint.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | |
| limit | ["integer","null"] | |
| query * | string | A word of the cube's name, 2–100 characters («Abstimmung», «Interessenbindung»). |
{
"name": "lindas.find_cube",
"description": "Find the cube behind a question by a word of its name («Volksinitiative», «Petition», «Parteienregister»): use before reading rows. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"lang": {
"type": [
"string",
"null"
]
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"query": {
"type": "string",
"description": "A word of the cube's name, 2–100 characters\n(«Abstimmung», «Interessenbindung»)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the 44 political data cubes of the Confederation (Abstimmungen, Wahlen, Bundesrat, Interessenbindungen): use to see what data exists. norm.
| Parameter | Type | Description |
|---|---|---|
| lang | ["string","null"] | Label language (de|fr|it|en|rm); default de. The answer names the language it served, and «und» where a name carries no tag. |
| limit | ["integer","null"] | |
| family | ["string","null"] | One of `fc`, `fch/apg`, `national-council-election`, `political-rights`; absent = all 44. |
| offset | ["integer","null"] |
{
"name": "lindas.list_cubes",
"description": "List the 44 political data cubes of the Confederation (Abstimmungen, Wahlen, Bundesrat, Interessenbindungen): use to see what data exists. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"lang": {
"type": [
"string",
"null"
],
"description": "Label language (de|fr|it|en|rm); default de. The answer names\nthe language it served, and «und» where a name carries no tag."
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"family": {
"type": [
"string",
"null"
],
"description": "One of `fc`, `fch/apg`, `national-council-election`,\n`political-rights`; absent = all 44."
},
"offset": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}List the versions of a cube family (Nationalratswahl 2019/2023/2027): use before reading a year; nothing links old to new. norm.
| Parameter | Type | Description |
|---|---|---|
| cube * | string | Any version of the family, e.g. `…/national-council-election/candidates/2019`. |
{
"name": "lindas.list_versions",
"description": "List the versions of a cube family (Nationalratswahl 2019/2023/2027): use before reading a year; nothing links old to new. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cube"
],
"properties": {
"cube": {
"type": "string",
"description": "Any version of the family, e.g.\n`…/national-council-election/candidates/2019`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Read a cube's rows with filters (Abstimmung, Referendum, Volksinitiative, Ständemehr, Kanton, Datum): use for the figures themselves. norm.
| Parameter | Type | Description |
|---|---|---|
| cube * | string | |
| lang | ["string","null"] | |
| limit | ["integer","null"] | |
| offset | ["integer","null"] | |
| filters | ["array","null"] | Filters, one per entry: the object `{dimension, value}` — `{"dimension": "https://politics.ld.admin.ch/political-rights/popular-vote/date", "value": "1971-02-07"}` — or, equally accepted, the string `dimension=value`. The dimension is the full IRI `lindas.describe_cube` served, the value an IRI or a… |
| dimensions | ["array","null"] | The dimension IRIs to project — the cells a row comes back with. Absent = every cell the row carries, which is up to 51 in the vote cube; naming the three or four a question needs is one call instead of paging the same table at a smaller limit. |
{
"name": "lindas.observations",
"description": "Read a cube's rows with filters (Abstimmung, Referendum, Volksinitiative, Ständemehr, Kanton, Datum): use for the figures themselves. norm.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"cube"
],
"properties": {
"cube": {
"type": "string"
},
"lang": {
"type": [
"string",
"null"
]
},
"limit": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"offset": {
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0
},
"filters": {
"type": [
"array",
"null"
],
"items": {
"anyOf": [
{
"type": "object",
"required": [
"dimension",
"value"
],
"properties": {
"value": {
"type": "string",
"description": "An IRI (matched exactly) or a plain literal."
},
"dimension": {
"type": "string",
"description": "The dimension IRI as `lindas.describe_cube` served it."
}
},
"description": "`{dimension, value}` — the canonical form.",
"additionalProperties": false
},
{
"type": "string",
"description": "`dimension=value` — the FIRST `=` separates them."
}
],
"description": "One filter: the object `{dimension, value}`, or the string\n`dimension=value`."
},
"description": "Filters, one per entry: the object `{dimension, value}` —\n`{\"dimension\": \"https://politics.ld.admin.ch/political-rights/popular-vote/date\",\n\"value\": \"1971-02-07\"}` — or, equally accepted, the string\n`dimension=value`. The dimension is the full IRI\n`lindas.describe_cube` served, the value an IRI or a plain\nliteral. A dimension the shape does not declare is admitted\nwhen the cube's observations carry it, and the answer says so."
},
"dimensions": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "The dimension IRIs to project — the cells a row comes back\nwith. Absent = every cell the row carries, which is up to 51 in\nthe vote cube; naming the three or four a question needs is one\ncall instead of paging the same table at a smaller limit."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}Resolve an IRI to its label in one language with a fallback (Kanton, Partei, Gremium, Interessenbindung): use to name a value. hint.
| Parameter | Type | Description |
|---|---|---|
| iri * | string | Any IRI, of any host (canton, country, legal form, gender). |
| lang | ["string","null"] |
{
"name": "lindas.resolve_label",
"description": "Resolve an IRI to its label in one language with a fallback (Kanton, Partei, Gremium, Interessenbindung): use to name a value. hint.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"iri"
],
"properties": {
"iri": {
"type": "string",
"description": "Any IRI, of any host (canton, country, legal form, gender)."
},
"lang": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true
}
}One entry's manifest by slug. A slug the directory does not hold is a not-found error carrying the E21 admission rule.
| Parameter | Type | Description |
|---|---|---|
| slug * | string | Entry slug (filename = @id slug, oh-validate-enforced). |
{
"name": "manifest.get",
"description": "One entry's manifest by slug. A slug the directory does not hold is a not-found error carrying the E21 admission rule.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "Entry slug (filename = @id slug, oh-validate-enforced)."
}
}
},
"annotations": {
"readOnlyHint": true
}
}The platform capability register with published per-client coverage — tool names on this server ARE the capability ids.
No parameters.
{
"name": "meta.capabilities",
"description": "The platform capability register with published per-client coverage — tool names on this server ARE the capability ids.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true
}
}Stage two of two-stage discovery: the full input schemas of the named tools, byte-identical to what tools/list carries, because both are read from the same router. An unknown id is refused by name rather than silently dropped.
| Parameter | Type | Description |
|---|---|---|
| names * | array | The capability ids whose input schemas are wanted, as stage one listed them. |
{
"name": "meta.schemas",
"description": "Stage two of two-stage discovery: the full input schemas of the named tools, byte-identical to what tools/list carries, because both are read from the same router. An unknown id is refused by name rather than silently dropped.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"names"
],
"properties": {
"names": {
"type": "array",
"items": {
"type": "string"
},
"description": "The capability ids whose input schemas are wanted, as stage one\nlisted them."
}
}
},
"annotations": {
"readOnlyHint": true
}
}Stage one of two-stage discovery: every mounted tool with its capability id, domain, one-line summary and budget weight — and NO input schemas. Ask this first to learn what exists, then pull the schemas of the few tools you intend to call (meta.schemas). Context economy as a capability, not a client convention (E16 Ziff. 1).
No parameters.
{
"name": "meta.tools",
"description": "Stage one of two-stage discovery: every mounted tool with its capability id, domain, one-line summary and budget weight — and NO input schemas. Ask this first to learn what exists, then pull the schemas of the few tools you intend to call (meta.schemas). Context economy as a capability, not a client convention (E16 Ziff. 1).",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true
}
}The publishing path — the only way into the directory: the three E21/E13 routes plus the honest interim state.
No parameters.
{
"name": "publish.info",
"description": "The publishing path — the only way into the directory: the three E21/E13 routes plus the honest interim state.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true
}
}The manifest standard's sealed artifact register: path, canonical IRI, draft/published status and SHA-256 per contract file.
No parameters.
{
"name": "standard.artifacts",
"description": "The manifest standard's sealed artifact register: path, canonical IRI, draft/published status and SHA-256 per contract file.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true
}
}The OpenHelvetia platform gateway: registry domain toolset bound to the API spine. Read-only — a data source enters the directory on one of three admission routes (E21), never through this server.
Names, descriptions and schemas were written by the server and are shown as data.