Home / Sites / legislation.gov.uk
How legislation.gov.uk treats AI agents
legislation.gov.uk is open to AI agents: no bot wall, no JavaScript needed, robots.txt restricts some paths, no llms.txt, feed or sitemap. A plain HTTP fetch works.
| Fact | Value | Source |
|---|---|---|
| Access | Open | Registry check, unverified, 8 Nov 2026 |
| Bot wall | None | Registry check, unverified, 8 Nov 2026 |
| JavaScript needed | No | Registry check, unverified, 8 Nov 2026 |
| robots.txt | Restricts some paths | Registry check, unverified, 8 Nov 2026 |
| Machine interface | None found | Registry check, unverified, 8 Nov 2026 |
| AI training (robots.txt) | No preference stated | Registry check, unverified, 8 Nov 2026 |
Listed in
Questions
Does legislation.gov.uk block AI bots?
No. legislation.gov.uk is open to AI agents.
Does legislation.gov.uk need JavaScript?
No. The page has real content without JavaScript.
Does legislation.gov.uk have an llms.txt?
No llms.txt was found.
Does legislation.gov.uk use a bot wall?
No bot wall was seen.
How should an agent fetch legislation.gov.uk?
A plain HTTP fetch works.
Use this from an agent
JSON: /v1/origins/legislation.gov.uk. MCP: https://onlinewebdirectory.net/mcp, tool lookup_origin. Setup: install notes.