[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Leadsforge similar company search](https://spiral.ai/integrations/opencode/leadsforge-similar-company-search)

# How to Use Leadsforge similar company search in opencode

Returns companies similar to your seed domains, one page at a time. Use it to build a target account list after reviewing the initial matches.

|  |  |
| --- | --- |
| Model | Leadsforge similar company search |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | Up to $0.17459 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Leadsforge similar company search in opencode

- Use Leadsforge similar company search with gocardless.com as the seed and retrieve the first page of companies. Compare them with this project's account list and report matches already present.
- Use Leadsforge similar company search with shopify.com as the seed. Save the first two pages as a deduplicated company research list in the project.
- Use Leadsforge similar company search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Leadsforge similar company search and tell me what changed since last week.
- Check Leadsforge similar company search and summarize what you find in three bullet points.

## How to set up Leadsforge similar company search 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Leadsforge similar company search**: One request; the result comes back by polling or a webhook.

```bash
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": "leadsforge/companies/lookalike",
    "input": {
      "domains": [
        "<domains>"
      ]
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Leadsforge similar company search tools and prices

- [Leadsforge · Lookalike search](https://spiral.ai/tools/alexandria/leadsforge/companies/lookalike) (Alexandria): Up to $0.17459 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 100 | 1 | 1-based page, at most 100. |
| locations |  | — | Locations as { id, type }. type is country or region. id is an ISO country code or a region id. |
| page_size | 1 to 10 | 1 | Companies per page, from 1 to 10. Each returned company costs 10 credits. Omitted calls request 1. An empty page costs nothing. |
| categories |  | — | Industry categories. |
| fundingStages |  | — | Funding stages. |
| employeeRanges |  | — | Employee-range labels, such as 201-500. |

## What can you do with Leadsforge similar company search in opencode?

Build a reviewable account shortlist from companies that resemble Stripe or GoCardless. A coding agent can compare Leadsforge's returned companies with project account records and prepare a deduplicated research list.

### Expand a target account list

Start with a company that fits your ideal customer profile and review the similar businesses Leadsforge returns as candidates for your account list.

### Prepare a client prospecting brief

Use a client's public reference accounts as seeds. Turn the returned companies into a shortlist for the client to review before any outreach.

### Compare seed choices

Run separate searches from stripe.com and gocardless.com, then compare the companies returned to see which seed produces a more useful prospect list.

### Find accounts missing from a CRM

Compare the returned company list with existing CRM accounts and set aside businesses your team has not reviewed.

### Prepare a market research shortlist

Use an established business as a starting point for discovering similar companies to research. Keep the list focused on company comparisons rather than individual profiles.

### Review recurring account suggestions

Repeat a search from the same public company seeds and compare returned companies with the previous review list to identify additional research candidates.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Leadsforge similar company search in other agents

- [Amp](https://spiral.ai/integrations/amp/leadsforge-similar-company-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/leadsforge-similar-company-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/leadsforge-similar-company-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/leadsforge-similar-company-search)
- [Cline](https://spiral.ai/integrations/cline/leadsforge-similar-company-search)
- [Codex](https://spiral.ai/integrations/codex/leadsforge-similar-company-search)
- [Cursor](https://spiral.ai/integrations/cursor/leadsforge-similar-company-search)
- [Devin](https://spiral.ai/integrations/devin/leadsforge-similar-company-search)
- [dots](https://spiral.ai/integrations/dots/leadsforge-similar-company-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/leadsforge-similar-company-search)
- [Gemini](https://spiral.ai/integrations/gemini/leadsforge-similar-company-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/leadsforge-similar-company-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/leadsforge-similar-company-search)
- [goose](https://spiral.ai/integrations/goose/leadsforge-similar-company-search)
- [Grok](https://spiral.ai/integrations/grok/leadsforge-similar-company-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/leadsforge-similar-company-search)
- [Hermes](https://spiral.ai/integrations/hermes/leadsforge-similar-company-search)
- [Instinct](https://spiral.ai/integrations/instinct/leadsforge-similar-company-search)
- [Manus](https://spiral.ai/integrations/manus/leadsforge-similar-company-search)
- [Muse](https://spiral.ai/integrations/muse/leadsforge-similar-company-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/leadsforge-similar-company-search)
- [n8n](https://spiral.ai/integrations/n8n/leadsforge-similar-company-search)
- [Notion](https://spiral.ai/integrations/notion/leadsforge-similar-company-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/leadsforge-similar-company-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/leadsforge-similar-company-search)
- [Raycast](https://spiral.ai/integrations/raycast/leadsforge-similar-company-search)
- [VS Code](https://spiral.ai/integrations/vscode/leadsforge-similar-company-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/leadsforge-similar-company-search)
- [Zapier](https://spiral.ai/integrations/zapier/leadsforge-similar-company-search)

## More opencode guides

- [Leadsforge similar company preview](https://spiral.ai/integrations/opencode/leadsforge-similar-company-preview)
- [Leadsforge work email lookup](https://spiral.ai/integrations/opencode/leadsforge-work-email-lookup)
- [Leadsforge business contact search](https://spiral.ai/integrations/opencode/leadsforge-business-contact-search)
- [Lever company job listings](https://spiral.ai/integrations/opencode/lever-company-job-listings)
- [LeadOcean work email](https://spiral.ai/integrations/opencode/leadocean-work-email)
- [Lever job board categories](https://spiral.ai/integrations/opencode/lever-job-board-categories)

## Questions about Leadsforge similar company search in opencode

**Can opencode use Leadsforge similar company search?**

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

**How much does Leadsforge similar company search cost in opencode?**

Up to $0.17459 per run. 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 Leadsforge similar company search in opencode?**

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

**How long does it take to set up Leadsforge similar company search in opencode?**

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

**Does opencode wait while Leadsforge similar company search runs?**

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

**What does a company lookalike preview return?**

It returns similar companies with company metadata only. Finding and enriching people at those companies is a separate step.

**Can a search start from several companies?**

Yes. Leadsforge's documentation specifies 1 to 10 seed domains for a lookalike preview.

**Which company details can I review?**

Leadsforge lists industry, headcount, revenue, founded year, and headquarters among the details available when reviewing company lookalike matches.

**How frequently can I request lookalikes?**

The source documents 20 lookalike search requests per minute per account. Preview has a separate limit of 60 requests per minute per API key.

**Is Leadsforge intended for personal use?**

Its terms reserve the service exclusively for professional use and exclude users under 18.

