Spiral gives your agent every tool with one account. Browse the tools →

opencode · Lead Gen

How to Use New Hampshire business search in opencode

Returns matching QuickStart registrations with business IDs, types, principal office addresses, registered agents, and statuses. Use it to distinguish similarly named businesses before examining a specific record.

Prompts to try with New Hampshire business search in opencode

Copy an example into opencode, or ask in your own words.

Use New Hampshire business search to find registrations containing Dartmouth College and save a CSV in this project with each business name, Business ID, type, principal office address, and status.

New Hampshire business searchopencode
Try asking
  • Use New Hampshire business search for names containing Stonyfield and compare the returned names and principal office addresses with company entries in this project's supplier CSV.

  • Use New Hampshire business search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from New Hampshire business search and tell me what changed since last week.

  • Check New Hampshire business search and summarize what you find in three bullet points.

How to set up New Hampshire business search in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run New Hampshire business search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "quickstart-sos-nh-gov/entities/search_businesses",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: opencode finds New Hampshire business search on Spiral, shows the price and runs it.

New Hampshire business search providers and prices

Spiral runs New Hampshire business search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
New Hampshire business registry (QuickStart) · Search businesses
quickstart-sos-nh-gov/entities/search_businesses

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 991

1-based results page (25 rows per page). Later pages are reached by replaying the search and paging the grid in the same session; each page costs its own requests.

Matchstarts_with, exact, contains, or all_wordsstarts_with

Name match mode (business_name only): Starts With (default), Exact Match, Contains or All Words.

Sort bybusiness_id, business_type, principal_office_address, registered_agent_name, or statusbusiness_id

Grid column to sort by (the site's own sortable columns).

Sort dirasc or descasc

sort_dir

Search bybusiness_name, business_id, or filing_numberbusiness_name

Which registry search to run: Business Name (default), Business ID or Filing #.

Similar soundingon or off

business_name only: tick the site's 'Show me similar sounding business names' box.

Every API field of New Hampshire business registry (QuickStart) · Search businesses is on its tool page: open its card above.

What can you do with New Hampshire business search in opencode?

Build a New Hampshire company review table in your project with registration details and filing timelines. Match company records to Business IDs, then show differences in names, addresses, statuses, and recorded filings.

Prepare a supplier registration review

Find the supplier's registration, compare its business name and principal office with the proposed contract, and summarize its filing timeline for procurement review.

Reconcile business records in a CRM

Match company names to Business IDs, compare registration details with existing company records, and use filing dates and types to flag records needing manual review.

Review a company's reporting history

Resolve the correct registration, read its recorded status, and list annual report entries from its filing history for a business reporting review.

Write a company research memo

Identify the business registration, summarize its type, dates, addresses, and stated purpose, and add a timeline of recorded filings.

Separate similarly named businesses

Compare matching names by Business ID, business type, and principal office address, then examine the likely registration before assigning it to a company record.

Check business directory entries

Find registrations corresponding to directory listings and compare their recorded names, business types, principal office addresses, and statuses before making editorial corrections.

Questions about New Hampshire business search in opencode

Can opencode use New Hampshire business search?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run New Hampshire business search like any built-in tool.

How much does New Hampshire business search cost in opencode?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need an Alexandria account to use New Hampshire business search in opencode?

No. Spiral runs New Hampshire business search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up New Hampshire business search in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while New Hampshire business search runs?

New Hampshire business search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Which jurisdiction does QuickStart cover?

QuickStart covers New Hampshire's state business registry, maintained by the Secretary of State's Corporation Division. It is a source for registrations held by that division.

How current is the information in an annual report?

For corporations, annual report information must reflect January 1 of the year the report is due. That reporting date limits how closely an annual report can describe later business changes.

Does QuickStart identify a corporation's shareholders?

The New Hampshire Secretary of State does not collect corporate shareholder ownership information. A registration record cannot establish a complete shareholder list.

Why might a listed document be unavailable online?

The Secretary of State says a File Not Found message means the document has not yet been scanned for online viewing. An unavailable scan does not establish that the filing never existed.

Do Active and Good Standing mean the same thing?

New Hampshire uses Active for a trade name or an entity that does not file reports. Good Standing means an entity has filed all reports and fees, so preserve the state's exact status when comparing registrations.

Get started

Start using New Hampshire business search in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options