Oklahoma Code
v0.2.1Oklahoma Statutes — state statutes by citation, full-text topic search, amendment history, and…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ok_statute
Get the FULL TEXT of a section of the Oklahoma Statutes by citation, e.g. "21-701.7" (Murder in the First Degree) or "41-111" (termination of tenancy). Accepts "21-701.7", "21 O.S. 701.7", or "21 O.S. § 701.7". Returns the current statutory text, its chapter breadcrumb, the "Cite as" line, its full amendment history (every amending Act), and a historical_versions list of every prior (superseded) version with a citeid you can pass back as version_citeid to retrieve that EXACT prior text. Keyless. Use for "what does 21 O.S. 701.7 say", "Oklahoma murder statute", or to check an Oklahoma statute…
| Parameter | Type | Description |
|---|---|---|
citation * | string | Section citation as title-section, e.g. "21-701.7" or "41-111". The title is the part before the dash/space and may carry a letter suffix (e.g. "10A-1" or "85A-45"). |
version_citeid | number | Optional. A "citeid" value from a previous result's historical_versions array — fetches that superseded version's exact text instead of the current one. When set, "citation" is optional (used only t… |
ok_search
Search the Oklahoma Statutes by TOPIC or keyword rather than citation, e.g. "landlord", "concealed carry permit", "DUI per se limit". Real full-text search over statutory body text (not just captions) — a query like "landlord" surfaces sections whose heading never says "landlord" (e.g. "Termination of Tenancy", 41 O.S. § 111). Returns matching citations, headings, effective dates, and relevancy. Call ok_statute with a result's citation for the full text. Keyless.
| Parameter | Type | Description |
|---|---|---|
query * | string | Topic or keywords, e.g. "landlord security deposit". |
limit | number | Max results to return, default 10, max 50. |
ok_titles
List all 94 titles of the Oklahoma Statutes with their official names, e.g. Title 21 is Crimes and Punishments, Title 41 is Landlord and Tenant. Routing help for when you know the subject but not the title number — call this or ok_search before guessing a citation. Keyless.