as_search

Pack: american-samoa-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/as_search for the schema, then POST the same URL with its arguments for the data.

Search the American Samoa Code Annotated by TOPIC or keyword rather than citation, e.g. “domestic violence”, “limitation of liability”, “entitlement to vote”. Returns matching citations, headings, and the section URL. Call as_statute with a result’s citation for the full text. Keyless.

Parameters

NameTypeRequiredDescription
querystringyesTopic or keywords, e.g. “domestic violence”.
limitnumbernoMax results to return, default 10, max 30.

Example call

Arguments

{
  "query": "domestic violence",
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/american-samoa-code/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"as_search","arguments":{"query":"domestic violence","limit":5}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('as_search', {
  "query": "domestic violence",
  "limit": 5
});

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 american-samoa-code pack
{
  "mcpServers": {
    "american-samoa-code": {
      "url": "https://gateway.pipeworx.io/american-samoa-code/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 9, 2026