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

VS Code · Lead Gen

How to Use Companies House filing document in VS Code

Returns a link to an individual filing PDF. Use it to read the submitted accounts, resolution, or other document behind a filing-history entry.

Prompts to try with Companies House filing document in VS Code

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

Use Companies House filing document for Tesco plc's latest available accounts and add the PDF link to our research report.

Companies House filing documentVS Code
Try asking
  • Use Companies House filing document 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 document and tell me what changed since last week.

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

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

How to set up Companies House filing document in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code 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 document

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

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

Companies House filing document providers and prices

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

AlexandriaLead Gen
Companies House · Filing document
find-and-update-company-information-service-gov-uk/companies/filing_document

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Downloadon or off

False returns the stable link without fetching; true retrieves PDF bytes as base64, up to 5 MiB.

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

What can you do with Companies House filing document in VS Code?

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 document in VS Code

Can VS Code use Companies House filing document?

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

How much does Companies House filing document cost in VS Code?

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

Do I need an Alexandria account to use Companies House filing document in VS Code?

No. Spiral runs Companies House filing document 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 document in VS Code?

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

Does VS Code wait while Companies House filing document runs?

Companies House filing document runs in the background. VS Code 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 document in VS Code

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

Paste this into VS Code:

Set up VS Code

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