Skip to main content

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

Tool Purpose
cl_search_norms Full-text search over norm titles
cl_get_norm Full detail for one norm by its BCN resource URI

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

pip install cl-eli-mcp

Windows 11 ze Smart App Control

Smart App Control blokuje niepodpisane pliki wykonywalne, a uvx.exe, pip.exe i generowany przy instalacji cl-eli-mcp.exe podpisane nie sa. python.exe z python.org jest podpisany przez Python Software Foundation, wiec uruchomienie przez modul omija blokade:

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

Nie wylaczaj Smart App Control, zeby to obejsc - wylaczenia nie da sie cofnac bez ponownej instalacji systemu.

Configuration

Env var Default
CL_ELI_CACHE_DIR ~/.matematic/cache/cl-eli
CL_ELI_AUDIT_DIR ~/.matematic/audit
CL_ELI_BASE_URL https://datos.bcn.cl/sparql

License

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cl_eli_mcp-0.2.1.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cl_eli_mcp-0.2.1-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file cl_eli_mcp-0.2.1.tar.gz.

File metadata

  • Download URL: cl_eli_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cl_eli_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f6659e76a160556f5cafa89f3362d13cf0e8171be2aa8b6c8d79fd9999a5f160
MD5 c03433eeccb5c4896bc61c937c8c21cd
BLAKE2b-256 f3a9ded5fd3808f9922c99a11f6b3b4b6035f093ceb1fa894add135c52e53780

See more details on using hashes here.

File details

Details for the file cl_eli_mcp-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: cl_eli_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cl_eli_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4f86e8ef6f3638949f6bf43f80b97ddc7b05eec1a01d0e76ebb491969bfe63e
MD5 115f7b49edeb762983413d0ceb9e3b66
BLAKE2b-256 d4eb676dd1df030d55b30f21ec2ef3a7e0aac5c5542dbf71af18564b4d28e4ae

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page