Au Eli Mcp

io.github.matematicsolutions由 GitHub 账号 matematicsolutions 发布v0.3.3更新于 Oct 24, 2026

MCP server for Australia's Federal Register of Legislation: search and cite Commonwealth Acts.

概览

AI 生成的概览

本地 MCP 服务器,让助手检索澳大利亚联邦立法登记册中的联邦法案、获取其合并文本并给出可核验的引用。

可以做什么
按完整或部分标题检索联邦法案,每条结果附带可核验的引用,并说明该连接器覆盖与未覆盖的范围,以及缺口对应的替代办法。
适用场景
适合需要查阅、引用或核实澳大利亚联邦法案的场景,并希望每个答案都有可核查的来源链接。不适用于法规及其他立法文书,这些不在覆盖范围内。
运行要求
以 Python 包在本地运行(发布后可用 uvx au-eli-mcp;README 目前说明需从源码安装)。需要访问 legislation.gov.au 的网络连接,该站点无需密钥,因此不需要 API 密钥或账号。可选环境变量用于设置基础网址、缓存目录和审计目录。在启用 Smart App Control 的 Windows 11 上,应通过 Python 解释器运行,而不是被阻止的启动器。
安装前请注意
对公开政府网站只读,不外传用户数据,也无遥测。每次工具调用都会追加写入本地审计日志文件,响应会缓存到磁盘。超长法案文本约在 30 万字符处截断,长文本可能不完整。覆盖范围仅限法案。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Au Eli Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

au-eli-mcp

An MCP server for Australia's Federal Register of Legislation (legislation.gov.au), the official source of Commonwealth legislation. It searches, fetches, and cites Acts, with a verifiable citation on every response.

Part of the MateMatic eu-legal-mcp production line, extended into Asia-Pacific alongside jp-eli-mcp, sg-eli-mcp and my-eli-mcp. Same citation contract (a stable identifier + a human-readable citation + a source URL), adapted for a jurisdiction with no ELI.

Scope. This MVP covers Acts only (collection(act)); regulations and other legislative instrument types are not yet covered. Discovery is by title (au_search_acts); fetch the current consolidated text with au_get_text (truncated for very large Acts). Every response carries a dataset_note.

Licence. Federal Register of Legislation content is official public information published by the Australian government. This connector relays it with attribution and a source_url.

The tools

ToolWhat it does
au_search_actsSearch Commonwealth Acts by (partial) title.
au_get_textThe current consolidated text of an Act (truncated at ~300,000 characters).
au_coverageDeclare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback.

Every response carries the contract: eli_uri (Australia has no ELI - this is the durable legislation.gov.au URL keyed on the document's own FRLI identifier, e.g. https://www.legislation.gov.au/C2004A00042/latest, see eli_note), human_readable_citation (the Act title), and source_url.

Install

Not yet on PyPI - install from source until the first release ships:

bash
git clone https://github.com/matematicsolutions/au-eli-mcpcd au-eli-mcppip install -e .

Once released, this will be uvx au-eli-mcp.

Configuration via env:

  • AU_ELI_BASE_URL - default https://www.legislation.gov.au
  • AU_ELI_CACHE_DIR - default ~/.matematic/cache/au-eli
  • AU_ELI_AUDIT_DIR - default ~/.matematic/audit

No API key. legislation.gov.au is keyless.

Configure (Claude Code / any MCP client)

json
{  "mcpServers": {    "au-eli-mcp": { "command": "au-eli-mcp" }  }}

Windows 11 with Smart App Control

Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe and the au-eli-mcp.exe launcher that pip writes at install time. The python.exe and py.exe from the python.org installer are signed by the Python Software Foundation, so running the module through the interpreter works:

bash
python -m pip install au-eli-mcppython -m au_eli_mcp

pip.exe is blocked for the same reason, so install with python -m pip, not pip install. If python is not on PATH, use the Windows launcher: py -3 -m au_eli_mcp.

json
{ "mcpServers": { "au-eli-mcp": { "command": "python", "args": ["-m", "au_eli_mcp"] } } }

Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.

Governance

  • Public data only - read-only against legislation.gov.au; no client data leaves the machine.
  • Robots-compliant - robots.txt allows crawling (only /assets/ is disallowed); this connector caches aggressively rather than hitting the site repeatedly.
  • Audit log - every tool call appends one JSON line to ~/.matematic/audit/au-eli-mcp.jsonl.
  • Vendor-neutral - talks only to legislation.gov.au; no LLM provider, no telemetry.
  • Verifiable citations - every response is independently checkable via source_url.

See CONSTITUTION.md and DISCOVERY.md.

Tests

bash
pip install -e ".[dev]"pytest tests/test_instructions_drift.py -v   # offlinepytest tests/test_smoke.py -v                # hits live legislation.gov.au

Licence

Apache-2.0. © Matematic Solutions / Wieslaw Mazur.

来源:README.md,提交 7f00c05

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分