[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [FullEnrich company search](https://spiral.ai/integrations/opencode/fullenrich-company-search)

# How to Use FullEnrich company search in opencode

Returns company profiles matching your business criteria, such as industry, employee count, and description keywords. Use it to build a shortlist when you haven't chosen individual companies yet.

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

## Prompts to try with FullEnrich company search in opencode

- Use FullEnrich company search to find software development companies with 50 to 200 employees. Write the returned names, domains, industries, and employee counts to a CSV in this project.
- Use FullEnrich company search for businesses whose descriptions mention warehouse robotics. Create a Markdown research table in this project with company names, domains, descriptions, and headquarters.
- Use FullEnrich company search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from FullEnrich company search and tell me what changed since last week.
- Check FullEnrich company search and summarize what you find in three bullet points.

## How to set up FullEnrich 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 FullEnrich 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": "fullenrich/companies/search",
    "input": {
      "limit": 2
    }
  }'
```

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

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

## FullEnrich company search tools and prices

- [FullEnrich · Company search](https://spiral.ai/tools/alexandria/fullenrich/companies/search) (Alexandria): Up to $0.017459 per run at the default inputs.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 6 | 2 | Records per page, up to 6. Each returned record costs 5 credits. Use pagination for more. |
| names |  | — | Company names. Entries: { value: string, exclude?: boolean, exact_match?: boolean }. |
| types |  | — | Company types, such as Public Company or Nonprofit. Entries: { value: string, exclude?: boolean, exact_match?: boolean }. |
| offset | 0 to 10000 | — | Records to skip. Use search_after beyond 10,000. |
| domains |  | — | Company domains. Exact matching recommended. Entries: { value: string, exclude?: boolean, exact_match?: boolean }. |
| keywords |  | — | Keywords in company descriptions. Entries: { value: string, exclude?: boolean, exact_match?: boolean }. |

## What can you do with FullEnrich company search in opencode?

Build company research tables from FullEnrich descriptions, industries, headquarters, and employee counts. A coding agent can map those records into your project's account model and apply your qualification or territory rules.

### Prepare company briefs before sales calls

Build a short brief with the company's description, industry, headquarters, founding year, and employee count. Start with a known business or select one from a search shortlist.

### Complete CRM company records

Fill gaps in company records with domains, LinkedIn company URLs, industries, headquarters, and employee counts. Match existing businesses before proposing updates.

### Assign business accounts to sales territories

Apply territory rules to returned headquarters and employee counts. Produce an assignment table that shows which company detail determined each proposed owner.

### Check companies against a target customer profile

Compare industry, company type, description, and employee count against your customer criteria. Explain each company's fit using the returned business details.

### Compare competitors' business profiles

Create a comparison of selected competitors' descriptions, employee counts, founding years, and headquarters. Use the results to frame further market research.

### Evaluate potential business partners

Review prospective partners by industry, specialties, company size, and headquarters. Turn known companies or search results into a shortlist with a stated reason for each selection.

### Refresh company account summaries monthly

Compare newly retrieved company descriptions, headquarters, and employee counts with prior observations. Flag changes for account owners to review.

## Overview

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

## FullEnrich company search in other agents

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

## More opencode guides

- [FullEnrich company profile lookup](https://spiral.ai/integrations/opencode/fullenrich-company-profile-lookup)
- [FullEnrich mobile phone lookup](https://spiral.ai/integrations/opencode/fullenrich-mobile-phone-lookup)
- [FullEnrich LinkedIn profile match](https://spiral.ai/integrations/opencode/fullenrich-linkedin-profile-match)
- [FullEnrich people search](https://spiral.ai/integrations/opencode/fullenrich-people-search)
- [FullEnrich LinkedIn company match](https://spiral.ai/integrations/opencode/fullenrich-linkedin-company-match)
- [FullEnrich person lookup](https://spiral.ai/integrations/opencode/fullenrich-person-lookup)

## Questions about FullEnrich company search in opencode

**Can opencode use FullEnrich company search?**

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

**How much does FullEnrich company search cost in opencode?**

Up to $0.017459 per run at the default inputs. 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 FullEnrich company search in opencode?**

No. Spiral runs FullEnrich 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 FullEnrich company search in opencode?**

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

**Does opencode wait while FullEnrich company search runs?**

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

**What business details can FullEnrich return?**

Company records can include the business description, domain, website, LinkedIn URL, industry, company type, founding date, headquarters, and employee count.

**How often does the company database change?**

FullEnrich documents monthly database updates. These company records should not be treated as a live feed of hiring or business changes.

**Do company records include email addresses or phone numbers?**

FullEnrich explicitly excludes email addresses and phone numbers from its People and Company Data. A company profile is business research data, not a contact list.

**Does FullEnrich cover privately held companies?**

Yes. FullEnrich lists private companies, public companies, and associations among its company types.

**Does a technology result show the company's entire software inventory?**

FullEnrich says technology search results show only the technologies queried. Those results do not establish the company's complete software inventory.

