{
  "markdown": "# fi-eli-mcp\n\n<!-- mcp-name: io.github.matematicsolutions/fi-eli-mcp -->\n\n\n## Install (one command)\n\nPublished on PyPI + MCP Registry (`io.github.matematicsolutions/fi-eli-mcp`). Run without cloning:\n\n```bash\nuvx fi-eli-mcp\n```\n\nConfigure your MCP client (stdio):\n\n```json\n{ \"mcpServers\": { \"fi-eli-mcp\": { \"command\": \"uvx\", \"args\": [\"fi-eli-mcp\"] } } }\n```\n\n### Windows 11 with Smart App Control\n\nSmart App Control blocks unsigned executables, which covers `uvx.exe`, `pip.exe`\nand the `fi-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 fi-eli-mcp\npython -m fi_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 fi_eli_mcp`.\n\n```json\n{ \"mcpServers\": { \"fi-eli-mcp\": { \"command\": \"python\", \"args\": [\"-m\", \"fi_eli_mcp\"] } } }\n```\n\nDo not turn Smart App Control off to work around this - it cannot be re-enabled\nwithout reinstalling Windows.\n\nBuilding from source: see [Install](#install).\n\nAn MCP server for the Finnish **Finlex** open-data API (`opendata.finlex.fi`). It fetches\nconsolidated Finnish statutes as Akoma Ntoso 3.0 XML, with verifiable ELI identifiers and\nFinnish citations.\n\nPart of the MateMatic `eu-legal-mcp` production line - after PL, DE, AT and ES. Same citation\ncontract, Finlex source.\n\n> **Scope.** This MVP covers Finnish statutes (saadokset). Discovery is by year (`fi_list_acts`)\n> or by year + number; the open-data API is path-based, not keyword search. Finland is bilingual,\n> so titles may be Finnish or Swedish. Every response carries a `dataset_note`.\n>\n> **Licence.** Finnish legislation in Finlex is official public information published as open\n> data (keyless). This connector relays it with attribution and a `source_url`.\n\n## The tools\n\n| Tool | What it does |\n|---|---|\n| `fi_list_acts` | List the statutes of a year (discovery). |\n| `fi_get_act` | Metadata for a statute by year + number. |\n| `fi_get_text` | Full Akoma Ntoso text of a statute by year + number. |\n| `fi_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` (a full ELI URL, e.g.\n`http://data.finlex.fi/eli/sd/2018/1050/alkup`), `human_readable_citation`\n(e.g. `Tietosuojalaki (1050/2018)`), and `source_url`.\n\n## Install\n\n```bash\ncd fi-eli-mcp\npip install -e .\n```\n\n## Configure (Claude Code / any MCP client)\n\n```json\n{\n  \"mcpServers\": {\n    \"fi-eli-mcp\": { \"command\": \"fi-eli-mcp\" }\n  }\n}\n```\n\nEnvironment:\n\n- `FI_ELI_BASE_URL` - default `https://opendata.finlex.fi/finlex/avoindata/v1`\n- `FI_ELI_CACHE_DIR` - default `~/.matematic/cache/fi-eli`\n- `FI_ELI_AUDIT_DIR` - default `~/.matematic/audit`\n\nNo API key. Finlex open data is keyless.\n\n## Governance\n\n- **Public data only** - read-only against Finlex; no client data leaves the machine.\n- **Audit log** - every tool call appends one JSON line to `~/.matematic/audit/fi-eli-mcp.jsonl`.\n- **Vendor-neutral** - talks only to `opendata.finlex.fi`; 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 Finlex\n```\n\n## Licence\n\nApache-2.0. © Matematic Solutions / Wieslaw Mazur.\n",
  "bytes": 3667,
  "sha": "3d97693b1e8e6d3d6c46c23c83d4a88aaa209a08f8d1196240266e784ed9e1f4",
  "repo_slug": "matematicsolutions/fi-eli-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_matematicsolutions_fi_eli_mcp_8f75bf67/readme"
}