ro-eli-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ro-eli-mcpsearch for LEGE nr. 190/2018"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ro-eli-mcp
An MCP server for the Romanian Portal Legislativ (legislatie.just.ro), the Ministry of
Justice legislative database, through its public SOAP API. It searches Romanian legislation
and returns metadata and full text, with verifiable citations.
Part of the MateMatic eu-legal-mcp production line - after PL, DE, AT, ES, FI, IE, NL, SE, FR,
LU, DK, CZ, HR, LT and SK. Same citation contract, Portal Legislativ source. This connector talks
SOAP (a token obtained via GetToken, no registration, then Search).
Scope. This MVP searches acts by title, free text, year and number, and returns the full text the API provides inline. The same number can exist across act types (LEGE, DECRET, HOTARARE...), so a
tip_actdisambiguates. The API returns up to 10 results per page. Language: Romanian. Every response carries adataset_note.ELI is national, not data.europa.eu. Romania has no
data.europa.euELI for this portal.eli_uricarries the canonicallegislatie.just.rodocument URL (the stable national identifier), which is also thesource_url. Every response carries aneli_note.
The tools
Tool | What it does |
| Search acts by title, text, year and/or number (metadata only). |
| Metadata for an act by number + year (+ |
| Full text of an act by number + year (+ |
| Declare 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 (the legislatie.just.ro URL),
human_readable_citation (e.g. LEGE nr. 190/2018), and source_url.
Related MCP server: mozaia-laws-mcp
Install
Run it with no install step (once published to PyPI):
uvx ro-eli-mcpOr from source:
cd ro-eli-mcp
pip install -e .Configure (Claude Code / any MCP client)
{
"mcpServers": {
"ro-eli-mcp": { "command": "ro-eli-mcp" }
}
}Windows 11 with Smart App Control
Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe
and the ro-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:
python -m pip install ro-eli-mcp
python -m ro_eli_mcppip.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 ro_eli_mcp.
{ "mcpServers": { "ro-eli-mcp": { "command": "python", "args": ["-m", "ro_eli_mcp"] } } }Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.
Environment:
RO_ELI_ENDPOINT- defaulthttps://legislatie.just.ro/apiws/FreeWebService.svc/SOAPRO_ELI_CACHE_DIR- default~/.matematic/cache/ro-eliRO_ELI_AUDIT_DIR- default~/.matematic/audit
No API key. The token is obtained via GetToken automatically (no registration).
Governance
Public data only - read-only against the Portal Legislativ; no client data leaves the machine.
Audit log - every tool call appends one JSON line to
~/.matematic/audit/ro-eli-mcp.jsonl.Vendor-neutral - talks only to
legislatie.just.ro; no LLM provider, no telemetry.Verifiable citations - every response is independently checkable via
source_url.
See CONSTITUTION.md and DISCOVERY.md.
Tests
pip install -e ".[dev]"
pytest tests/test_instructions_drift.py tests/test_parse.py -v # offline
pytest tests/test_smoke.py -v # hits the live SOAP APILicence
Apache-2.0. © Matematic Solutions / Wieslaw Mazur. Romanian legislation is public domain; relayed
read-only with attribution and a source_url.
Available Tools
3 toolsro_get_actARead-onlyIdempotent
Fetch Romanian act metadata by number + year (disambiguate with tip_act).
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | year, e.g. ``2018``. | |
| number | Yes | act number, e.g. ``190``. | |
| tip_act | No | act type to disambiguate (e.g. ``"LEGE"``), when several types share a number. |
Output Schema
| Name | Required | Description |
|---|---|---|
| year | No | |
| title | No | |
| issuer | No | |
| number | No | |
| eli_uri | No | |
| tip_act | No | |
| eli_note | No | |
| source_url | No | |
| publication | No | |
| dataset_note | No | |
| date_in_force | No | |
| human_readable_citation | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false, covering safety. The description adds the disambiguation behavior but little else; no contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence that conveys the core purpose and the only nuance (disambiguation). No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With a rich output schema, comprehensive annotations, and only two siblings, the description is sufficient for an agent to select and invoke the tool correctly. It could have benefited from a brief mention of when not to use it, but the overall context is adequate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description restates the relationship between number, year, and tip_act, but adds no new format or syntax details beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Fetch Romanian act metadata by number + year' uses a specific verb and resource, clearly identifying what the tool does. The mention of tip_act for disambiguation further distinguishes it from sibling tools like ro_search and ro_get_text.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool should be used when the act number and year are known, with tip_act available for disambiguation. It does not explicitly name alternatives or exclusion criteria, but the context is clear enough for a lookup tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ro_get_textARead-onlyIdempotent
Fetch the full Romanian text of an act by number + year (disambiguate with tip_act).
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | year, e.g. ``2018``. | |
| number | Yes | act number, e.g. ``190``. | |
| tip_act | No | act type to disambiguate (e.g. ``"LEGE"``). |
Output Schema
| Name | Required | Description |
|---|---|---|
| year | No | |
| title | No | |
| format | No | |
| number | No | |
| content | No | |
| eli_uri | No | |
| tip_act | No | |
| eli_note | No | |
| byte_size | No | |
| source_url | No | |
| dataset_note | No | |
| human_readable_citation | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly and idempotent behavior, lowering the bar for additional disclosure. The description adds meaningful context: it returns the *full* text and highlights the need for disambiguation when number+year may be ambiguous, which is beyond what the annotations provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that conveys the essential purpose and a key usage nuance. Every word earns its place, with no filler or redundant elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the presence of an output schema and rich annotations, the description is adequate for correct selection and invocation. It covers the core purpose and disambiguation logic, though it omits explicit guidance on when to use this tool versus siblings, which is partially covered in the usage dimension.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with each parameter (year, number, tip_act) already documented. The description minimally restates the schema ('by number + year (disambiguate with tip_act)') without adding new semantic meaning, so the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'Fetch' and clearly identifies the resource: the full Romanian text of an act, identified by number and year. This distinguishes it from sibling tools like ro_search (search-oriented) and ro_get_act (likely retrieving act metadata) by focusing on full-text retrieval.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use this tool (when full text is needed) but does not explicitly compare against alternatives. It does mention the disambiguation parameter 'tip_act', which is a usage guideline, but no explicit when/to/not-to guidance relative to siblings is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ro_searchARead-onlyIdempotent
Search Romanian legislation.
Provide at least one of title / text / year / number.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page (the API returns up to 10 hits per page). | |
| text | No | words matched against the full text. | |
| year | No | publication/in-force year, e.g. ``2018``. | |
| title | No | words matched against the act title. | |
| number | No | act number, e.g. ``190``. |
Output Schema
| Name | Required | Description |
|---|---|---|
| page | Yes | |
| items | No | |
| total | Yes | |
| dataset_note | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare the tool as readOnlyHint=true, idempotentHint=true, destructiveHint=false, covering safety. The description adds the behavioral requirement of needing at least one search parameter, which is valuable. However, it lacks deeper context like pagination, ordering, or error behavior beyond what the schema already provides. With annotations present, this is adequate but not exceptional.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences—concise and front-loaded with the core purpose. Every word earns its place, and the constraint is clearly stated.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 5-parameter search tool with full schema coverage and a presence of an output schema, the description is sufficient. It states the action, the resource, and the key usage constraint. The schema and annotations cover the remaining details, so no critical information is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage with rich details for each parameter (e.g., year's 'publication/in-force year, e.g. 2018'). The description adds the cross-parameter constraint that at least one of title/text/year/number must be provided, which is not otherwise specified. This adds meaningful semantic context beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 'Search Romanian legislation.' It uses a specific verb (Search) and resource (Romanian legislation), and the constraint 'Provide at least one of title/text/year/number' distinguishes it from sibling tools that fetch specific acts or texts.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context: it is for searching legislation and requires at least one of four search criteria. It does not explicitly compare with siblings ro_get_act and ro_get_text, but the constraint implies when it is applicable. No exclusions or alternatives are stated, so it falls just short of a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
3 tool updates
v0.1.2- First observed
ro_get_act - First observed
ro_get_text - First observed
ro_search
TDQS
Each tool has a clearly distinct purpose: ro_search finds acts based on criteria, ro_get_act retrieves metadata, and ro_get_text retrieves the full text. Even though get_act and get_text share parameters, their outputs are different and descriptions are explicit.
The naming follows a consistent pattern with the 'ro_' prefix and verb-noun structure (ro_search, ro_get_act, ro_get_text). ro_search is slightly shorter than the others but still clearly aligned, making the set predictable.
Three tools is well-scoped for a legislation retrieval server. Each tool covers a distinct, essential step in the workflow: search, metadata lookup, and full text access.
The tool surface covers the complete lifecycle for a read-only legal database: discovering acts via search, retrieving structured metadata, and accessing the full text. No obvious gaps are present for the stated purpose.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
An MCP server that provides congressional transcripts
Hosted MCP server for finding authoritative primary data sources and official portals.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server for querying French legislation and case law via the Legifrance API, enabling search and retrieval of laws, codes, and court decisions with verifiable citations.81Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP server for real-time access to Mozambican legislation, enabling search, status checks, article retrieval, historical versions, and citation resolution via the Mozaia platform.MIT
- AlicenseAqualityAmaintenanceAn MCP server for accessing Turkish legislation (laws, regulations, decrees) via the Adalet Bakanligi API, providing search, full-text retrieval, and structured citations.5Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP server for Azerbaijan's official legal-acts database (e-qanun.az), enabling search, metadata retrieval, and full-text access to legislative and judicial documents.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/ro-eli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server