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

opencode · Lead Gen

How to Use Icypeas company count in opencode

Returns the number of companies matching a search in the Icypeas database. Use it to compare market segments before retrieving company records.

Prompts to try with Icypeas company count in opencode

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

Use Icypeas company count to compare software company segments in France and Germany, then add the returned counts to our market research report.

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

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

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

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

How to set up Icypeas company count 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 Icypeas 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": "icypeas/companies/count",
        "input": {
          "query": {}
        }
      }'

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

Icypeas company count providers and prices

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

AlexandriaLead Gen
Icypeas · Count companies
icypeas/companies/count

What can you do with Icypeas company count in opencode?

Build a company research feature that turns Icypeas results into searchable business records. A coding agent can connect counts, company pages, profile details, and shared inboxes to the project's existing company model.

Build a reseller recruitment shortlist

Count a target company segment, retrieve candidates, resolve missing company-page URLs, and review their profiles. Find shared business inboxes for companies selected for a reseller discussion.

Research potential suppliers

Size the supplier segment and retrieve matching businesses. Resolve company pages, compare profile details, and find shared inboxes for requesting product information.

Plan a business event invitation list

Count companies in the intended audience and retrieve a shortlist. Review their company pages and specialties, then identify shared business addresses for an event inquiry.

Find co-marketing partners

Compare the size of potential partner segments, retrieve candidates, resolve their company pages, and review their descriptions. Find shared inboxes for proposing a joint webinar or business collaboration.

Compare market segments

Compare database match counts across company segments, then retrieve company records to inspect the businesses behind each count.

Questions about Icypeas company count in opencode

Can opencode use Icypeas company count?

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

How much does Icypeas company count cost in opencode?

$0.013 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 Icypeas company count in opencode?

No. Spiral runs Icypeas 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 Icypeas company count in opencode?

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

Does opencode wait while Icypeas company count runs?

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

Does an Icypeas company count represent every business in a market?

It counts companies matching a query in the Icypeas database. Use it as a database segment count, rather than a census of registered businesses.

Where does the company profile information come from?

Icypeas accepts a LinkedIn company-page URL and returns structured company details, including industry, headcount, headquarters, website, and specialties.

What kind of email addresses does Icypeas domain search find?

It targets shared role addresses such as contact@, sales@, and admin@. That makes it useful for reaching a business inbox without selecting an individual employee.

How long can I pause between company search pages?

Each lead database pagination token is valid for 15 minutes. Every returned page supplies a new token, so use the latest token for the next page.

Should I search with a company name or its website?

Icypeas recommends the website domain when you have it. Its documentation specifically says icypeas.com is more precise than Icypeas, although both work.

Get started

Start using Icypeas company count 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