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

Codex · Lead Gen

How to Use Companies House advanced company search in Codex

Returns matching company names, numbers, status, registered offices, incorporation dates, and SIC codes. Use it to build a shortlist that meets several business criteria.

Prompts to try with Companies House advanced company search in Codex

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

Use Companies House advanced company search to find active companies with Tesco in their registered name, then add their names, numbers, and incorporation dates to a comparison table in this project.

Companies House advanced company searchCodex
Try asking
  • Use Companies House advanced company search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Companies House advanced company search and tell me what changed since last week.

  • Check Companies House advanced company search and summarize what you find in three bullet points.

  • Pull the newest data from Companies House advanced company search and give me the result as a table.

How to set up Companies House advanced company search in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 Companies House advanced company 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": "find-and-update-company-information-service-gov-uk/companies/advanced_search",
        "input": {
          "page": 1
        }
      }'

Then paste one of the prompts above: Codex finds Companies House advanced company search on Spiral, shows the price and runs it.

Companies House advanced company search providers and prices

Spiral runs Companies House advanced company search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
Companies House · Advanced search
find-and-update-company-information-service-gov-uk/companies/advanced_search

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 5001

One-based, 20 rows per full page; source stops at 10,000 results.

Every API field of Companies House · Advanced search is on its tool page: open its card above.

What can you do with Companies House advanced company search in Codex?

Build a company research view that connects registered identities to filings, charges, and published case records. A coding agent can organize the returned records in your project and link summaries to the underlying documents.

Match an invoice to a legal entity

Compare registered names, company numbers, and addresses before assigning an invoice to a customer or supplier. Search historic dissolved records when the invoice names an older entity.

Research a historic company name

Find current and dissolved companies associated with a business name, compare incorporation and dissolution dates, and read available filings to document name changes.

Resolve duplicate corporate customer records

Compare similarly named companies using their registration numbers and registered details. Investigate old dissolved entities before combining records that share a trading name.

Build a sector research shortlist

Find companies meeting a business classification and incorporation period, then compare their registered status, SIC codes, and filing deadlines.

Prepare an acquisition research file

Resolve the target's legal identity and similarly named historic entities, then collect filings, charge particulars, and insolvency records. Include any identified corporate officer disqualification record for review.

Questions about Companies House advanced company search in Codex

Can Codex use Companies House advanced company search?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Companies House advanced company search like any built-in tool.

How much does Companies House advanced company search cost in Codex?

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

Do I need an Alexandria account to use Companies House advanced company search in Codex?

No. Spiral runs Companies House advanced company 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 Companies House advanced company search in Codex?

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

Does Codex wait while Companies House advanced company search runs?

Companies House advanced company search runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

Does Companies House cover every UK business?

No. Sole traders and ordinary partnerships are not required to register, so the register cannot provide a complete list of UK businesses.

How fresh is Companies House information?

Companies House describes its own API data as live and real-time. Its company and disqualified-director search disclaimer describes those results as extracts from registers updated regularly.

Does Companies House independently verify filed information?

Companies House says it does not independently verify the accuracy of information filed by companies. A published entry therefore should not be treated as an independently verified statement.

How far back can I search dissolved companies?

Advanced search shows companies dissolved since January 1, 2010. The separate historic dissolved search covers January 1, 1989, through December 31, 2009.

Can another business copy public register information?

Companies House says other organizations may copy information available on the public register. Organizations holding personal information are responsible for complying with data protection law.

Get started

Start using Companies House advanced company search in Codex

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

Paste this into Codex:

Set up Codex

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