Skip to content
State Liens Search Check for liens
On this page
  1. Feeding the agent registry data
  2. Authentication behaviour
  3. A routing prompt that works
  4. Questions
  5. Sources reviewed

Company registry data API for AI agents: a state lien workflow

Quick answer. An agent helping with state liens needs registry facts it can trust and a clear rule about where lien facts come from. Statsnet supplies the first through a Markdown company endpoint and a remote MCP server. The rule you write yourself: liens are reported only from the office that holds them.

Feeding the agent registry data

The quickest source is GET /companies/{jurisdiction}/{identifier}/md, a public endpoint that returns the company card as Markdown. Statsnet calls it convenient for AI agents because the model reads it directly. For tool use, the Statsnet MCP server at statsnet.co/mcp speaks Streamable HTTP, needs no deployment, and exposes search_companies, get_company, get_company_paid, get_gov_contracts, get_court_cases, get_relations and check_individual.

Authentication behaviour

Public MCP tools run without a key; anonymous search is capped at 30 requests per hour per IP. With the API key sent as Authorization: Bearer, search returns up to 50 results per call and the paid tools unlock on a Pro plan. If the key is rejected, the server answers 401 instead of downgrading to anonymous mode. Surface that error to the user rather than letting the agent retry silently.

A routing prompt that works

Ask the agent to produce, for each debtor, a short table: registered name, jurisdiction, status, related companies, and the lien offices to search next with a reason for each. Forbid it from stating that a lien exists or does not exist. A human or a separate step then runs the state tax index and the county search, and records what each office returned.

Questions

Which tool returns court cases?

get_court_cases on the Statsnet MCP server. Use it to spot litigation that may have turned into a judgment lien, then search the judgment index.

Sources reviewed