search_cfr
Search the Code of Federal Regulations for current text with excerpts, headings, and hierarchy. Filter by agency, title, chapter, part, or date to narrow.
Instructions
Full-text search across the Code of Federal Regulations.
Returns matching sections with excerpts, headings, scores, and hierarchy.
CRITICAL: Set current_only=True (default) to search only in-effect text. Without it, search returns ALL historical versions including superseded, so a section amended 5 times appears 5 times.
Search caps at 10,000 total results. Use hierarchy filters (title, chapter, part) to narrow if you hit the cap.
order controls result ordering: 'relevance' (default), 'newest_first', 'oldest_first', 'hierarchy', or 'citations'.
agency_slugs filters to one or more agencies (single slug string or a list, e.g. 'defense-acquisition-regulations-system'). Use list_agencies() to find slugs.
last_modified_after/before use YYYY-MM-DD format and filter by the date sections were last amended. Useful for finding recent regulatory changes.
per_page accepts 1 to 5000 (default 20); paginate with page for more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| part | No | ||
| order | No | ||
| query | Yes | ||
| title | No | ||
| chapter | No | ||
| section | No | ||
| subpart | No | ||
| per_page | No | ||
| agency_slugs | No | ||
| current_only | No | ||
| last_modified_after | No | ||
| last_modified_before | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||