australian-law-mcp
australian-law-mcp
連邦立法登録簿用のMCPサーバー。 オーストラリアの法律が特定の日に何を規定していたかを尋ね、公的な登録簿に照らして引用を検証してから依頼に応じます。APIキー不要、サインアップも不要です。
すべては連邦政府自身の立法APIからライブ配信されます:
13万件以上の法律および立法措置、それぞれのすべての編纂版、1901年まで遡ります。その登録簿が連邦法の公認情報源であり、時点別バージョンをネイティブに公開しているため、get_law_as_at は指定した日に実際に効力のあった条文を返します。再構成ではありません。
クイックスタート
Claude Code:
claude mcp add australian-law -- npx -y australian-law-mcpClaude Desktop、Cursor、その他のstdio MCPクライアント:
{
"mcpServers": {
"australian-law": {
"command": "npx",
"args": ["-y", "australian-law-mcp"]
}
}
}Node 20以降が必要です。他にインストールは不要 — npx が初回実行時にパッケージを取得します。
Nodeをホストに置きたくない場合はDockerfileがあります。サーバーはstdioで通信するため、コンテナには-iが必要です:
docker build -t australian-law-mcp .
docker run -i --rm australian-law-mcpRelated MCP server: au-eli-mcp
ツール
ツール | 機能 |
| 名前で法律および立法措置を検索します。他のツールが受け取るタイトルIDを返します。 |
| 現在の編纂版:目次、特定の条項、または全文をページ分割で取得します。スケジュールも指定可能です( |
| 同じ操作を、指定した過去の日付時点の法規に対して行います。 |
| テキストから法規の引用を抽出し、それぞれを登録簿に対して検証します:法律は存在するか、効力があるか、引用された条項は存在するか。上流の障害はUNVERIFIEDとして返され、欠落として扱われることはありません。 |
| 法律は効力があるか廃止か、最新の編纂版に何が組み込まれているか、まだ組み込まれていない改正は何か、そして何が法律を改正したか。 |
| 2つの日付の間で何が変わったか:追加された条項、削除された条項、書き換えられた条項 — または単一の条項の行差分。 |
| 登録簿上のすべてのタイトルの本文に対する関連性ランキング付き検索。 |
| 登録簿APIにpingを送信し、他の場所での障害を切り分けられるようにします。 |
docs/tools.md に各ツールのパラメータと動作例、そして応答できない場合の挙動が記載されています。
時点別バージョンが重要な理由
税務紛争、ビザ決定、契約、裁判事件は、過去のある日の時点での法規に依存します。そしてモデルは、実際には今日の法規で回答してしまうことがよくあります。登録簿は正確な効力期間とともにすべての編纂版を保持しています:
get_law_as_at titleId=C2004A03348 date=2017-01-05 section=3A
→ As at 2017-01-05: Income Tax Rates Act 1986, Compilation No. 48
s 3A Working holiday makers and working holiday taxable income ...そしてverify_citationsは、もう一方の方向のためのガードレールです — モデルが実際には存在しない条項を創作してしまうことを防ぎます:
verify_citations text="See s 3A and s 999 of the Income Tax Rates Act 1986."
→ [OK] Income Tax Rates Act 1986 [C2004A03348] — in force.
[OK] s 3A exists: "Working holiday makers and working holiday taxable income"
[NOT FOUND] s 999 — Provision 999 was not found in this compilation. It has
28 sections and 6 schedules. Closest by number: s 30, s 29, s 28実際の法律が報告されないことは、このようなツールにとって最悪の失敗です。そのため、ネットワークエラーやAPIエラーは常にUNVERIFIEDとして報告され、NOT FOUNDとして扱われることはありません。
対象範囲
設計上、連邦法のみを対象としています。州の登録簿は、オープンなAPIを持っていない(NSW)、ボット対策の壁がある(VIC)、または登録が必要(QLD)です。判例法データベース(AustLII、Jade)は自動アクセスを許可していません。そのため、判例法ツールはありません。ATOの裁決は機械可読ではありません。これらのいずれかに変更があれば、対象範囲を拡大できます。
データソースとライセンス
立法コンテンツは連邦立法登録簿APIから取得され、オーストラリア連邦によってCC BY 4.0でライセンスされています。登録簿のコンテンツを再現するすべての応答には、登録簿が要求する帰属表示が含まれます。このプロジェクトは独立しており、オーストラリア政府法務官事務所やオーストラリア政府とは提携も承認関係もありません。出力は法的情報であり、法的助言ではありません — いかなる法律の公認版も、登録簿に掲載されているものです。
コードはMITライセンスです。
開発
npm install
npm test # build + unit tests (offline)
node scripts/smoke.mjs # live API smoke test
node scripts/protocol-test.mjs # stdio round trip against the live APIAvailable Tools
8 toolscheck_frl_healthCheck the register APIARead-only
Pings the Federal Register of Legislation API and reports latency, so failures elsewhere can be attributed.
Inputs: no named parameters.
compare_versionsCompare an act between two datesARead-only
Shows what changed in an act between two dates: which sections were added, removed or reworded. Give a section number for a line-by-line diff of that provision.
Inputs: dateA (required), dateB (required), titleId (required), page, +1 more.
get_amendment_statusAmendment status of an actARead-only
Reports whether a title is in force, what its latest compilation incorporates, whether commenced amendments are still unincorporated, and which acts have amended it.
Inputs: titleId (required).
get_law_as_atRead an act as it stood on a dateARead-only
Returns the compilation of a Commonwealth act that was in force on the given date — the register keeps every historical version. Same output shape as get_law_text.
Inputs: date (required), titleId (required), full, page, +1 more.
get_law_textRead the current text of an actARead-only
Returns the latest compilation of a Commonwealth act or instrument. Without a section number it lists the table of sections; with one it returns that provision. Set full=true for the whole text, paginated.
Inputs: titleId (required), full, page, section.
search_full_textFull-text search across all legislationARead-only
Searches the body text of every act and instrument on the register for a phrase, ranked by relevance. Slower and broader than search_law.
Inputs: phrase (required), limit, match.
search_lawSearch Australian legislation by nameARead-only
Finds Commonwealth acts and legislative instruments on the Federal Register of Legislation by title. Returns title ids for the other tools. Falls back to full-text matching when nothing matches by name.
Inputs: query (required), limit.
verify_citationsCheck statute citations against the registerARead-only
Extracts Australian statute citations from text and checks each against the Federal Register of Legislation: does the act exist, is it still in force, does the cited section exist in the current compilation. Use before presenting legal citations to a user. An upstream failure is reported as UNVERIFIED, never as a missing law.
Inputs: text (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have clearly distinct purposes. The only mild ambiguity is between get_law_text and get_law_as_at, but the descriptions make the current-versus-historical distinction explicit. search_law and search_full_text are also separable by title-search versus full-text-search.
All tool names follow a consistent snake_case verb_noun pattern, such as search_law, get_law_text, compare_versions, and verify_citations. The get_ and search_ prefixes group related operations predictably, with no mixed conventions.
Eight tools is well-scoped for a legal research server. Each tool provides a distinct capability without redundancy, and the count feels neither thin nor bloated for the domain.
The toolset covers the core legislative research workflow: finding laws, retrieving current and historical text, checking amendment status, comparing versions, and verifying citations. There are no obvious dead ends or missing operations for the stated purpose of working with the Federal Register of Legislation.
Maintenance
Related MCP Connectors
MCP server for FCA Handbook compliance analysis with verbatim citations.
MCP for CanLII: Canadian case law and legislation metadata (federal, provincial, territorial).
Australia law -- the Federal Register of Legislation (Office of Parliamentary Counsel)…
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server providing AI assistants access to Canadian case law and legislation metadata from CanLII across all jurisdictions, supporting search and citation relationships.710MIT
- AlicenseAqualityCmaintenanceMCP server for Australia's Federal Register of Legislation. Enables searching and fetching Commonwealth Acts with verifiable citations.344 PyPIApache 2.0
- AlicenseAqualityCmaintenanceMCP server for Swiss federal legislation metadata via Fedlex, enabling search and retrieval of act details with ELI URIs, SR numbers, and multilingual support.340 PyPIApache 2.0
- AlicenseAqualityCmaintenanceMCP server for the Laws of Malaysia Online portal, fetching and citing Malaysian principal Acts with verifiable citations.3Apache 2.0