Guide · Chile norms and companies

Chile Official Gazette (Diario Oficial) API: laws, decrees, notices and new companies as JSON

How to query Chile's Official Gazette from your code or an AI agent: each edition's general and specific norms, featured notices and the companies incorporated, amended or dissolved, with the CVE and the official PDF link, as clean JSON with Better Llama's MCP tool, with no key.

What is Chile's Official Gazette and what does it publish?

The Diario Oficial de la República de Chile is where laws, decrees and resolutions that everyone must be able to know are published, along with notices and the extracts of company incorporations, amendments and dissolutions. It is published at diariooficial.interior.gob.cl; each publication has an electronic verification code (CVE) and an official PDF. There is normally no edition on Sundays.

Following it by hand is tedious: the summary changes daily, companies are published by the hundreds and the content is split across several pages per section. For legal, compliance, B2B sales or market-research teams, what helps is getting each edition as data: which norm came out, from which ministry, and which companies were created yesterday, with the link to the official document to verify it.

Better Llama's Official Gazette tool (over MCP)

Our Official Gazette: norms and companies tool, search_chile_official_gazette, reads each edition's summary and returns it ready to use:

  • General and specific norms, with branch of government, institution, category and title.
  • Featured notices and the Companies and Cooperatives section: incorporations, amendments, dissolutions and migrations, with company name and type.
  • CVE, official PDF link, edition number and attribution in every result.
  • Ranges of up to 31 days per call, with editions since 2016-08-17, and filters by company act, company type and keywords.

Use it as an MCP tool from Claude, Cursor or other agents, or over HTTP with JSON-RPC from any language. For privacy it does not extract Judicial Publications or Trademarks and Patents.

Step by step: query the Official Gazette

Step 1. Choose the sections

The sections argument sets which parts of the edition you want; empty returns all. These are the sections and what the tool returned for edition No. 44604 of Friday, November 20, 2026:

Section (sections)What it publishesItems on 2026-11-20
normas_generales · General normslaws, decrees, resolutions and extracts of general scope29
normas_particulares · Specific normsdecrees, resolutions and extracts of specific scope12
avisos · Featured noticesnotices from public and private bodies12
empresas · Companies and Cooperativesincorporations, amendments, dissolutions and migrations of companies200+

Each call returns at most 200 results: the Companies section hit that cap that day (stopReason "maxItems"). The same day there were 89 incorporations: 64 sociedades por acciones (SpA), 21 limited liability companies, 2 EIRL, 1 corporation (S.A.) and 1 notarial record.

Step 2. Connect the MCP server

Use the MCP https://mcp.betterllama.com/mcp in your client or call it over HTTP with JSON-RPC, as in the examples. This tool needs no key and no account or sign-up during the beta.

Step 3. Build your query

ParameterWhat it does
fromDate / toDateEdition range (YYYY-MM-DD, up to 31 days). No dates = today's edition, Chile time
sectionsnormas_generales, normas_particulares, avisos or empresas. Empty = all
empresaActsFilters the Companies section: CONSTITUCIÓN, MODIFICACIÓN, DISOLUCIÓN or MIGRACIÓN
companyTypesCompany type containing the text, e.g. "Acciones" (SpA), "Anónimas" or "Responsabilidad Limitada"
keywordsWords that must appear in the title, institution or category (Spanish, no accents or capitals); any one matches
includeExtraordinaryIncludes extraordinary editions (default: yes)
maxItemsMaximum results, 1 to 200 (default 30)

Step 4. Call the tool with curl

A JSON-RPC POST returns the result as JSON. This call fetches the first two general norms of the November 20, 2026 edition:

curl
curl -s https://mcp.betterllama.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "search_chile_official_gazette", "arguments": {"fromDate": "2026-11-20", "toDate": "2026-11-20", "sections": ["normas_generales"], "maxItems": 2}}}'

The same in Python

Count the companies incorporated in one edition by type and list this week's general norms from the Finance Ministry (Hacienda):

