Skip to main content
Glama
io.github.billibu-n/mcp-leyes-chile

io.github.billibu-n/mcp-leyes-chile

by billibu-n

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_LEYES_DBNoRuta al archivo de base de datos SQLite del corpus (por ejemplo, /ruta/a/corpus.db).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Servidor de leyes chilenas y labor notarial. Orden de uso: cl_buscar -> cl_articulo -> cl_citar. Nunca cites sin llamar a cl_articulo. Si una herramienta devuelve [sin_fuente], [not_found] o [upstream_error], dilo tal cual. Toda respuesta con contenido juridico debe conservar el campo 'aviso'. La cobertura real se consulta con cl_cobertura; no la supongas.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
cl_buscarC

Busca articulos por texto. Devuelve idNorma, norma, articulo y fragmento.

cl_articuloC

Texto literal + objeto de cita. Sin fuente no devuelve texto.

cuerpo desambigua compendios (DFL 1): "Código Civil", "Ley 4.808", etc.

cl_versionesC

Historial de versiones con rango de vigencia y advertencia de centinela.

cl_citarC

Verifica un lote de referencias. Devuelve ok, faltantes y sin_fuente_verificable.

cl_notariaC

Ficha de tramite notarial con fuente y estado por campo. No calcula precios.

cl_documentoC

Genera .odt (siempre) y deriva .pdf/.docx/.md. Marca de borrador obligatoria.

cl_coberturaA

Que cubre el servidor, hasta cuando, y que NO cubre.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 7 tools

Disambiguation4/5

Each tool targets a distinct operation: search (cl_buscar), article retrieval (cl_articulo), version history (cl_versiones), citation verification (cl_citar), notarial procedures (cl_notaria), document generation (cl_documento), and coverage (cl_cobertura). The clearest risk is cl_buscar vs cl_articulo, but descriptions separate search-by-text from fetch-by-id sufficiently. cl_citar vs cl_articulo could momentarily confuse an agent but the verification framing differentiates them.

Naming Consistency4/5

All names share a consistent cl_ prefix with short, readable Spanish tokens, which is a clear convention. However, it mixes verbs (buscar, citar) with bare nouns (articulo, versiones, notaria, documento, cobertura), so the verb_noun predictability breaks down slightly. Still readable and internally cohesive overall.

Tool Count5/5

Seven tools is well within the ideal 3-15 range for a domain-specific legal research server. Each tool maps to a distinct workflow step (search, retrieve, version-check, cite, notarial, export, coverage), so none feel redundant. The surface is tightly scoped rather than padded.

Completeness4/5

The lifecycle is well covered: discovery, retrieval, version history, citation validation, notarial support, document export, and an explicit coverage disclaimer. A minor gap is browsing a norm's structure or listing all articles of a given norm, which would help navigation without prior knowledge. Also no explicit update/'recent changes' style tool beyond version history per article.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues