simonw/browser-compat-db

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Browser compatibility data is now a single downloadable 66MB SQLite file with open CORS headers, so developers and AI tools can query it directly instead of scraping MDN.

Read this as

Mozilla's MDN publishes a large dataset showing which web features work in which browsers. Simon Willison converted that dataset into a single database file, about 66MB, that anyone can download. He used AI coding tools to write both the conversion script and the automation that publishes it. Web developers building sites that must work across browsers can now query this data directly.

Willison released browser-compat-db, turning Mozilla's browser compatibility data into a ~66MB SQLite file hosted on GitHub's CDN with open CORS headers. Notably, two different AI tools did the work: a Claude Code-generated Python script built the database using sqlite-utils, and Codex Desktop (GPT-5.5) wrote the GitHub Actions workflow that publishes it. The project also demonstrates a practical workaround: GitHub releases lack CORS headers, so the file lives on an orphan 'db' branch instead.

Inspired by MDN's new MCP server, Willison converted mdn/browser-compat-data into a ~66MB SQLite database. A build_db.py script, generated by Claude Code for web using Opus 4.8, performs the conversion with sqlite-utils. Because GitHub releases lack CORS headers, a GitHub Actions workflow built by Codex Desktop (GPT-5.5) force-pushes the database to an orphan 'db' branch, where regular repo files get open CORS headers. The result is downloadable and explorable via Datasette Lite.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

browser-compat-db MDN MDN MCP server sqlite-utils Datasette Lite Claude Code

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading