{
  "markdown": "# my-eli-mcp\n\n<!-- mcp-name: io.github.matematicsolutions/my-eli-mcp -->\n\nAn MCP server for **Laws of Malaysia Online** (`lom.agc.gov.my`), the Attorney-General's\nChambers' official portal for Malaysian federal legislation. It fetches and cites principal\nActs, with a verifiable citation on every response.\n\nPart of the MateMatic `eu-legal-mcp` production line, extended into Asia alongside `jp-eli-mcp`\nand `sg-eli-mcp`. Same citation contract (a stable identifier + a human-readable citation + a\nsource URL), adapted for a jurisdiction with no ELI, no confirmed search API, and a source that\npublishes only PDF.\n\n> **Scope.** This MVP covers principal Acts only, addressed by their numeric act coordinate\n> (e.g. `883`). No free-text search API was found on this portal during discovery; amendments\n> and subsidiary legislation (P.U. (A)/(B) notices) are not yet covered. Every response carries\n> a `dataset_note`.\n>\n> **Licence.** lom.agc.gov.my legislation is official public information published by the\n> Attorney-General's Chambers of Malaysia. This connector relays it with attribution and a\n> `source_url`.\n\n## The tools\n\n| Tool | What it does |\n|---|---|\n| `my_get_act` | Metadata for a principal Act by its numeric act coordinate. |\n| `my_get_text` | The full text of an Act, extracted from the official PDF. |\n| `my_coverage` | Declare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback. |\n\nEvery response carries the contract: `eli_uri` (Malaysia has no ELI - this is the durable\nlom.agc.gov.my act page URL, e.g. `https://lom.agc.gov.my/act-detail.php?language=BI&act=883`,\nsee `eli_note`), `human_readable_citation` (derived from the official PDF's own filename, since\nthe portal carries no separate title metadata), and `source_url`.\n\n## Install\n\nNot yet on PyPI - install from source until the first release ships:\n\n```bash\ngit clone https://github.com/matematicsolutions/my-eli-mcp\ncd my-eli-mcp\npip install -e .\n```\n\nOnce released, this will be `uvx my-eli-mcp`.\n\nConfiguration via env:\n\n- `MY_ELI_BASE_URL` - default `https://lom.agc.gov.my`\n- `MY_ELI_CACHE_DIR` - default `~/.matematic/cache/my-eli`\n- `MY_ELI_AUDIT_DIR` - default `~/.matematic/audit`\n\nNo API key. lom.agc.gov.my is keyless.\n\n### Configure (Claude Code / any MCP client)\n\n```json\n{\n  \"mcpServers\": {\n    \"my-eli-mcp\": { \"command\": \"my-eli-mcp\" }\n  }\n}\n```\n\n### Windows 11 with Smart App Control\n\nSmart App Control blocks unsigned executables, which covers `uvx.exe`, `pip.exe`\nand the `my-eli-mcp.exe` launcher that pip writes at install time. The `python.exe` and\n`py.exe` from the python.org installer are signed by the Python Software\nFoundation, so running the module through the interpreter works:\n\n```bash\npython -m pip install my-eli-mcp\npython -m my_eli_mcp\n```\n\n`pip.exe` is blocked for the same reason, so install with `python -m pip`, not\n`pip install`. If `python` is not on PATH, use the Windows launcher: `py -3 -m my_eli_mcp`.\n\n```json\n{ \"mcpServers\": { \"my-eli-mcp\": { \"command\": \"python\", \"args\": [\"-m\", \"my_eli_mcp\"] } } }\n```\n\nDo not turn Smart App Control off to work around this - it cannot be re-enabled\nwithout reinstalling Windows.\n\n## Governance\n\n- **Public data only** - read-only against lom.agc.gov.my; no client data leaves the machine.\n- **Audit log** - every tool call appends one JSON line to `~/.matematic/audit/my-eli-mcp.jsonl`.\n- **Vendor-neutral** - talks only to `lom.agc.gov.my`; no LLM provider, no telemetry.\n- **Verifiable citations** - every response is independently checkable via `source_url`.\n\nSee `CONSTITUTION.md` and `DISCOVERY.md`.\n\n## Tests\n\n```bash\npip install -e \".[dev]\"\npytest tests/test_instructions_drift.py -v   # offline\npytest tests/test_smoke.py -v                # hits live lom.agc.gov.my\n```\n\n## Licence\n\nApache-2.0. © Matematic Solutions / Wieslaw Mazur.\n",
  "bytes": 3888,
  "sha": "94885d303c26507d457ab3f08c8a7f91452d937ef1b5bfe848a638bf4a766df9",
  "repo_slug": "matematicsolutions/my-eli-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_matematicsolutions_my_eli_mcp_f79093cc/readme"
}