[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Data Legion company workforce lookup](https://spiral.ai/integrations/claude-code/data-legion-company-workforce-lookup)

# How to Use Data Legion company workforce lookup in Claude Code

Returns a matched company profile with headcount history, hiring, departures, growth, turnover, and workforce breakdowns. Use it to assess a known company's workforce trends alongside its core business details.

|  |  |
| --- | --- |
| Model | Data Legion company workforce lookup |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | Up to $0.069836 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Data Legion company workforce lookup in Claude Code

- Use Data Legion company workforce lookup for snowflake.com and build a chart in this project from the returned monthly headcount history.
- Use Data Legion company workforce lookup to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Data Legion company workforce lookup and tell me what changed since last week.
- Check Data Legion company workforce lookup and summarize what you find in three bullet points.
- Pull the newest data from Data Legion company workforce lookup and give me the result as a table.

## How to set up Data Legion company workforce lookup in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 Data Legion company workforce lookup**: 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": "datalegion/companies/enrich-premium",
    "input": {
      "name": "<name>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Data Legion company workforce lookup on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Data Legion company workforce lookup tools and prices

- [Data Legion · Company enrichment (premium)](https://spiral.ai/tools/alexandria/datalegion/companies/enrich-premium) (Alexandria): Up to $0.069836 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| name |  | — | Company name (fuzzy matching) |
| domain |  | — | Company website domain (e.g., google.com) |
| industry |  | — | Industry filter (used with name matching for better accuracy) |
| legion_id |  | — | Company Legion ID (exact match) |
| titlecase |  | false | If true, format text fields in title case (names, company names, locations). Raw fields, IDs, URLs, codes, and confidence fields are excluded. |
| social_url |  | — | Social profile URL (LinkedIn, Facebook, Crunchbase, X/Twitter, GitHub - will be normalized and detected) |

## What can you do with Data Legion company workforce lookup in Claude Code?

Build a company comparison table in your app from Data Legion's industries, size ranges, founding years, domains, and offices. An agent can map returned profiles into your project's account records and add workforce history where available.

### Fill gaps in CRM accounts

Add industry, size range, founding year, domains, and office details to business accounts. Look up known companies or search for records that match your account criteria.

### Prepare company research briefs

Build a brief from company descriptions, industries, founding years, websites, and social profiles. Use the returned business details to prepare for a customer or partner meeting.

### Compare a business shortlist

Put prospective customers, suppliers, or partners side by side using company type, industry, size range, and founding year. Use lookups for a named shortlist or search to assemble candidates.

### Review business territories

Organize companies by their returned headquarters and office locations. Separate headquarters from other offices when deciding which businesses belong in a territory review.

### Monitor company workforce trends

Compare monthly headcount, hiring, departures, growth, and turnover for known businesses or a selected market. Review the available history before describing a change as a trend.

### Compare workforce composition

Compare companies by their aggregate seniority, job function, tenure, and education distributions. Use the results for employer research or business due diligence.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Data Legion company workforce lookup in other agents

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

## More Claude Code guides

- [Data Legion company profile search](https://spiral.ai/integrations/claude-code/data-legion-company-profile-search)
- [Data Legion company workforce search](https://spiral.ai/integrations/claude-code/data-legion-company-workforce-search)
- [Data Legion company profile lookup](https://spiral.ai/integrations/claude-code/data-legion-company-profile-lookup)
- [Data Legion detailed professional profile](https://spiral.ai/integrations/claude-code/data-legion-detailed-professional-profile)
- [Data Legion basic search with contact data](https://spiral.ai/integrations/claude-code/data-legion-basic-search-with-contact-data)
- [Data Legion detailed professional search](https://spiral.ai/integrations/claude-code/data-legion-detailed-professional-search)

## Questions about Data Legion company workforce lookup in Claude Code

**Can Claude Code use Data Legion company workforce lookup?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Data Legion company workforce lookup like any built-in tool.

**How much does Data Legion company workforce lookup cost in Claude Code?**

Up to $0.069836 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need an Alexandria account to use Data Legion company workforce lookup in Claude Code?**

No. Spiral runs Data Legion company workforce lookup on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Data Legion company workforce lookup in Claude Code?**

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

**Does Claude Code wait while Data Legion company workforce lookup runs?**

Data Legion company workforce lookup runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**How many companies does Data Legion cover?**

Data Legion's published coverage exceeds 71 million company profiles. Coverage varies by field: its statistics page reports a primary website domain on 52% of records.

**How often does Data Legion refresh company data?**

Data Legion rebuilds its full dataset monthly. That is the published refresh schedule for the underlying company data.

**Does Data Legion collect information from private accounts?**

Data Legion says its records come from publicly available and commercially licensed sources. Its sourcing policy explicitly excludes scraping private accounts.

**Can I distinguish headquarters from other offices?**

Company locations identify the primary office as headquarters and indicate whether each office is still operating. That lets you distinguish a headquarters address from another office in the returned profile.

**How much workforce history does Data Legion provide?**

Premium company records can contain up to 60 months of headcount, hires, and departures. The series ends at the dataset's as-of month.

