
My Eli Mcp
io.github.matematicsolutions由 GitHub 帳號 matematicsolutions 發布v0.3.3更新於 Oct 24, 2026
MCP server for Laws of Malaysia Online: fetch and cite Malaysian principal Acts.
概覽
從馬來西亞官方法律入口網站擷取並引用馬來西亞主要法案,回傳中介資料、全文與涵蓋範圍說明。
- 可以做什麼
- 針對總檢察署入口網站提供三個工具:my_get_act 依數字法案座標回傳主要法案的中介資料,my_get_text 回傳自官方 PDF 擷取的法案全文,my_coverage 說明此連接器涵蓋的內容並明確列出未涵蓋的部分。每個回應都帶有引用契約,包含穩定的法案頁面網址、人類可讀的引用與來源網址。此服務為唯讀,並以標示來源的方式轉送官方公開立法資訊。
- 適用情境
- 當助理需要查詢或引用馬來西亞聯邦主要法案並產出可驗證的引用時使用。適合法律研究、法遵檢查,以及依賴馬來西亞官方法律的起草工作。不適用於修正案、附屬立法或全文檢索,這些內容此連接器並未涵蓋。
- 執行需求
- 以本機 Python 套件執行,可透過 uvx 或 python -m my_eli_mcp 啟動。不需要 API 金鑰,入口網站不要求金鑰。選用環境變數 MY_ELI_BASE_URL、MY_ELI_CACHE_DIR 與 MY_ELI_AUDIT_DIR 分別設定基礎網址、快取目錄與稽核目錄。需要連線至 lom.agc.gov.my 的網路存取。在啟用 Smart App Control 的 Windows 11 上,應透過 python -m 執行,而非被封鎖的啟動器。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 My Eli Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
my-eli-mcp
An MCP server for Laws of Malaysia Online (lom.agc.gov.my), the Attorney-General's
Chambers' official portal for Malaysian federal legislation. It fetches and cites principal
Acts, with a verifiable citation on every response.
Part of the MateMatic eu-legal-mcp production line, extended into Asia alongside jp-eli-mcp
and sg-eli-mcp. Same citation contract (a stable identifier + a human-readable citation + a
source URL), adapted for a jurisdiction with no ELI, no confirmed search API, and a source that
publishes only PDF.
Scope. This MVP covers principal Acts only, addressed by their numeric act coordinate (e.g.
883). No free-text search API was found on this portal during discovery; amendments and subsidiary legislation (P.U. (A)/(B) notices) are not yet covered. Every response carries adataset_note.Licence. lom.agc.gov.my legislation is official public information published by the Attorney-General's Chambers of Malaysia. This connector relays it with attribution and a
source_url.
The tools
Every response carries the contract: eli_uri (Malaysia has no ELI - this is the durable
lom.agc.gov.my act page URL, e.g. https://lom.agc.gov.my/act-detail.php?language=BI&act=883,
see eli_note), human_readable_citation (derived from the official PDF's own filename, since
the portal carries no separate title metadata), and source_url.
Install
Not yet on PyPI - install from source until the first release ships:
Once released, this will be uvx my-eli-mcp.
Configuration via env:
MY_ELI_BASE_URL- defaulthttps://lom.agc.gov.myMY_ELI_CACHE_DIR- default~/.matematic/cache/my-eliMY_ELI_AUDIT_DIR- default~/.matematic/audit
No API key. lom.agc.gov.my is keyless.
Configure (Claude Code / any MCP client)
Windows 11 with Smart App Control
Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe
and the my-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:
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 my_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 lom.agc.gov.my; no client data leaves the machine.
- Audit log - every tool call appends one JSON line to
~/.matematic/audit/my-eli-mcp.jsonl. - Vendor-neutral - talks only to
lom.agc.gov.my; no LLM provider, no telemetry. - Verifiable citations - every response is independently checkable via
source_url.
See CONSTITUTION.md and DISCOVERY.md.
Tests
Licence
Apache-2.0. © Matematic Solutions / Wieslaw Mazur.
來源:README.md,提交 6df3091
工具
0版本歷史
1- v0.3.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分