Global law
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
Mexican federal law at any date: articles, reform history, diffs and search over leyes-mx.
作者による原文
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 0/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 12/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
Leyes MX: Mexican federal law at any date をインストールして。https://mcp.popnx.com/i/beg-lag-mcp-leyes.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月18日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Docker を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server Leyes MX: Mexican federal law at any date を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "leyes": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/beg-lag/mcp-leyes:1.0.0" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Leyes MX: Mexican federal law at any date のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: docker --version
一度入れれば、Docker を使うすべてのツールで使えます
SettingsDeveloperEdit Config
{
"mcpServers": {
"leyes": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/beg-lag/mcp-leyes:1.0.0"
]
}
}
}Leyes MX: Mexican federal law at any date を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Leyes MX: Mexican federal law at any date を使っていると言うか、回答に Leyes MX: Mexican federal law at any date のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
MCP_LEYES_REFRESH_HOURS leyes-mx の git fetch を実行する間隔(時間)。デフォルトは 24。0 の場合は取得せず、イメージ内のスナップショットを使用します。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Leyes MX: Mexican federal law at any date につなげません
Leyes MX: Mexican federal law at any date はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
A · Leyes MX: Mexican federal law at any date につなげるアプリを使う
B · 法律・行政データ の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Docker を入れてください(1 回だけ)
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server Leyes MX: Mexican federal law at any date を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user leyes -- docker run -i --rm ghcr.io/beg-lag/mcp-leyes:1.0.0 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Leyes MX: Mexican federal law at any date のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: docker --version
一度入れれば、Docker を使うすべてのツールで使えます
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --scope user leyes -- docker run -i --rm ghcr.io/beg-lag/mcp-leyes:1.0.0Leyes MX: Mexican federal law at any date が一覧にあり、接続済みと表示されれば OK です
Leyes MX: Mexican federal law at any date を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Leyes MX: Mexican federal law at any date を使っていると言うか、回答に Leyes MX: Mexican federal law at any date のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
MCP_LEYES_REFRESH_HOURS leyes-mx の git fetch を実行する間隔(時間)。デフォルトは 24。0 の場合は取得せず、イメージ内のスナップショットを使用します。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Docker を入れてください(1 回だけ)
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server Leyes MX: Mexican federal law at any date を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "leyes": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/beg-lag/mcp-leyes:1.0.0" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Leyes MX: Mexican federal law at any date のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: docker --version
一度入れれば、Docker を使うすべてのツールで使えます
Leyes MX: Mexican federal law at any date を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Leyes MX: Mexican federal law at any date を使っていると言うか、回答に Leyes MX: Mexican federal law at any date のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
MCP_LEYES_REFRESH_HOURS leyes-mx の git fetch を実行する間隔(時間)。デフォルトは 24。0 の場合は取得せず、イメージ内のスナップショットを使用します。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Docker を入れてください(1 回だけ)
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server Leyes MX: Mexican federal law at any date を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "leyes": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/beg-lag/mcp-leyes:1.0.0" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Leyes MX: Mexican federal law at any date のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --versionMac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: docker --version
一度入れれば、Docker を使うすべてのツールで使えます
Leyes MX: Mexican federal law at any date を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Leyes MX: Mexican federal law at any date を使っていると言うか、回答に Leyes MX: Mexican federal law at any date のツール名が出れば接続成功です
上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。
MCP_LEYES_REFRESH_HOURS leyes-mx の git fetch を実行する間隔(時間)。デフォルトは 24。0 の場合は取得せず、イメージ内のスナップショットを使用します。 説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Claude Code
claude mcp add --scope user leyes -- docker run -i --rm ghcr.io/beg-lag/mcp-leyes:1.0.0Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"leyes": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/beg-lag/mcp-leyes:1.0.0"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"leyes": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/beg-lag/mcp-leyes:1.0.0"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"leyes": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/beg-lag/mcp-leyes:1.0.0"
]
}
}
}MCP_LEYES_REFRESH_HOURS env説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
oci: ghcr.io/beg-lag/mcp-leyes:1.0.0このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月20日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント BEG-lag で確認済みです
コードの最終更新:一昨日
MITを使用
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/beg-lag-mcp-leyes)質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は一昨日、最新バージョン(1.0.0)がレジストリに届いたのは一昨日です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
同じカテゴリには:Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
German court decisions (Rechtsprechung) and laws (Gesetze) with citation graph and citation checks.
Search French-language and European case law and French legal texts (codes, statutes, treaties).
Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
| これ Leyes MX: Mexican federal law at any date | Global law | Open Legal Data (Germany) | LibreJustice | InfraNode | Fedlex Connector | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 |
| キーが必要 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| 基本チェック | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 4/4 |
| ライセンス | MIT | NOASSERTION | MIT | Apache-2.0 | Apache-2.0 | MIT |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
English · Español
mcp-leyes is a Model Context Protocol server that gives Claude and other AI agents *point-in-time* access to Mexican federal law: the exact text of an article as it stood on any date, every change it went through, word-level diffs of what a reform did, full-text search over the laws as they read on a given day, and the reform timeline of each law. It reads the public leyes-mx repository, where 36 federal laws are Markdown files and each of their 375 archived versions is a git commit dated on its publication in the *Diario Oficial de la Federación* (DOF).
Lawyers ask "what did article 27 say in 2013?" or "what exactly did the 2019 labor reform change?" all the time. Answering from memory is how a model ends up citing a repealed paragraph. This server answers from the archived text, cites the DOF date, the decree and the line on GitHub, and says what the archive cannot know.
[!IMPORTANT]
Unofficial. Only the DOF is authoritative. Not legal advice.
Real output, recorded through a real MCP client over stdio on 2026-11-17, starting from an empty cache. Excerpts below are copied verbatim (… marks omitted lines); the full, unedited transcript is in docs/demo.md. Tool output is in Spanish, like the law.
Article 27 of the Constitution on January 1, 2013, with where the text comes from and what the archive cannot tell:
<!-- get_article(law="CPEUM", article="27", date="2013-01-01") · 0.02 s -->
Constitución Política de los Estados Unidos Mexicanos › Título Primero › Capítulo I · De los Derechos Humanos y sus Garantías
Texto aplicable al 01-01-2013: versión DOF 15-10-2012 (commit 9cdbce4). …
b6d33e0).Advertencias
The same article, 2013 versus today: the energy reforms of 2013 and 2024 to 2025, word by word.
<!-- diff_article(law="CPEUM", article="27", date_from="2013-01-01") · 0.14 s -->
…
…
… … Tratándose [-del petróleo y de los carburos de hidrógeno sólidos, líquidos o gaseosos o-] de minerales [-radioactivos,-] {+radiactivos y litio+} no se otorgarán concesiones [-ni contratos, ni subsistirán los que en su caso se hayan otorgado y la Nación llevará a cabo la explotación de esos productos, en los términos que señale la Ley Reglamentaria respectiva-]. Corresponde exclusivamente a la Nación [-generar, conducir, transformar, distribuir-] {+la planeación+} y [-abastecer-] {+el control del sistema eléctrico nacional en los términos del artículo 28 de esta Constitución, así como el servicio público de transmisión y distribución de+} energía eléctrica …
What the 2019 labor reform changed in the Ley Federal del Trabajo. The archive has no copy between 01-05-2019 and 02-07-2019, so the tool says so and uses the Cámara's editorial notes to tell the articles of this decree from those of the other two:
<!-- diff_reform(law="LFT", reform_date="2019-05-01", limit=3) · 0.03 s -->
… Comparación: versión DOF 22-06-2018 (2ed3ea7) → versión DOF 02-07-2019 (8157e28).
Resumen
transitorios.… Sin esa nota (12; otras reformas de la versión o cambios editoriales): 170 Bis. (añadido), 331 Bis. (añadido), 331 Ter. (añadido), 334 Bis. (añadido), 335., 336 Bis. (añadido), 337 Bis. (añadido), 339., 341., 343., 542., 641-A. …
[-El trabajo es un derecho y un deber sociales. No es artículo de comercio.-] …
And it refuses to over-claim. Asked for article 371 (union bylaws) on June 1, 2019, a month after the reform, it returns the last archived text and flags it as outdated for that date:
<!-- get_article(law="LFT", article="371", date="2019-06-01") · 0.00 s -->
… Texto aplicable al 01-06-2019: versión DOF 22-06-2018 (commit 2ed3ea7). …
The transcript also has the full history of article 27 (10 changes in 44 versions, two of them flagged as editorial corrections), the transitorios of the 2019 decree, a search for subcontrat "servicios especializados", the LFT reform timeline, the LISR reform of 13-11-2026 that is not consolidated yet, and a Código de Comercio version whose source skips article 291.
First sync: 7.0 s from an empty cache on a home connection, cloning leyes-mx from GitHub and indexing 375 versions; the cache then takes 29 MB. Every later call is answered locally, in milliseconds.
Things you can ask once it is connected (example prompts, not recorded answers):
explain_reform prompt)You need uv and git. uvx downloads and runs the server; git is its database.
Claude Code
claude mcp add leyes -- uvx --from git+https://github.com/BEG-lag/mcp-leyes mcp-leyes
Claude Desktop: add this to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) and restart:
{
"mcpServers": { "leyes": { "command": "uvx", "args": ["--from", "git+https://github.com/BEG-lag/mcp-leyes", "mcp-leyes"] } } }
The first start clones leyes-mx (about 4 MB) and builds the index in a few seconds; after that it works offline. To do that ahead of time, run uvx --from git+https://github.com/BEG-lag/mcp-leyes mcp-leyes sync.
Docker: every release publishes a multi-arch image (linux/amd64, linux/arm64) to GitHub Container Registry, with git and a snapshot of leyes-mx inside, so it answers even with --network none. In any client config, use "command": "docker" with these arguments:
docker run -i --rm ghcr.io/beg-lag/mcp-leyes:1.0.0
Any other MCP client: run mcp-leyes over stdio, or mcp-leyes --transport http --port 8000 for streamable HTTP at http://127.0.0.1:8000/mcp.
The metadata for the MCP Registry lives in server.json, under the name io.github.BEG-lag/mcp-leyes.
| Tool | What it does |
|---|---|
list_laws() | The catalog: abbreviation, name, last reform, articles, versions in git and the oldest archived version of each law. |
get_article(law, article, date) | Exact text of an article as it stood on a date (default today): version DOF date and commit, the decrees that version reflects, since when the article reads that way, the editorial notes, a link to the exact lines on GitHub at that commit, and every caveat that applies. |
article_history(law, article) | Every version that added, changed, repealed or dropped the article, with its decree. In grouped versions, the decree named by the editorial note; changes that only touch notes or a few words without a reform note are flagged as editorial. |
diff_article(law, article, date_from, date_to, mode) | What changed between two dates, as a word diff ([-old-] {+new+}) or a unified diff, plus the versions in between that touched it. |
diff_reform(law, reform_date, mode, limit, offset) | What a reform did: articles modified, added and removed, new transitorios and headings, and the diffs, paginated. |
search(query, law, date, limit, include_transitorios) | Full-text search over the laws as they read on a date. Accent and case insensitive, prefix matching, "phrases" and -exclusions. |
reforms(law, since, limit) | Reform decrees of a law (number, DOF date, title, PDF) and which version in git carries each one. |
transitorios(law, decree_date, date, max_chars) | Transitory articles of the original text or of one decree: entry into force, deadlines, repeals. |
Also exposed: the prompts `explain_reform(law, reform_date, audience, language)` and `trace_article(law, article, language)`, and the resources ley://{law}@{date} (the whole law as it stood on a date, Markdown), ley://{law}/articulo/{article}@{date}, leyes://catalogo (JSON) and leyes://estado (sync status). Laws accept the abbreviation (LFT) or slug (lft); articles accept 27, 1o, 3o. Bis, 15-A, 353-Ñ, 29-A Bis or 21 bis 1; dates accept YYYY-MM-DD, DD-MM-YYYY or hoy. All tools are annotated read-only.
flowchart LR
A["Claude or any MCP client"] -- "stdio / HTTP" --> B["mcp-leyes tools, prompts, resources"] B --> C["SQLite index art