How to Use LeadOcean company count in Gemini CLI
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 Gemini CLI
Copy an example into Gemini CLI, 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.
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 Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- 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: Gemini CLI 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.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Slim | on or off | Accepted by the count route. The response is the totals, not company rows. | |
| Max founded | a number | Latest year founded. Records with no figure are left out. | |
| Max funding | a number | Total funding raised, in USD, upper bound. | |
| Max revenue | a number | Annual revenue ceiling, in USD. Records with no figure are left out. | |
| Min founded | a number | Earliest year founded. Records with no figure are left out. | |
| Min funding | a number | Total funding raised, in USD, lower bound. | |
| Min revenue | a number | Annual revenue floor, in USD. Records with no figure are left out. | |
| Max employees | a number | Company headcount, upper bound. Records with no figure are left out. | |
| Min employees | a number | Company headcount, lower bound. Records with no figure are left out. | |
| Min followers | a number | Minimum company LinkedIn followers. 0 means no minimum. | |
| Max last funding year | a number | Funded no later than this year. | |
| Min last funding year | a number | Funded no earlier than this year. | |
| Has mailable contacts | on 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 Gemini CLI?
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.
More on LeadOcean company count and Gemini CLI
Overview
LeadOcean company count in other agents
Questions about LeadOcean company count in Gemini CLI
Can Gemini CLI use LeadOcean company count?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run LeadOcean company count like any built-in tool.
How much does LeadOcean company count cost in Gemini CLI?
$0.013 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use LeadOcean company count in Gemini CLI?
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 Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while LeadOcean company count runs?
LeadOcean company count runs in the background. Gemini CLI 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.
Start using LeadOcean company count in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


