How to Use Village company search in Codex
Find matching companies with names, domains, employee counts, industries, descriptions, and locations. Use it to build a shortlist by business criteria before researching individual companies.
Prompts to try with Village company search in Codex
Copy an example into Codex, or ask in your own words.
Use Village company search to find software companies with 50 to 200 employees in California, then create a CSV of returned names, domains, industries, and locations.
Use Village company search to find fintech companies in London and populate this project's company directory with returned names, websites, and descriptions.
Use Village company search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Village company search and tell me what changed since last week.
Check Village company search and summarize what you find in three bullet points.
How to set up Village company search in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex 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 Village company search
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": "village/companies/search", "input": { "prompt": "<prompt>" } }'
Then paste one of the prompts above: Codex finds Village company search on Spiral, shows the price and runs it.
Village company search providers and prices
Spiral runs Village company search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Mode | auto, lookup, simple, or complex | auto (default), lookup, simple or complex. complex searches take 20 to 60 seconds. | |
| Limit | 1 to 100 | 25 | Companies per page, 1 to 100. Village's default is 25. The price scales with the companies returned. |
Every API field of Village · Company search is on its tool page: open its card above.
What can you do with Village company search in Codex?
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.
More on Village company search and Codex
Overview
Village company search in other agents
Questions about Village company search in Codex
Can Codex use Village company search?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Village company search like any built-in tool.
How much does Village company search cost in Codex?
Up to $0.87295 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need an Alexandria account to use Village company search in Codex?
No. Spiral runs Village 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 Village company search in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Village company search runs?
Village company search runs in the background. Codex 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.
Start using Village company search in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