python
import json
from collections import Counter
import requests

URL = "https://mcp.betterllama.com/mcp"
HEADERS = {"Accept": "application/json, text/event-stream"}

def search(arguments):
    body = {"jsonrpc": "2.0", "id": 1, "method": "tools/call",
            "params": {"name": "search_chile_official_gazette", "arguments": arguments}}
    resp = requests.post(URL, json=body, headers=HEADERS, timeout=120)
    resp.raise_for_status()
    return json.loads(resp.json()["result"]["content"][0]["text"])

# Companies incorporated in the 2026-11-20 edition, by type
inc = search({"fromDate": "2026-11-20", "toDate": "2026-11-20", "sections": ["empresas"],
              "empresaActs": ["CONSTITUCIÓN"], "maxItems": 200})
print("Incorporations:", inc["count"])
for kind, n in Counter(r["category"] for r in inc["results"]).most_common(3):
    print(f"  {n:>3}  {kind}")

# General norms from the Finance Ministry published this week
norms = search({"fromDate": "2026-11-16", "toDate": "2026-11-20", "sections": ["normas_generales"],
                "keywords": ["hacienda"], "maxItems": 3})
for r in norms["results"]:
    print(r["date"], "CVE", r["cve"], r["title"][:70])

Real output (November 21, 2026, 14:20 Chile time):

output
Incorporations: 89
   64  Sociedades por Acciones
   21  Sociedades de Responsabilidad Limitada
    2  Empresas Individuales de Responsabilidad Limitada
2026-11-17 CVE 2904910 Ley número 21.857.- Establece medidas para contener las alzas de los p
2026-11-18 CVE 2905428 Decreto exento número 321, de 2026.- Determina el componente variable 
2026-11-18 CVE 2901775 Extracto de resolución exenta número 98-2026-12948, de 2026.- Modifica

From JavaScript or any other language, a POST with the same JSON-RPC body is enough (for example, with fetch).

Use the Official Gazette API from an AI agent (MCP)

Add the Better Llama MCP server to your client (Claude, Cursor, VS Code or any other with remote MCP). One MCP brings search_chile_official_gazette and the rest of the catalog, with no sign-up during the beta.

Cursor · mcp.json
{
  "mcpServers": {
    "better-llama": {
      "url": "https://mcp.betterllama.com/mcp"
    }
  }
}
Claude Code
claude mcp add --transport http better-llama https://mcp.betterllama.com/mcp

Setup for Claude, Codex, Gemini CLI, Windsurf, VS Code and other clients: connect your agent.

Ready-to-run Python and Node.js examples, with config files for each client: examples repository on GitHub.

Then ask, for example: "Which Energy Ministry decrees were published in Chile's Diario Oficial this week? Give me the CVE and the PDF link."

Beta: free with no sign-up while we test the service.

Which fields it returns

Each row in results has date, edition, extraordinaryEdition, section and sectionKey, group (branch of government or company act), institution (for norms), category, title, companyName (for companies), cve, pdfUrl, sourceUrl and attribution. The response also includes count, warnings, stopReason, source and retrievedAt. Values are in Spanish, as published.

Real, complete response to the curl call above (November 21, 2026, 14:19 Chile time):

