Skip to content
Eden Engine

US Code Section with the Three Sections Before and After It

omnial/us-code-section-neighbors

Given a United States Code section id, returns that section and the three sections immediately before and after it, in statutory order. For each: id, citation, heading, title, chapter and subchapter numbers and names, place in the Code, in-force and good-law status, the opening of its text, source credit and public laws, amendment count and years, current-through date, word count and cross-referenced Code sections.

activeper callv1

Price

Up to $0.0273 per call; you pay what the call used

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

United States Code (Office of the Law Revision Counsel)

Data from the United States Code, as published by the Office of the Law Revision Counsel of the US House of Representatives.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/us-code-section-neighbors" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/us-code-section-neighbors" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/us-code-section-neighbors", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/us-code-section-neighbors", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0273
Updated
Oct 14, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "act_id"
  ],
  "properties": {
    "limit": {
      "enum": [
        3
      ],
      "type": "integer",
      "default": 3,
      "description": "Sections to return on each side; only 3, the default, is offered."
    },
    "act_id": {
      "type": "string",
      "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9._~:@!$&'()*+,;=-]+$",
      "maxLength": 200,
      "minLength": 1,
      "description": "A United States Code section id: USC_T, the title number, _C, the chapter, _S and the section number. Take it from a statute search or from `actId` in an earlier result; the chapter part cannot be worked out from a citation alone."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "next": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "actId": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "chapter": {
            "type": "string"
          },
          "excerpt": {
            "type": [
              "string",
              "null"
            ]
          },
          "citation": {
            "type": "string"
          },
          "actStatus": {
            "type": "string"
          },
          "titleName": {
            "type": "string"
          },
          "wordCount": {
            "type": "number"
          },
          "breadcrumb": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "num": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                }
              }
            }
          },
          "publicLaws": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            }
          },
          "subchapter": {
            "type": [
              "string",
              "null"
            ]
          },
          "chapterName": {
            "type": "string"
          },
          "displayPath": {
            "type": "string"
          },
          "popularName": {
            "type": [
              "string",
              "null"
            ]
          },
          "titleNumber": {
            "type": "string"
          },
          "sourceCredit": {
            "type": [
              "string",
              "null"
            ]
          },
          "citationShort": {
            "type": "string"
          },
          "goodLawStatus": {
            "type": "string"
          },
          "sectionNumber": {
            "type": "string"
          },
          "amendmentYears": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "number"
            }
          },
          "currentThrough": {
            "type": "string"
          },
          "subchapterName": {
            "type": [
              "string",
              "null"
            ]
          },
          "amendmentsCount": {
            "type": "number"
          },
          "lastAmendedYear": {
            "type": [
              "number",
              "null"
            ]
          },
          "crossReferencesUsc": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "description": "The three sections immediately after it, in statutory order, with the same fields."
    },
    "section": {
      "type": "object",
      "properties": {
        "actId": {
          "type": "string",
          "description": "The section's id, usable as `act_id` in a later call."
        },
        "title": {
          "type": "string",
          "description": "The section heading."
        },
        "chapter": {
          "type": "string",
          "description": "The chapter number."
        },
        "excerpt": {
          "type": [
            "string",
            "null"
          ],
          "description": "The opening of the section's text, up to about 500 characters."
        },
        "citation": {
          "type": "string",
          "description": "The full citation, with the code edition year."
        },
        "actStatus": {
          "type": "string",
          "description": "Whether the section is in force or, for example, omitted."
        },
        "titleName": {
          "type": "string",
          "description": "The name of that title."
        },
        "wordCount": {
          "type": "number",
          "description": "The number of words in the section."
        },
        "breadcrumb": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "num": {
                "type": "string",
                "description": "The number at that level."
              },
              "name": {
                "type": "string",
                "description": "The name at that level."
              },
              "type": {
                "type": "string",
                "description": "The level: title, chapter, subchapter or section."
              },
              "label": {
                "type": "string",
                "description": "The level and number, as a label."
              }
            }
          },
          "description": "The section's place in the Code, one entry per level from the title down."
        },
        "publicLaws": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          },
          "description": "Public laws cited for the section, in its source credit or its notes."
        },
        "subchapter": {
          "type": [
            "string",
            "null"
          ],
          "description": "The subchapter number, when the section is in one."
        },
        "chapterName": {
          "type": "string",
          "description": "The chapter name."
        },
        "displayPath": {
          "type": "string",
          "description": "The title, chapter, subchapter and section as one readable path."
        },
        "popularName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The popular name recorded for the section's title."
        },
        "titleNumber": {
          "type": "string",
          "description": "The number of the Code title the section is in."
        },
        "sourceCredit": {
          "type": [
            "string",
            "null"
          ],
          "description": "The source credit: the enacting and amending laws, as printed."
        },
        "citationShort": {
          "type": "string",
          "description": "The citation without the edition year."
        },
        "goodLawStatus": {
          "type": "string",
          "description": "Whether the section is still good law."
        },
        "sectionNumber": {
          "type": "string",
          "description": "The section number."
        },
        "amendmentYears": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "number"
          },
          "description": "The years of the recorded amendments."
        },
        "currentThrough": {
          "type": "string",
          "description": "The date the text is current through."
        },
        "subchapterName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The subchapter name, when the section is in one."
        },
        "amendmentsCount": {
          "type": "number",
          "description": "The number of amendments recorded."
        },
        "lastAmendedYear": {
          "type": [
            "number",
            "null"
          ],
          "description": "The year of the latest recorded amendment, when there is one."
        },
        "crossReferencesUsc": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          },
          "description": "Other Code sections it refers to, as title:section."
        }
      },
      "description": "The section asked for."
    },
    "previous": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "actId": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "chapter": {
            "type": "string"
          },
          "excerpt": {
            "type": [
              "string",
              "null"
            ]
          },
          "citation": {
            "type": "string"
          },
          "actStatus": {
            "type": "string"
          },
          "titleName": {
            "type": "string"
          },
          "wordCount": {
            "type": "number"
          },
          "breadcrumb": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "num": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                }
              }
            }
          },
          "publicLaws": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            }
          },
          "subchapter": {
            "type": [
              "string",
              "null"
            ]
          },
          "chapterName": {
            "type": "string"
          },
          "displayPath": {
            "type": "string"
          },
          "popularName": {
            "type": [
              "string",
              "null"
            ]
          },
          "titleNumber": {
            "type": "string"
          },
          "sourceCredit": {
            "type": [
              "string",
              "null"
            ]
          },
          "citationShort": {
            "type": "string"
          },
          "goodLawStatus": {
            "type": "string"
          },
          "sectionNumber": {
            "type": "string"
          },
          "amendmentYears": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "number"
            }
          },
          "currentThrough": {
            "type": "string"
          },
          "subchapterName": {
            "type": [
              "string",
              "null"
            ]
          },
          "amendmentsCount": {
            "type": "number"
          },
          "lastAmendedYear": {
            "type": [
              "number",
              "null"
            ]
          },
          "crossReferencesUsc": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "description": "The three sections immediately before it, in statutory order, with the same fields."
    }
  },
  "description": "The section and its neighbours."
}