Enrichment MCP

Company Headcount with MCP

Ask Claude or Cursor how big a company is and the agent calls get_company. One URL, OAuth sign-in, 1 record per lookup, a miss is free.

Get your free API key →Free to start. No credit card. 1,000 records to spend whenever you like.

Ask Claude or Cursor how big a company is and the agent calls get_company. One URL, OAuth sign-in, 1 record per lookup, a miss is free.

This page is about setup and prompts. For the field list and the REST call, see Company Headcount. To build a list by size instead of looking up one company, see find companies by headcount. Other clients are on the MCP hub.

Connect the server

The server is https://api.leadocean.io/mcp. It signs in with OAuth 2.1, so there is no key to paste. Create a free account first.

Claude Code. The command format is from the Claude Code MCP docs, September 2026:

bash
claude mcp add --transport http leadocean https://api.leadocean.io/mcp
claude mcp login leadocean

Cursor. Add a remote server to mcp.json, in the url form shown in the Cursor MCP docs, September 2026:

json
{
  "mcpServers": {
    "leadocean": {
      "url": "https://api.leadocean.io/mcp"
    }
  }
}

Cursor starts the OAuth sign-in the first time the server is used. Other clients use the same URL, see the LeadOcean MCP docs.

The tool

Headcount has no tool of its own. It comes back inside get_company, which the server lists as leadocean_get_company. It costs 1 record per call.

InputTypeMeaning
domainstringWebsite domain, for example stripe.com. Preferred key.
linkedin_urlURLLinkedIn company page. Use it when you have no domain.

Send one of the two. Name-only lookups do not work, so the agent asks for a domain.

To find companies by size, the agent uses search_companies with employeeRange, or minEmployees and maxEmployees. That costs 1 record per company returned.

Prompts that work

PromptWhat the agent callsRecords
"How many employees does stripe.com have? Give me the number and the size band."get_company with domain1
"Here are 30 domains. Return a table of domain, headcount and size band. Write 'not held' where blank."get_company per domain30 at most
"List the employee ranges you accept, then count people at US companies with 201-500 staff."list_enum_values, then count_leads0

Put the record limit in the prompt. "Stop after 25 records" is enough for the agent to hold a batch.

What the agent gets back

The result is one leadocean.company.v1 object plus a meta block. Headcount sits in company_data.company_employees: number_of_employees, a banded number_of_employees_code, and min and max, per the company docs, September 2026. Below is the response shape, trimmed to the headcount fields, with placeholder values (Acme).

json
{
  "success": true,
  "data": {
    "company_data": {
      "company_name": "Acme",
      "company_domain": "acme.com",
      "company_employees": {
        "number_of_employees": 250,
        "number_of_employees_code": "201-500"
      },
      "company_linkedin_followers": 12345
    },
    "company_metrics": { "completion_score": 94, "marketability_score": 81 },
    "meta": { "sources": ["own"], "schema": "leadocean.company.v1" }
  },
  "meta": { "credits": 1, "source": "own" }
}

Unknown values are null, never guessed. The band can be present where the exact number is not, so a range filter still works on those records.

A hit with no headcount on file still costs 1 record, because you received a company. A company we hold nothing for is a 404 and costs nothing.

Free checks first

count_leads, list_enum_values and get_account spend no records. Run them before any paid call.

We ran count_leads with employeeRange: ["201-500"] and hqCountry: ["US"] on 2026-10-01. It returned total: 5895665, totalIsExact: true, credits: 0. That counts mailable people (verified, catch_all_valid or catch_all) at those companies, not the companies themselves.

Troubleshooting

ErrorCauseFix
401The OAuth sign-in is missing or expired.Run /mcp in Claude Code and re-authenticate. In Cursor, sign in again from the MCP settings.
402The free 1,000 records are spent. The free plan is one-off.Move to Pro at $499 a month.
429Too many calls at once. The limit is 100 requests per second per key.Wait one second and retry. Ask the agent to work in small batches.
Wrong enumemployeeRange is not one of the accepted brackets.Call list_enum_values with name: employee_range and use the exact string, such as 201-500 or 10001+.

FAQ

Which tool returns employee count?

get_company. Headcount is a field on the company record, not a separate tool. The REST twin is POST /v1/companies/enrich.

What does a call cost, and what does a miss cost?

A found company costs 1 record. A miss costs nothing. Free is 1,000 records, one-off, no card. Pro is $499 a month, flat. See pricing.

Can the agent look up headcount by company name?

No. It needs a domain or a LinkedIn company URL. Pair headcount with other firmographics in company revenue with MCP.

Check any company's headcount from Claude, free

Free to start. No credit card. 1,000 records to spend whenever you like.

Get your free API key →