ecfr-api

Retrieve current and historical CFR text from the eCFR API.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/BdM-15/shipley-bd-capture-skills --skill ecfr-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ecfr-api
Source: https://github.com/BdM-15/shipley-bd-capture-skills/tree/main/govcon-skills/ecfr-api
Command: npx skills add https://github.com/BdM-15/shipley-bd-capture-skills --skill ecfr-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables researchers, compliance teams, and policy analysts to access current and historical CFR text via the eCFR API, enabling rapid regulatory analysis and comparison across dates.

Core Features & Use Cases

  • Retrieve current or historical CFR sections by title/part/section with deterministic date handling
  • Navigate CFR structure (Title > Chapter > Subchapter > Part > Section) and extract targeted content
  • Use case: compare regulation text between two dates or fetch definitions and provisions for a given citation

Quick Start

Call the eCFR API with a title number and a date to retrieve current or historical regulation text

Frequently Asked Questions about ecfr-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve historical federal regulations text by date?

To retrieve historical federal regulations text, query the eCFR API with a specific title number and date. The Skill applies deterministic date handling to fetch and parse the exact regulatory provisions that were in effect on that date.

Can I compare regulation text between two different dates for compliance analysis?

Yes, you can compare regulation text between two dates by retrieving historical CFR text for each date via the eCFR API. This supports compliance analysis by highlighting differences in provisions across specific time periods.

How do I navigate the CFR structure to find a specific regulatory clause?

You navigate the CFR structure by traversing from Title down through Chapter, Subchapter, Part, and Section. The Skill extracts targeted content and metadata to support precise clause lookups across the regulatory hierarchy.

Does the eCFR API return raw XML for federal regulations parsing?

Yes, the eCFR API supports XML retrieval and parsing for federal regulations. The Skill processes the XML payload to expose structured metadata and text, enabling downstream workflows to consume the regulatory data directly.

What's the best way to look up regulatory definitions for a given CFR citation?

The best way to look up regulatory definitions is to apply the Skill to a given CFR citation. It queries the eCFR API to fetch current or historical text, extracting the relevant definitions and provisions tied to that specific citation.

Are there limitations when fetching version history for large CFR titles?

A key constraint involves deterministic API usage with date handling, which requires precise date parameters to avoid retrieval errors. The Skill enforces structured metadata extraction, so malformed queries for large titles may fail without proper Title and Part navigation.