Cl Eli Mcp

io.github.matematicsolutionsPublished by GitHub account matematicsolutionsv0.3.3Updated Oct 25, 2026

MCP server for Chilean legislation via BCN Linked Open Data, verifiable citations.

Overview

AI-generated overview

Local MCP server that lets an assistant search Chilean laws, decrees and resolutions via BCN Linked Open Data and return verifiable citations.

What you can do
Search norms by full-text query over titles and retrieve matching laws, decrees and resolutions with their BCN resource URIs and human-readable citations, such as a law number and date. Fetch full metadata for a single norm by its persistent BCN resource URI, including title, number, dates and issuing body. Report what the connector covers, when each family of norms was captured, and explicitly which gaps exist, each with a fallback. Every response carries the resource URI, a source link and a citation string.
When to use it
Useful when an assistant needs to look up or cite Chilean legislation and the user wants traceable, citable references rather than free-form answers. Also helpful for checking whether a given norm family is covered before relying on the connector.
Requirements
Runs locally as a Python package (cl-eli-mcp), typically via uvx or python -m cl_eli_mcp. Needs network access to the BCN SPARQL endpoint. Optional environment variables CL_ELI_CACHE_DIR, CL_ELI_AUDIT_DIR and CL_ELI_BASE_URL set cache, audit and endpoint locations. No authentication declared.
Before you install
Returns metadata only, not the operative text of the law, so it should not be used to quote legal provisions. On Windows 11 with Smart App Control, unsigned launchers such as uvx.exe and pip.exe are blocked; the README advises running the module through the signed Python interpreter and warns against disabling Smart App Control. Queries go to the external BCN endpoint.

Installation

In SourceWeft

  1. Open Cl Eli Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

cl-eli-mcp

MCP server for Chilean legislation via the BCN (Biblioteca del Congreso Nacional de Chile) Linked Open Data SPARQL endpoint. Searches and fetches laws, decrees, and resolutions by their persistent resource URI.

What this is not

BCN's resource URIs are not formally called ELI, but they carry the same idea: jurisdiction, type, issuing body, date, number, all in one dereferenceable URI. This connector returns metadata (title, number, dates, issuing body) - not the operative text of the law. Following source_url (the same URI, content-negotiated) takes you to the human-readable page.

Tools

ToolPurpose
cl_search_normsFull-text search over norm titles
cl_get_normFull detail for one norm by its BCN resource URI
cl_coverageDeclare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback.

Every response carries lex_uri and source_url (both the BCN resource URI) and human_readable_citation (e.g. "Ley 18290, de 1984-01-23").

Install

bash
pip install cl-eli-mcp

Windows 11 with Smart App Control

Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe and the cl-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:

bash
python -m pip install cl-eli-mcppython -m cl_eli_mcp

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 cl_eli_mcp.

json
{ "mcpServers": { "cl-eli-mcp": { "command": "python", "args": ["-m", "cl_eli_mcp"] } } }

Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.

Configuration

Env varDefault
CL_ELI_CACHE_DIR~/.matematic/cache/cl-eli
CL_ELI_AUDIT_DIR~/.matematic/audit
CL_ELI_BASE_URLhttps://datos.bcn.cl/sparql

License

Apache-2.0 (code). BCN Linked Open Data is a public government dataset (see SOURCES.md).

Source: README.md at commit 177ee0f

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.3.3LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts