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 | |
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/gabrielperezibacache/mcp-legal-chile'
If you have feedback or need assistance with the MCP directory API, please join our Discord server