Illinois Compiled Statutes — state statutes by citation, plus topic search.
MCPpedia last refreshed this data
io.github.pipeworx-io/illinois-code is an MCP server that illinois Compiled Statutes — state statutes by citation, plus topic search. Its tool list has not been published yet over http, requires no API key, and scores 85/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"illinois-code": {
"url": "https://gateway.pipeworx.io/illinois-code/mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Illinois Compiled Statutes — state statutes by citation, plus topic search.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @pipeworx/mcp-illinois-code against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in legal
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
Amazon, Walmart, TikTok Shop, Meta Ads, 1688, Shopee, Temu & social data API (200+ MCP tools).
Search Swedish parliamentary documents, speeches, votes, members, and statutes.
1M+ Swiss court decisions, statutes & doctrine with citation graph (DE/FR/IT). CC0, free, 42 tools.
MCP Security Weekly
Get CVE alerts and security updates for io.github.pipeworx-io/illinois-code and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Keyless. 720 ILCS 5/9-1 is first degree murder.
Part of Pipeworx — an MCP gateway connecting AI agents to 1865+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
720 ILCS 5/9-1 -> ?DocName=072000050K9-1
^^^^chapter ^^^^act 0 K+section
Chapter and act zero-padded to four. The site navigates by internal ChapterID and ActID, but none of that is needed — the citation carries everything.
Earlier probes used the OLD path (fulltext.asp, now 404 after a site
restructure) and a needle that does not appear in the statute. Two independent
mistakes producing the same "no", which read as "Illinois is unreachable"
rather than "you asked wrong".
The live site's FullText endpoint is unreachable from a Cloudflare Worker for
a different, unfixable reason: ilga.gov serves an incomplete TLS certificate
chain (its own leaf certificate with no intermediate). curl on a machine
whose OS trust store already has the missing Sectigo intermediate succeeds;
fetch() — Cloudflare's or plain Node's, both strict — fails outright (HTTP
526 at the gateway; fetch failed from Node directly). No retry fixes a
certificate chain, which is why illinois-code read upstream_down every day
for 14 straight days before this shipped.
ILGA's own "Access Denied" page for automated traffic to ilga.gov names the fix:
a public, nightly-synced file repository at ftp.ilga.gov explicitly meant for
bulk/automated consumption ("Automated systems should retrieve files from the
repository rather than scraping ILGA.gov"). scripts/ingest-il-statutes.mjs
walks it — outside Workers, where curl still works — and writes one JSON
bundle per CHAPTER (68 objects, not 72,000 — one per act or per section would
cost the same per-write and there is no reason to pay for it) into the shared
pipeworx-datasets R2 bucket at statutes/il/<chapter>.json.
il_compiled_statute tries the local bundle first. If the chapter/act has
been crawled and the section simply is not in it, that is authoritative — no
point retrying a live path that currently fails for every citation regardless
of validity — and the tool says section_not_found directly. If the
chapter/act has not been crawled at all, it falls back to the live fetch.
data_as_of on every response says whether it came from the pre-fetched text (the
crawl's ingested_at) or a live fetch (now).
il_statute_search answers questions no citation lookup can — "currency
exchange license fee", "concealed carry reciprocity" — via FTS5 in the shared
SEARCH_SHARD Durable Object (workers/gateway/src/search-shard.ts, shard name
il-statutes; reused, not a new Cloudflare binding — the gateway sits at its
text-binding ceiling). The FTS body is the section's heading + full text, not
just the heading: the DO's contentless design exists to avoid duplicating
opinion text at case-law's 46 GB scale, which does not apply at this corpus's
size, and a topic query's words are far more often in a section's body than in
its short heading. Hit ids resolve back to citations via
statutes/il/_index.json. Search hits carry a citation and heading; call
il_compiled_statute with the chapter/act/section from a result for the full
text.
Live fallback: 200 with no Sec. heading — detected structurally, unchanged
from the original pack. Pre-fetched: the chapter/act bundle exists but the
section is not in its sections array.
node scripts/ingest-il-statutes.mjs — re-run periodically (Illinois's
legislative session runs annually; there is no daily-freshness need here). No
schedule is wired up: dispatch it by hand, or via gh workflow run if/when a
workflow is added — GitHub's own `sch