Company registry data API for AI agents that run lien lookups
Quick answer. An agent asked “does this business have liens?” should first answer “which business, exactly?”. Statsnet supports that with a public Markdown endpoint, GET /companies/{jurisdiction}/{identifier}/md, and a remote MCP server at https://statsnet.co/mcp with tools including search_companies, get_company and get_relations. The lien answer still comes from the state filing office.
What the agent should and should not claim
Language models are good at sounding sure. A lien-lookup agent needs a hard boundary: it can report what Statsnet returned about the company and what a state UCC index returned about filings, and it must never fill the gap between them from memory. Statsnet’s tools give it the first half in a format it can read directly.
The Markdown endpoint is described in Statsnet’s docs as convenient for AI agents. It returns the public company card as text, which keeps tokens low and avoids scraping HTML.
MCP tools for the lookup
Over MCP the agent calls search_companies with the name the user gave, then get_company for the public card in Markdown. With a Pro key sent as Authorization: Bearer, get_company_paid, get_relations and get_court_cases become available, and search returns up to 50 results per call. Without a key, anonymous search is capped at 30 requests an hour per IP. If the key is wrong, the server answers 401 instead of silently switching to anonymous mode.
A sensible tool chain ends with a message such as: “The registered entity is X, formed in Y. Search the Y UCC index under that exact name.” Linking the user to the state office is part of the answer.
Example requests
curl "https://statsnet.co/api/v1/companies/kz/000740000728/md" {
"mcpServers": {
"statsnet": {
"url": "https://statsnet.co/mcp",
"headers": { "Authorization": "Bearer sk_live_YOUR_KEY" }
}
}
} Questions
Which Statsnet MCP tools work without a key?
The public ones, such as search_companies and get_company, subject to the anonymous limit of 30 searches per hour per IP.