ia_code_section

Pack: iowa-code · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ia_code_section for the schema, then POST the same URL with its arguments for the data.

Get the FULL TEXT of a section of the Iowa Code — Iowa state law — by citation. “714.2” is degrees of theft; “321J.2” is operating while intoxicated (OWI). Returns the statute text plus its amendment history (the Acts that enacted/amended it) and cross-references (“Referred to in …”), each as a separate field. Pass “year” (2000, or 2004 through the current year) to get a historical edition instead of the current one. Keyless. Use for “what does Iowa Code 714.2 say”, “Iowa OWI law”, or to check an Iowa statute a case relies on.

Parameters

NameTypeRequiredDescription
sectionstringyesSection as cited, e.g. “714.2” or “321J.2”. The chapter is the part before the dot and may carry letters, e.g. “714A.1” or “6B.1”.
yearintegernoOptional. An Iowa Code edition year (${MIN_YEAR}, or ${MIN_YEAR + 4}-${CURRENT_YEAR}) to retrieve a historical version instead of the current one. 2001-2003 were never published online by the Legislature. Omit for the current (${CURRENT_YEAR}) edition.

Example call

Arguments

{
  "section": "714.2"
}

curl

curl -X POST https://gateway.pipeworx.io/iowa-code/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ia_code_section","arguments":{"section":"714.2"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('ia_code_section', {
  "section": "714.2"
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the iowa-code pack
{
  "mcpServers": {
    "iowa-code": {
      "url": "https://gateway.pipeworx.io/iowa-code/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 7, 2026