Research note

Small pilot: what do local-government robots.txt files say about AI crawlers?

A method note from ValleyFill. Run on . This is a small pilot, not a survey of all local governments.

The short version

We read the public robots.txt file of 400 randomly sampled local-government .gov domains. Of the 200 files we could read, 72 mention at least one AI crawler, 16 fully disallow at least one AI crawler, and 17 disallow all crawlers. Mentioning a crawler is not the same as blocking AI. We name no agency, and we make no claim about anyone's accessibility, readiness or compliance.

What we did

Results

Outcome of the robots.txt request for the 400 sampled domains
OutcomeDomains
Readable robots.txt200
No robots.txt (404 or 410, or a web page returned instead)77
Could not connect from our server (timeouts, TLS or DNS errors)99
HTTP 40323
Other (HTTP 400)1

Of the 200 readable files:

An earlier run on the same sample the same day found 203 readable files and the same 72 and 17.

Limits to keep in mind

Reproduce it

The scripts are plain Python (standard library only): one for sampling and requests, one for counting. We will share them on request at hello@valleyfill.com. Please don't scale this up against government servers without care: we kept it to a handful of small requests per domain.

Why we did it

The Georgetown Beeck Center report Making Government a Trusted Source in AI Systems (14 October 2026), covered by StateScoop on 16 October 2026, names access as one of three factors governments control: making sure legitimate AI crawlers can reach public information. This pilot measures one small piece of that: what public robots.txt files say.