Company registry data API for AI agents reading permit files
Quick answer. Give an agent a permit record exported from the city portal plus access to Statsnet’s MCP server at statsnet.co/mcp. It can pull out the contractor, applicant and owner names, search each with search_companies, read get_company cards and, with a key, call get_relations and get_court_cases. The permit facts remain those printed by the building department.
Extraction, then resolution
Permit printouts vary by city, but most list an owner, an applicant and a contractor, sometimes with a license number. A model is good at pulling those fields out of messy text. It then searches each company name in Statsnet, filtered to the state, and picks a match by address and status.
The result is a table: role on the permit, name as printed, matched entity, identifier, status, and a confidence note. Where no match is confident, the agent says so rather than picking the closest name.
Access and limits
Statsnet’s MCP server is remote and speaks Streamable HTTP. Public tools work without a key, and anonymous search allows 30 requests per hour per IP. With an sk_live key sent as Authorization: Bearer, search returns up to 50 results per call and paid tools such as get_relations become available. MCP access is included in Pro. Setup is described on the Statsnet MCP page.
For pipelines that fetch URLs instead, GET /companies/{jurisdiction}/{identifier}/md returns a Markdown profile.
What the agent must leave alone
It must not say whether work was permitted, inspected or finaled beyond what the city record shows, and it must not infer a certificate of occupancy. Those are the building department’s statements. Its job is the company layer.
Example requests
claude mcp add --transport http statsnet https://statsnet.co/mcp --header "Authorization: Bearer sk_live_YOUR_KEY"