[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Village company profile](https://spiral.ai/integrations/opencode/village-company-profile)

# How to Use Village company profile in opencode

Fetch a company's website, LinkedIn URL, employee count, industry, founding year, and description. Use it to research a known company or fill gaps in an account record.

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

## Prompts to try with Village company profile in opencode

- Use Village company profile for stripe.com and add its description, industry, founding year, and employee count to the company research file in this project.
- Use Village company profile for shopify.com and hubspot.com, then build a comparison table in this project's research page.
- Use Village company profile for notion.so and update its directory entry with the returned website, LinkedIn URL, industry, and description.
- Use Village company profile to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Village company profile and tell me what changed since last week.

## How to set up Village company profile 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 Village company profile**: 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": "village/companies/enrich",
    "input": {
      "domain": "<domain>"
    }
  }'
```

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

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

## Village company profile tools and prices

- [Village · Company profile](https://spiral.ai/tools/alexandria/village/companies/enrich) (Alexandria): Up to $0.017459 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Any company URL Village can recognise. |
| mode | cached_first, realtime_only | — | cached_first (Village's default) returns a recent stored record and otherwise fetches live. realtime_only always fetches live. |
| domain |  | — | Company domain without www, such as stripe.com. |
| linkedin_url |  | — | LinkedIn company URL, such as https://www.linkedin.com/company/stripe. |

## What can you do with Village company profile in opencode?

Build a company comparison table in your project using Village's business descriptions, domains, industries, and employee counts. A coding agent can turn returned company records into account pages or directory entries.

### Prepare account briefs

Find companies matching a sales territory, then summarize each account's business description, industry, and employee count. For named accounts, start with their domains.

### Build a competitor comparison

Discover companies in a business category or look up known competitors. Compare their descriptions, locations where returned, and employee counts in a research table.

### Research potential partners

Create a shortlist of businesses in a target industry and region, or investigate named partners. Use company descriptions and websites to prepare a partnership review.

### Fill company records in a CRM

Add company descriptions, industries, websites, and employee counts to existing account records. Search can supply candidate accounts; profile lookups can fill gaps for known domains.

### Maintain a company directory

Populate a sector directory with company names, website links, and short descriptions. Discover entries through search or research a curated list of company domains.

### Compare prospective vendors

Find suppliers in a business category or research an existing vendor shortlist. Organize their company descriptions, industries, and employee counts before a procurement review.

## Overview

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

## Village company profile in other agents

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

## More opencode guides

- [Village LinkedIn profile](https://spiral.ai/integrations/opencode/village-linkedin-profile)
- [Village company search](https://spiral.ai/integrations/opencode/village-company-search)
- [Village LinkedIn posts](https://spiral.ai/integrations/opencode/village-linkedin-posts)
- [Village email finder](https://spiral.ai/integrations/opencode/village-email-finder)
- [Utah business registration details](https://spiral.ai/integrations/opencode/utah-business-registration-details)
- [Village people search](https://spiral.ai/integrations/opencode/village-people-search)

## Questions about Village company profile in opencode

**Can opencode use Village company profile?**

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

**How much does Village company profile cost in opencode?**

Up to $0.017459 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 Village company profile in opencode?**

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

**How long does it take to set up Village company profile in opencode?**

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

**Does opencode wait while Village company profile runs?**

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

**How large is Village's company database?**

Village advertises more than 52 million companies. That database size is not a promise that every query searches every company: its direct search documentation distinguishes network coverage from global coverage.

**How fresh is Village's company data?**

Village describes its database as refreshed quarterly and updated on demand. That describes its refresh approach, rather than guaranteeing that every company record reflects today's information.

**Does every company have an industry classification?**

No. Village reports 479 standardized industries covering 77.9% of companies, so an industry-based shortlist can leave out companies without that classification.

**Where does Village get company information?**

Village documents LinkedIn data supplied through HarvestAPI for company enrichment. When it does not recognize a domain, it can read the company's public website through ScrapingBee.

**Are Village's company records guaranteed to be accurate?**

No. Village's terms expressly decline to guarantee data accuracy, completeness, or reliability, including information made available through the service.

