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

opencode · Lead Gen

How to Use Companies House filing history in opencode

Returns filing-history entries with dates, document descriptions, annotations, and document links. Use it to find relevant submissions before reading the PDFs.

Prompts to try with Companies House filing history in opencode

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

Use Companies House filing history for Tesco plc, company number 00445790, and add a timeline of accounts and confirmation statements with document links and annotations.

Companies House filing historyopencode
Try asking
  • Use Companies House filing history to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Companies House filing history and tell me what changed since last week.

  • Check Companies House filing history and summarize what you find in three bullet points.

  • Pull the newest data from Companies House filing history and give me the result as a table.

How to set up Companies House filing history 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 Companies House filing history

    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/filings",
        "input": {
          "company_number": "<company_number>"
        }
      }'

Then paste one of the prompts above: opencode finds Companies House filing history on Spiral, shows the price and runs it.

Companies House filing history providers and prices

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

AlexandriaLead Gen
Companies House · Filings
find-and-update-company-information-service-gov-uk/companies/filings

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 10001

One page per call. 1000 is a tool request bound, not a guarantee of source coverage.

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

What can you do with Companies House filing history in opencode?

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.

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.

Prepare a supplier review

Assemble registered company details, filing evidence, security interests, and published insolvency cases. Where a corporate officer disqualification record has been identified, include its case details and any permission to act.

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.

Collect evidence for a commercial lending review

Read submitted accounts alongside registered charges, secured obligations, and insolvency events. Add identified corporate officer disqualification case information to the company's review file.

Reconstruct a corporate failure timeline

Place filings, charge creation and satisfaction dates, and insolvency events in sequence. Where an identified corporate officer disqualification case concerns the company, add its published dates and classification.

Questions about Companies House filing history in opencode

Can opencode use Companies House filing history?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Companies House filing history like any built-in tool.

How much does Companies House filing history 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 Companies House filing history in opencode?

No. Spiral runs Companies House filing history 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 filing history in opencode?

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

Does opencode wait while Companies House filing history runs?

Companies House filing history runs in the background. opencode 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 filing history 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