Every federal rule that gets proposed generates a public record: a docket, the
agency's documents, and the comments people file on it. That record is public
but awkward to work with — paginated APIs, rate limits, no bulk access, and no
way to join it to the rest of the federal picture.
Spicy Regs turns it into files you can query. A nightly pipeline reads
regulations.gov data (via the public
Mirrulations mirror) plus a
dozen complementary federal sources, and publishes the result as Parquet and
Apache Iceberg on Cloudflare R2 — public, anonymous read, no API key.
You can query ~25M public comments from a laptop, a browser tab, or an AI
assistant, without downloading a database or asking anyone for access.
This repo is the pipeline, the rollups, and the read-only MCP server. It's a
Civic Tech DC project and new contributors are
welcome — see CONTRIBUTING.md.
Contents
Try it without installing anything
One line of SQL against the public bucket — no credentials, no download:
-- DuckDB, anywhere: CLI, notebook, or the browser
SELECT agency_code, comment_count
FROM read_parquet('https://data.spicy-regs.dev/agency_stats.parquet')
ORDER BY comment_count DESC
LIMIT 10;
What's in the corpus
Everything is published under https://data.spicy-regs.dev with public,
anonymous read. Per-column reference and exact row counts live in the
data dictionary — it's generated from the
schemas in this repo and kept in sync by CI, so it never drifts from what's
actually published.
Core regulations.gov tables
| Table | What it is | Scale |
|---|
dockets | Regulatory proceedings | ~276K rows |
documents | Documents within dockets | ~2.0M rows |
comments | Public comments (Hive-partitioned Parquet + an Iceberg table) | ~25.4M rows |
Rollups — small, denormalized, meant to be read whole: feed_summary,
agency_stats, agency_monthly_volume, docket_daily_comment_volume,
comments_index, docket_search, rulemaking_lifecycles, discovery_signals,
fr_docket_links, state_program_approvals.
Complementary federal sources — each ingested from its own API so the
rulemaking lifecycle, the organizations engaged in it, and its downstream
context are all joinable in one place: