{
  "markdown": "# ro-eli-mcp\n\n<!-- mcp-name: io.github.matematicsolutions/ro-eli-mcp -->\n\nAn MCP server for the Romanian **Portal Legislativ** (`legislatie.just.ro`), the Ministry of\nJustice legislative database, through its public **SOAP API**. It searches Romanian legislation\nand returns metadata and full text, with verifiable citations.\n\nPart of the MateMatic `eu-legal-mcp` production line - after PL, DE, AT, ES, FI, IE, NL, SE, FR,\nLU, DK, CZ, HR, LT and SK. Same citation contract, Portal Legislativ source. This connector talks\nSOAP (a token obtained via `GetToken`, no registration, then `Search`).\n\n> **Scope.** This MVP searches acts by title, free text, year and number, and returns the full\n> text the API provides inline. The same number can exist across act types (LEGE, DECRET,\n> HOTARARE...), so a `tip_act` disambiguates. The API returns up to 10 results per page. Language:\n> Romanian. Every response carries a `dataset_note`.\n>\n> **ELI is national, not data.europa.eu.** Romania has no `data.europa.eu` ELI for this portal.\n> `eli_uri` carries the canonical `legislatie.just.ro` document URL (the stable national\n> identifier), which is also the `source_url`. Every response carries an `eli_note`.\n\n## The tools\n\n| Tool | What it does |\n|---|---|\n| `ro_search` | Search acts by title, text, year and/or number (metadata only). |\n| `ro_get_act` | Metadata for an act by number + year (+ `tip_act` to disambiguate). |\n| `ro_get_text` | Full text of an act by number + year (+ `tip_act`). |\n| `ro_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` (the `legislatie.just.ro` URL),\n`human_readable_citation` (e.g. `LEGE nr. 190/2018`), and `source_url`.\n\n## Install\n\nRun it with no install step (once published to PyPI):\n\n```bash\nuvx ro-eli-mcp\n```\n\nOr from source:\n\n```bash\ncd ro-eli-mcp\npip install -e .\n```\n\n## Configure (Claude Code / any MCP client)\n\n```json\n{\n  \"mcpServers\": {\n    \"ro-eli-mcp\": { \"command\": \"ro-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 `ro-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 ro-eli-mcp\npython -m ro_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 ro_eli_mcp`.\n\n```json\n{ \"mcpServers\": { \"ro-eli-mcp\": { \"command\": \"python\", \"args\": [\"-m\", \"ro_eli_mcp\"] } } }\n```\n\nDo not turn Smart App Control off to work around this - it cannot be re-enabled\nwithout reinstalling Windows.\n\nEnvironment:\n\n- `RO_ELI_ENDPOINT` - default `https://legislatie.just.ro/apiws/FreeWebService.svc/SOAP`\n- `RO_ELI_CACHE_DIR` - default `~/.matematic/cache/ro-eli`\n- `RO_ELI_AUDIT_DIR` - default `~/.matematic/audit`\n\nNo API key. The token is obtained via `GetToken` automatically (no registration).\n\n## Governance\n\n- **Public data only** - read-only against the Portal Legislativ; no client data leaves the machine.\n- **Audit log** - every tool call appends one JSON line to `~/.matematic/audit/ro-eli-mcp.jsonl`.\n- **Vendor-neutral** - talks only to `legislatie.just.ro`; 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 tests/test_parse.py -v   # offline\npytest tests/test_smoke.py -v                                    # hits the live SOAP API\n```\n\n## Licence\n\nApache-2.0. © Matematic Solutions / Wieslaw Mazur. Romanian legislation is public domain; relayed\nread-only with attribution and a `source_url`.\n",
  "bytes": 3997,
  "sha": "db56cb51fcff03a45f8d1dd4a0496ae9e6b18c644182b23fb95aba397bcb642c",
  "repo_slug": "matematicsolutions/ro-eli-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_matematicsolutions_ro_eli_mcp_cee019a1/readme"
}