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

Claude Code · Lead Gen

How to Use LeadOcean company count in Claude Code

Returns matching company totals with industry, headcount, headquarters and NAICS breakdowns. Use it to size a business segment before retrieving individual company records.

Prompts to try with LeadOcean company count in Claude Code

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

Use LeadOcean company count to count Software Development companies headquartered in Texas. Add the returned industry and headcount breakdowns to this project's market research report.

LeadOcean company countClaude Code
Try asking
  • Use LeadOcean company count to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from LeadOcean company count and tell me what changed since last week.

  • Check LeadOcean company count and summarize what you find in three bullet points.

  • Pull the newest data from LeadOcean company count and give me the result as a table.

How to set up LeadOcean company count in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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 LeadOcean company count

    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": "leadocean/companies/count",
        "input": {
          "q": "<q>"
        }
      }'

Then paste one of the prompts above: Claude Code finds LeadOcean company count on Spiral, shows the price and runs it.

LeadOcean company count providers and prices

Spiral runs LeadOcean company count through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
LeadOcean · Company count
leadocean/companies/count

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Slimon or off

Accepted by the count route. The response is the totals, not company rows.

Max foundeda number

Latest year founded. Records with no figure are left out.

Max fundinga number

Total funding raised, in USD, upper bound.

Max revenuea number

Annual revenue ceiling, in USD. Records with no figure are left out.

Min foundeda number

Earliest year founded. Records with no figure are left out.

Min fundinga number

Total funding raised, in USD, lower bound.

Min revenuea number

Annual revenue floor, in USD. Records with no figure are left out.

Max employeesa number

Company headcount, upper bound. Records with no figure are left out.

Min employeesa number

Company headcount, lower bound. Records with no figure are left out.

Min followersa number

Minimum company LinkedIn followers. 0 means no minimum.

Max last funding yeara number

Funded no later than this year.

Min last funding yeara number

Funded no earlier than this year.

Has mailable contactson or off

True keeps companies with a verified, catch_all_valid, or catch_all email on at least one person.

Every API field of LeadOcean · Company count is on its tool page: open its card above.

What can you do with LeadOcean company count in Claude Code?

Build a company research table with LeadOcean firmographics, market breakdowns or aggregate staff-role summaries. A coding agent can turn the returned data into project fixtures, comparison views and internal account reports.

Research potential business partners

Count software companies in a target state, search for relevant businesses, and inspect company details. Summarize the business roles represented in LeadOcean's staff records to prepare a partnership research brief.

Assess a regional business market

Compare company counts across headquarters states, inspect matching businesses, and review their firmographics. Add an aggregate summary of represented staff roles at selected companies to describe the organizations in the sample.

Prepare an event sponsor shortlist

Size a relevant industry segment, discover candidate businesses, and review company details for sponsor fit. Summarize represented business functions at shortlisted companies for the event planning brief.

Build a competitor landscape

Count companies matching a business description, inspect search results, and compare individual company records. Use aggregate role summaries from company staff records as additional organizational context.

Check a market definition against real companies

Count a proposed business segment and inspect matching company records. Use the count breakdowns and company descriptions to judge whether the query captures the intended market.

Questions about LeadOcean company count in Claude Code

Can Claude Code use LeadOcean company count?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run LeadOcean company count like any built-in tool.

How much does LeadOcean company count cost in Claude Code?

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

Do I need an Alexandria account to use LeadOcean company count in Claude Code?

No. Spiral runs LeadOcean company count on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up LeadOcean company count in Claude Code?

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

Does Claude Code wait while LeadOcean company count runs?

LeadOcean company count runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

How many companies does LeadOcean cover?

LeadOcean reports 73,728,117 companies in its search index as of November 13, 2026. That is the indexed company population, not a claim that every business is included.

Where does LeadOcean's data come from?

LeadOcean names three sources: publicly accessible professional information on the web, its own collection and verification, and licensed data partners. Its privacy policy describes the database as business-context information.

What does a company record contain?

Company details include industry, headcount, headquarters, revenue, funding and detected website technologies where available. Company search returns matching company records, while company count returns totals and breakdowns without company rows.

Does LeadOcean provide a complete employee directory?

The company people endpoint lists the people LeadOcean holds at a domain. It returns thin professional records without contact points, so the result should be described as LeadOcean's represented staff data.

How detailed are the company count breakdowns?

Company count provides five breakdowns: industry, headcount band, headquarters country, headquarters state and primary NAICS code. Each breakdown contains its top 20 entries.

Get started

Start using LeadOcean company count in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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