Server definition
- Hash
- sha256:5b8fd256e1342c75934ecc08b8e570d92c2463ce70f86f7b796c3fc22facb618
- What it is
- What a remote MCP server returned when asked what it offers: 10 tools
The blob, as servednamed by its sha256
{
"instructions": "Point-in-time regulatory text (Luxembourg + EU). Unknown document -> call search first, take lex_id from the hit, then as_of. The `work` parameter accepts a work-level lex_id (publisher:workkey), a version-level lex_id (version segment ignored), or a verbatim publisher identifier when `publisher` is supplied. Legal result statuses are closed and documented in the MCP 2.0 migration note. Refusals such as no_version_for_date, text_withheld and text_not_available and retrieval_mode_unavailable are honest answers, not transport errors.",
"tools": [
{
"description": "Every distinct text ONE provision (article/annex) has had on its publisher timeline, plus lifecycle events (inserted/removed/renumbered, renumbering detected mechanically by identical text hash). Read timeline_semantics before calling an interval legal applicability. Answers \"what did Article X say over its life / when did it change\".",
"inputSchema": {
"additionalProperties": false,
"properties": {
"anchor": {
"description": "provision anchor, e.g. art_1er (find it via search or as_of mode=outline)",
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"from_date": {
"description": "optional ISO date: keep only the states in force at or after it",
"maxLength": 10,
"minLength": 1,
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"type": "string"
},
"language": {
"description": "optional language code; defaults to the work's primary derived language",
"maxLength": 16,
"minLength": 1,
"type": "string"
},
"publisher": {
"description": "publisher id; required when work is not publisher-qualified",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"to_date": {
"description": "optional ISO date: keep only the states that began on or before it",
"maxLength": 10,
"minLength": 1,
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"type": "string"
},
"work": {
"description": "Work-level lex_id (publisher:workkey), version-level lex_id (version segment ignored), or verbatim publisher identifier with publisher supplied. Unknown document -> call search first.",
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"work",
"anchor"
],
"type": "object"
},
"name": "article_history",
"outputSchema": null
},
{
"description": "The state of one document as it stood on one date. Pure lookup, no ranking. mode=outline lists provisions without text and may be narrowed with anchors; mode=select returns only the named anchors' text; mode=full (default) returns the whole text. Every provision carries its own permalink and hash.",
"inputSchema": {
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"mode": {
"const": "select"
}
},
"required": [
"mode"
]
},
"then": {
"required": [
"anchors"
]
}
}
],
"properties": {
"anchors": {
"description": "optional comma-separated provision anchors for mode=outline; required for mode=select, e.g. art_1er,art_33",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"date": {
"description": "ISO date YYYY-MM-DD",
"maxLength": 10,
"minLength": 1,
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"type": "string"
},
"language": {
"description": "optional language code, e.g. fr",
"maxLength": 16,
"minLength": 1,
"type": "string"
},
"mode": {
"description": "full | outline | select (default full)",
"enum": [
"full",
"outline",
"select"
],
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"publisher": {
"description": "publisher id; required when work is not publisher-qualified",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"version_key": {
"description": "optional opaque key returned by timeline or an ambiguous_version choice",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"work": {
"description": "Work-level lex_id (publisher:workkey), version-level lex_id (version segment ignored), or verbatim publisher identifier with publisher supplied. Unknown document -> call search first.",
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"work",
"date"
],
"type": "object"
},
"name": "as_of",
"outputSchema": null
},
{
"description": "ACROSS the corpus: which works gained new versions between two dates, how many each, and when — the aggregate counterpart of diff/timeline (which cover ONE work). Use for \"what changed between 2025 and 2026\", \"which laws changed most during the pandemic\", \"what moved last month\". order=by_churn ranks by number of new versions; by_date (default) lists most recently changed first.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"act_form": {
"description": "optional legal act form",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"binding_status": {
"description": "optional binding status",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"document_type": {
"description": "optional source document class(es), comma-separated; prefix with ! to exclude, e.g. !RECUEIL,!CODE_RECUEIL for instruments only",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"domain": {
"description": "legacy domain filter; current v4 indexes leave it empty",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"from_date": {
"description": "ISO date, start of window (inclusive)",
"maxLength": 10,
"minLength": 1,
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"type": "string"
},
"hierarchy": {
"description": "optional normalized legal hierarchy",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"jurisdiction": {
"description": "optional jurisdiction code from index metadata, e.g. LU or EU",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"language": {
"description": "optional language code",
"maxLength": 16,
"minLength": 1,
"type": "string"
},
"limit": {
"description": "default 20",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"offset": {
"description": "skip this many, for paging",
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
"order": {
"description": "by_date (default) or by_churn",
"enum": [
"by_date",
"by_churn"
],
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"publisher": {
"description": "optional publisher id",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"source_class": {
"description": "optional source document class; alias of document_type",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"to_date": {
"description": "ISO date, end of window (inclusive)",
"maxLength": 10,
"minLength": 1,
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"type": "string"
}
},
"required": [
"from_date",
"to_date"
],
"type": "object"
},
"name": "changes_in_period",
"outputSchema": null
},
{
"description": "Which held provision versions contain captured publisher cross-references to this work. This reverse lookup reports the publisher references Lex captured; it does not classify their relationship type or assess current legal effect.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"limit": {
"description": "default 50",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"work": {
"description": "the law being cited, e.g. lu-legilux:loi-2020-06-04-a476",
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"work"
],
"type": "object"
},
"name": "cited_by",
"outputSchema": null
},
{
"description": "What we hold and what we lack, tier by tier: counts, date ranges, history_begins, known gaps. This tool exists to say what we do NOT have.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"publisher": {
"description": "optional publisher id",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "coverage",
"outputSchema": null
},
{
"description": "What changed between two dates for one work: which publisher versions cover the selected dates and, where both texts are held, retrieve them via as_of to compare. An optional held article anchor scopes the typed comparison workspace. Read timeline_semantics before describing legal applicability.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"anchor": {
"description": "optional held provision anchor returned by search, e.g. art_92",
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"from_date": {
"description": "ISO date",
"maxLength": 10,
"minLength": 1,
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"type": "string"
},
"from_version_key": {
"description": "optional opaque key returned by timeline or an ambiguous_version choice",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"language": {
"description": "language code",
"maxLength": 16,
"minLength": 1,
"type": "string"
},
"publisher": {
"description": "publisher id; required when work is not publisher-qualified",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"to_date": {
"description": "ISO date",
"maxLength": 10,
"minLength": 1,
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"type": "string"
},
"to_version_key": {
"description": "optional opaque key returned by timeline or an ambiguous_version choice",
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"work": {
"description": "Work-level lex_id (publisher:workkey), version-level lex_id (version segment ignored), or verbatim publisher identifier with publisher supplied. Unknown document -> call search first.",
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"work",
"from_date",
"to_date"
],
"type": "object"
},
"name": "diff",
"outputSchema": null
},
{
"description": "Compatibility name for publisher states covering a date, computed from timeline intervals and deduplicated by work. Legilux states describe applicability; EUR-Lex states are official consolidated wording states and must not be called entry into force. Every envelope carries timeline_semantics and the result carries a mandatory population disclosure.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"act_form": {
"description": "optional legal act form",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"binding_status": {
"description": "optional binding status",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"date": {
"description": "ISO date",
"maxLength": 10,
"minLength": 1,
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"type": "string"
},
"document_type": {
"description": "backward-compatible source document class filter",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"domain": {
"description": "legacy domain filter; current v4 indexes leave it empty",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"hierarchy": {
"description": "optional normalized legal hierarchy",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"jurisdiction": {
"description": "optional jurisdiction code from index metadata, e.g. LU or EU",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"language": {
"description": "optional language code",
"maxLength": 16,
"minLength": 1,
"type": "string"
},
"limit": {
"description": "default 50",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"offset": {
"description": "pagination offset",
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
"publisher": {
"description": "optional publisher id, e.g. lu-legilux",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"source_class": {
"description": "optional source document class",
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"date"
],
"type": "object"
},
"name": "in_force_on",
"outputSchema": null
},
{
"description": "Proof chain for one lex_id: source URI, retrieval time, record/body hashes, event chain, corpus commit, index build, stamp signature.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"language": {
"description": "optional",
"maxLength": 16,
"minLength": 1,
"type": "string"
},
"lex_id": {
"description": "full lex_id",
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"lex_id"
],
"type": "object"
},
"name": "provenance",
"outputSchema": null
},
{
"description": "Filtered legal search. keyword is deterministic FTS5/BM25; hybrid adds the pinned local encoder and fixed RRF when verified vectors are mounted. No generative model participates. The response query_plan separates resolved work constraints, article and role intent, and residual provision terms. Returns hits WITHOUT body text; full state via as_of.",
"inputSchema": {
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"time_scope": {
"const": "as_of"
}
},
"required": [
"time_scope"
]
},
"then": {
"required": [
"as_of"
]
}
}
],
"properties": {
"act_form": {
"description": "optional legal act form",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"as_of": {
"description": "ISO date required when time_scope=as_of",
"maxLength": 10,
"minLength": 1,
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"type": "string"
},
"binding_status": {
"description": "optional binding status",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"document_type": {
"description": "backward-compatible document type filter",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"domain": {
"description": "legacy domain id filter; current v4 indexes leave it empty; use publisher_metadata_identifier for official classifications",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"fuzzy": {
"description": "auto or off; visible fallback only",
"enum": [
"auto",
"off"
],
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"hierarchy": {
"description": "optional normalized legal hierarchy",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"jurisdiction": {
"description": "optional jurisdiction code from index metadata, e.g. LU or EU",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"language": {
"description": "optional language code",
"maxLength": 16,
"minLength": 1,
"type": "string"
},
"limit": {
"description": "default 10; minimum 1, maximum 50",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"publisher": {
"description": "optional publisher id",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"publisher_metadata_identifier": {
"description": "optional exact official publisher-metadata URI returned by a search hit",
"maxLength": 2048,
"minLength": 1,
"pattern": "^https?://",
"type": "string"
},
"query": {
"description": "search terms",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"retrieval_mode": {
"description": "keyword or hybrid; default keyword until activation",
"enum": [
"keyword",
"hybrid"
],
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"source_class": {
"description": "optional source document class",
"maxLength": 1000,
"minLength": 1,
"type": "string"
},
"time_scope": {
"description": "all_versions or as_of",
"enum": [
"all_versions",
"as_of"
],
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"works": {
"description": "optional comma-separated work ids: restrict search to these works",
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "search",
"outputSchema": null
},
{
"description": "Every publisher state a document has been in: timeline intervals, version keys, and explicit timeline_semantics. Legilux intervals describe applicability; EUR-Lex intervals describe official consolidated wording states, not entry into force.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"limit": {
"description": "max versions (default 100)",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"offset": {
"description": "pagination offset",
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
"publisher": {
"description": "publisher id; required when work is not publisher-qualified",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"work": {
"description": "Work-level lex_id (publisher:workkey), version-level lex_id (version segment ignored), or verbatim publisher identifier with publisher supplied. Unknown document -> call search first.",
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"work"
],
"type": "object"
},
"name": "timeline",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:5b8fd256e1342c75934ecc08b8e570d92c2463ce70f86f7b796c3fc22facb618 | sha256sum