Skip to main content
Glama
ia-sos-business

ia-sos-business

by pipeworx-io
README.md
# @pipeworx/ia-sos-business

Iowa Secretary of State register of ACTIVE business entities: search by name, look an entity up by its Iowa corporation number, and list new registrations since a date.

Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 2014+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

## Tools

- `ia_search_businesses(name, entity_type?, limit?)` — entities whose name starts with the query: corporation number (`file_number`), name, entity type, locale (domestic or foreign), effective date and principal-office city, state and ZIP. Each row is graded `exact`, `legal_form_variant`, `spacing_variant` or `name_prefix`; `hits` counts only the rows that are the name asked for.
- `ia_get_business(corp_number)` — one entity's type, locale, effective date, full principal-office address and, when the registered agent is a business, the agent's name and office address.
- `ia_new_businesses(since, name_query?, entity_type?, limit?)` — entities with an effective date on or after `since`, newest first. A row dated after `data_as_of` carries `effective_after_data_as_of`.

## Auth

Keyless.

## Data sources

- Iowa Secretary of State, Active Iowa Business Entities, published on the Iowa Data Hub under CC BY 4.0. The publisher releases it monthly; every response carries `data_as_of` (the publisher's own last-updated date), `source`, the CC BY `attribution` and a `coverage` statement.

**Active entities only.** The release has no status column and lists no inactive, dissolved, revoked or withdrawn entity, and sole proprietorships and most general partnerships do not register at all. An empty result or `found:false` therefore means "not an active Iowa registration at the publisher's date", never "no such Iowa company ever existed". A missing dataset is reported as an error naming it, never as an empty result.

**Entity-level only.** No officers are published. A registered agent is shown only when its name reads as a business; an agent that is a person (or not clearly a business) is withheld together with its address, and the response says so. The free-text home-office name column and every coordinate are dropped before anything is stored.

The register has no query interface, so the rows are read from a monthly build kept in the gateway's dataset bucket (name, number and effective-date orders, 2,000 entities per chunk). On a standalone install without that bucket the tools return an error that says so.

## Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

```json
{
  "mcpServers": {
    "ia-sos-business": {
      "url": "https://gateway.pipeworx.io/ia-sos-business/mcp"
    }
  }
}
```

### What this endpoint actually serves

`tools/list` at `https://gateway.pipeworx.io/ia-sos-business/mcp` returns the tools in the table
above **plus the shared Pipeworx meta-tools** — `ask_pipeworx`,
`discover_tools`, `search_within`, `remember`/`recall` and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's `initialize` response states its exact scope, and
is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
`ask_pipeworx`, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed
directly, instead of just this one's:

```json
{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}
```

Both URLs reach the same gateway and the same 2014+ data sources. The
only difference is which pack's tools are listed **directly**; `ask_pipeworx`
reaches all of them from either one.

## No MCP client? Call it over HTTP

```bash
curl -X POST https://gateway.pipeworx.io/v1/tools/ia_search_businesses \
  -H 'Content-Type: application/json' \
  -d '{"name":"Hy-Vee","limit":3}'
```

No account needed for the first calls. Inspect any tool: `GET https://gateway.pipeworx.io/v1/tools/ia_search_businesses`. Find one: `POST https://gateway.pipeworx.io/v1/tools/search_packs` with `{"query":"..."}`.

## Run it from npm

`@pipeworx/mcp-ia-sos-business` is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with `npx`, and it forwards every call to the same
`https://gateway.pipeworx.io/ia-sos-business/mcp` endpoint shown above. It needs network access;
there is no offline mode.

```json
{
  "mcpServers": {
    "ia-sos-business": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-ia-sos-business"]
    }
  }
}
```

Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
`"env": { "PIPEWORX_API_KEY": "<your key>" }` to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.

It lists **only** this pack's tools by default. Set `PIPEWORX_META_TOOLS=1` to
also list `ask_pipeworx` and the other gateway-wide tools.

Behind an HTTPS proxy: Node's built-in `fetch` does not read `HTTPS_PROXY` by
default. Newer Node releases honour it when `NODE_USE_ENV_PROXY=1` is set; check
your Node version's documentation.

## Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English —
this works on the pack endpoint above as well as on the full gateway:

```
ask_pipeworx({ question: "your question about Ia Sos Business data" })
```

The gateway picks the right tool and fills the arguments automatically.

## More

- [Docs and guides](https://pipeworx.io/docs)
- [pipeworx.io](https://pipeworx.io)

## License

MIT