Categories › AI & Agents › Agent memory & context
Swiss federal law (Fedlex) and political data (LINDAS) for agents, every answer with sources
Remote server: your requests and data go to mcp.openhelvetia.swiss. Claude Code: claude mcp add --transport http openhelvetia-gateway https://mcp.openhelvetia.swiss/mcp · Claude app: Settings → Connectors → Add custom connector.
The tools this server listed when we connected to it, in its own words.
directory.get — The directory envelope (v0.2, authority: manifest). Real entries only — a data source enters on one of three admission routes (E21); an emptfacts.badge — shields.io endpoint JSON for one subject, derived from the fact table — «no facts» in grey when nothing is recorded, never rounded up.facts.latest — Latest effective facts per subject+metric from the versioned fact table — the bitemporal as_of cutoff is exposed; an absent store is the honfedlex.check_in_force — 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.fedlex.check_quote — 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.fedlex.cite — 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 Belegketfedlex.compare_versions — Compare an element or every article between two Fassungen of an act — added, removed, changed paragraphs with wording: use for «was hat sichfedlex.detect_foreign_content — Detect what the text tools hide in a Fassung: sections in another language (xml:lang) and <foreign> islands (formulas, graphics): use beforefedlex.explore_node — Explore a JOLux node's edges (predicates and neighbours, both directions, capped): use to debug what the graph holds about an IRI; never as fedlex.extract_tables — 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 prfedlex.find_related_topic — Find acts in the same field of law via the legal taxonomy, by ELI or SR: use to discover neighbouring Erlasse; candidates only. hint.fedlex.find_treaties — Find treaty processes (Staatsverträge) by a title word, partner country IRI or bilaterality: use to locate a treaty before get_treaty_info. fedlex.get_article_history — Trace which amendments and consolidations changed one Artikel (eId) of an act, with dates: use for «seit wann gilt Art. X so?». norm.fedlex.get_citations — List an act's relations: cites|cited_by (formal citations, act level) or in|out (foreseen impacts, mostly consultation drafts): use to see wfedlex.get_consultation_documents — List the position statements and result reports of one consultation IRI: use after get_consultations to read the genesis record. norm.fedlex.get_consultations — 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 ffedlex.get_drafts — List the legislative drafts (Entwürfe, eli/proj) an act came from, with the Curia Vista number: use as the entry to consultations and materifedlex.get_fga_documents — List the Federal Gazette (BBl) documents of an act's genesis — Botschaft, reports — with genre and date: use for materials, never for law infedlex.get_law_metadata — 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.fedlex.get_memorial — 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.fedlex.get_modifications — List the amendment notes («Fassung gemäss …», AS refs) per element of a consolidation: use for «wann und wodurch wurde Art. X geändert?». nofedlex.get_oc_act — Resolve an act's binding AS/RO publication (oc ELI, date, genre, office, memorial) from its consolidation ELI: use to cite the Amtliche Sammfedlex.get_references — List the references (Verweise) an act's text makes, with ELI where linked, optionally within one eId: use to follow cross-references. hint.fedlex.get_structure — Outline one consolidation (sections, articles with eId, num and heading): use when you know the act but not the article number. norm.fedlex.get_subdivisions — List the subdivisions JOLux knows for an act (amended elements only, a gap catalogue): use to see which Artikel carry amendments; outline: gfedlex.get_taxonomy — Classify an act in the systematic collection (SR branch chain, notation, labels de/fr/it): use for «zu welchem Rechtsgebiet gehört X?». normfedlex.get_treaty_info — Read a treaty process profile (title, signature, bilateral, partner countries, approving decree) for an eli/treaty IRI: use after find_treatfedlex.list_annexes — List the annexes (Anhänge) of a consolidation with titles and path eIds (annex_u1/…): use before reading an Anhang with read_article. norm.fedlex.list_expressions — List the language versions and manifestations (XML, PDF) of one consolidation: use before reading to see whether a Fassung is PDF-only. normfedlex.list_versions — List every dated consolidation (Fassung) of an act, future ones included: use to pick the eli_version the reading tools need. norm.fedlex.parse_reference — 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_articlfedlex.read_article — 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.fedlex.read_document — Read a whole small act or Verordnung as capped Markdown (truncated flag, continuation offset): use for short acts; quote via read_article. nfedlex.resolve_consolidation_at — Resolve which consolidation (Fassung) of an act governed on an ISO date: use before reading text for a past or future Stichtag. norm.fedlex.resolve_sr — 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.fedlex.resolve_vocabulary_label — Look up a Fedlex vocabulary term (enforcement-status, language, …) by label or IRI: use to decode a coded value from another answer. hint.fedlex.search_law — 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 fedlex.search_text — Find where a word occurs inside ONE consolidation (hits with eId and Artikel): use before read_article when the article is unknown. hint.i14y.api_status — Check whether the I14Y catalogue answers, register by register, so «no data» and «source down» stay apart: use before retrying a failed calli14y.get_concept — Show one concept's record — type, value type, version, validity (Konzept, Codeliste): use before reading a code list's entries. norm.Not tested by KitScout yet. When our harness runs it, pros, cons and the tasks we tried appear here, with the date and evidence.