MCP Legal Chile
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| REDIS_URL | No | Redis connection URL (optional; if missing, only in-memory cache) | |
| MCP_API_KEYS | No | API keys format: name:key:limit,... (if empty, open access) | |
| BRAVE_API_KEY | No | Brave Search API key | |
| SEARCH_API_KEY | No | Generic search API key (used if SEARCH_PROVIDER is not set to a specific provider) | |
| SERPER_API_KEY | No | Serper.dev API key | |
| WARMUP_ON_BOOT | No | Enable warmup on boot (1 or 0, default 1) | |
| CIRCUIT_OPEN_MS | No | Circuit breaker open duration in ms | |
| PACK_TIMEOUT_MS | No | Pack timeout in ms | |
| SEARCH_PROVIDER | No | Search provider: auto | serper | brave | |
| CIRCUIT_THRESHOLD | No | Circuit breaker failure threshold | |
| UNIFIED_BUDGET_MS | No | Fan-out unified budget in ms | |
| LEYCHILE_MIN_INTERVAL_MS | No | Minimum interval in ms between LeyChile requests |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| buscar_legislacionB | Busca normativa chilena en BCN / LeyChile. Para texto íntegro usa obtener_texto_norma / obtener_articulo. |
| obtener_normaC | Metadatos BCN de una norma chilena. |
| estado_normaC | Metadatos de publicación y enlaces a historia LeyChile. Confirma siempre en la fuente oficial. |
| normas_relacionadasC | Candidatas relacionadas por similitud BCN + enlace a historia LeyChile. |
| obtener_texto_normaC | XML oficial. modo=indice lista artículos; modo=cuerpo devuelve texto (truncable). |
| obtener_articuloC | Artículo puntual del XML oficial de LeyChile. |
| obtener_incisoC | Extrae inciso/literal aproximado del texto oficial del artículo. |
| formatear_citaB | Genera cadena de cita formal SOLO con identificadores ya recuperados (norma, ROL, dictamen o doctrina). No inventa datos. |
| citar_texto_legalC | Devuelve cita formal chilena + texto oficial de LeyChile listo para pegar en un escrito (blockquote). |
| obtener_doctrinaB | Recupera una obra doctrinal con cita chilena, APA, abstract y enlaces DOI/PDF. |
| buscar_jurisprudenciaC | Links a fallos PJUD/TC (evidencia link_only). Filtros opcionales anio/tribunal. |
| buscar_tcB | Búsqueda acotada a tribunalconstitucional.cl (link_only). |
| buscar_doctrinaC | OpenAlex + Crossref con citas formales Chile/APA, DOI, abstract y PDF si existe. |
| buscar_dictamenesD | Contraloría / administración (link_only). |
| resolver_dictamenC | Deep-link / búsqueda por número de dictamen CGR. |
| buscar_derecho_chilenoC | Fan-out con presupuesto de tiempo; puede devolver pendingSources. |
| investigar_temaB | Orquesta legislación (+ artículo si aplica), jurisprudencia, dictámenes y doctrina en un memo markdown anti-alucinación. |
| acerca_deD | Catálogo, matriz de honestidad y SLOs. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| consulta_juridica_chile | Responde solo con tools MCP Legal Chile. |
| citar_articulo_ley | Obtiene y formatea un artículo oficial. |
| memo_asesoria | Estructura IRAC con citas obligatorias de tools. |
| checklist_recurso_proteccion | Pasos y tools a invocar antes de redactar. |
| checklist_demanda_laboral | Normas CT + jurisprudencia a verificar. |
| lista_prueba_normativa | Qué artículos pedir antes de redactar. |
| citar_doctrina_y_norma | Combina cita doctrinal formal con blockquote del artículo oficial de LeyChile. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 18 tools
Each tool targets a distinct legal resource or action: search tools (buscar_*) are separated by domain (legislación, jurisprudencia, doctrina, dictámenes, TC); retrieval tools (obtener_*) handle specific entities; citation and formatting tools are unique; investigar_tema orchestrates searches. No ambiguity.
Most tools follow a verb_noun pattern (buscar_, obtener_, citar_, formatear_). A few deviate (acerca_de, estado_norma, normas_relacionadas) but the pattern is clear overall.
18 tools is well-scoped for legal research: enough to cover search, retrieval, citation, and investigation without bloat. Each tool serves a clear purpose.
Covers the full legal research workflow: search across all major sources, retrieve full texts and metadata, format citations, and compose topic memos. No obvious gaps for a read-only legal information system.