json
{
  "tool": "search_chile_official_gazette",
  "count": 2,
  "results": [
    {
      "kind": "publicacion",
      "date": "2026-11-20",
      "edition": "44604",
      "extraordinaryEdition": false,
      "section": "Normas Generales",
      "sectionKey": "normas_generales",
      "group": "PODER EJECUTIVO",
      "institution": "MINISTERIO DEL INTERIOR",
      "category": "Subsecretaría del Interior",
      "title": "Rectificación de decreto con fuerza de ley Nº 1-21.769, de 2026",
      "redacted": false,
      "cve": "2906646",
      "pdfUrl": "https://www.diariooficial.interior.gob.cl/publicaciones/2026/11/20/44604/01/2906646.pdf",
      "sourceUrl": "https://www.diariooficial.interior.gob.cl/edicionelectronica/index.php?date=20-11-2026&edition=44604&v=1",
      "attribution": "Diario Oficial de la República de Chile, edición N° 44604 del 20-11-2026 (diariooficial.interior.gob.cl). Contenido no alterado; verifica el texto oficial con su CVE."
    },
    {
      "kind": "publicacion",
      "date": "2026-11-20",
      "edition": "44604",
      "extraordinaryEdition": false,
      "section": "Normas Generales",
      "sectionKey": "normas_generales",
      "group": "PODER EJECUTIVO",
      "institution": "MINISTERIO DEL INTERIOR",
      "category": "Servicio Nacional de Migraciones / Dirección Nacional",
      "title": "Resolución exenta número 18.347, de 2026.- Fija texto refundido de delegación de facultades y de firma en funcionarios del Servicio Nacional de Migraciones y deja sin efecto resoluciones exentas N° 23.499, de 2025, y N° 8.930, de 2026",
      "redacted": false,
      "cve": "2902225",
      "pdfUrl": "https://www.diariooficial.interior.gob.cl/publicaciones/2026/11/20/44604/01/2902225.pdf",
      "sourceUrl": "https://www.diariooficial.interior.gob.cl/edicionelectronica/index.php?date=20-11-2026&edition=44604&v=1",
      "attribution": "Diario Oficial de la República de Chile, edición N° 44604 del 20-11-2026 (diariooficial.interior.gob.cl). Contenido no alterado; verifica el texto oficial con su CVE."
    }
  ],
  "warnings": [],
  "stopReason": "maxItems",
  "attribution": "Fuente: Diario Oficial de la República de Chile (se indica edición y fecha en cada resultado).",
  "source": "https://www.diariooficial.interior.gob.cl/",
  "retrievedAt": "2026-11-21T17:19:02.473Z"
}

Price

Free during the beta, with no sign-up and a limit of 60 requests per minute per IP. If paid plans come later, we will announce them on betterllama.com first. This tool needs no key.

Frequently asked questions

Does Chile's Official Gazette have an API?

The Diario Oficial publishes its edition on the web and as PDFs. Better Llama's search_chile_official_gazette tool returns that content as JSON, over MCP or JSON-RPC, with no key: norms, notices and companies with their CVE and official PDF link.

How do I see the companies incorporated today or yesterday?

Call the tool with sections "empresas", empresaActs "CONSTITUCIÓN" and the edition date. On November 20, 2026 there were 89 incorporations, 64 of them sociedades por acciones (SpA). With companyTypes you can keep only SpA, corporations or limited liability companies.

Can I search laws and decrees by ministry or topic?

Yes. Use sections "normas_generales" or "normas_particulares" and keywords with the ministry or topic in Spanish, without accents. For example, "hacienda" between November 16 and 20, 2026 returns Law 21.857, published on November 17 (CVE 2904910).

What is the Official Gazette CVE?

It is each publication's electronic verification code. Every result includes it along with pdfUrl, the official PDF link, so you can verify the text at the source.

Which dates can I query?

Up to 31 days per call, with editions since 2016-08-17. Without dates, today's edition (Chile time) is used. There is normally no edition on Sundays.

Can I reuse Official Gazette data?

The Diario Oficial's terms allow reuse, including for commercial purposes, as long as the content is not altered and the source and edition date are stated. Every result includes attribution, cve and pdfUrl to comply.

Does it include judicial publications or trademarks?

No. For privacy, the tool does not extract Judicial Publications or Trademarks and Patents.

Do I need a key for the Official Gazette API?

No. It is free during the beta, with no sign-up and a limit of 60 requests per minute per IP.

Can I use the Official Gazette API from Claude, Cursor or another AI agent?

Yes. Add the Better Llama MCP server (https://mcp.betterllama.com/mcp) to your client and the agent can use search_chile_official_gazette to review norms and companies in natural language.

Other guides

This guide is also available en español.