Company registry data API for AI agents drafting lien reports
Quick answer. Give the agent Statsnet’s remote MCP server at https://statsnet.co/mcp and it can call search_companies, get_company_paid, get_relations and get_court_cases to draft the entity section of a lien report. The public Markdown endpoint returns a company card in text a model reads cleanly. The agent should paste filing data only from the state office’s results.
Splitting the work
Report drafting suits an agent because most of it is assembly: copy the legal name, summarise relations, list court cases, flag mismatches. The risky part is invention. Constrain the agent so that every sentence in the entity section traces to a Statsnet tool call and every line in the filing section traces to an uploaded state search result.
A good system prompt names both sources and forbids the agent from describing liens it was not shown. It should also tell the agent to say “not returned” rather than leaving a field blank.
Connection details
Statsnet’s MCP server runs over Streamable HTTP with nothing to deploy. Public tools work without a key; anonymous search allows 30 requests an hour per IP. With the account’s API key passed as Authorization: Bearer, paid tools unlock and search returns up to 50 results per call. MCP is included in the Pro plan. An invalid key produces a 401, not a quiet fall-back to anonymous mode.
Outside MCP, the REST route GET /companies/{jurisdiction}/{identifier}/md returns the same public card as Markdown, which Statsnet’s docs describe as convenient for AI agents.
Example requests
claude mcp add --transport http statsnet https://statsnet.co/mcp --header "Authorization: Bearer sk_live_YOUR_KEY" curl -s "https://statsnet.co/api/v1/companies/kz/000740000728/md" > entity-section.md Questions
Can the agent fetch the UCC filings itself?
Not through Statsnet. Supply state search results to the agent separately, or have a person attach them.