Give Claude or Cursor a LinkedIn URL, email or person_id and the agent calls get_lead to return the job title and company that person holds now. 1 record per hit, a miss is free.
This page is about setup and prompts. For the field list and what "current" means in the data, see Current Role. For the REST call, see Current Role API. 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:
claude mcp add --transport http leadocean https://api.leadocean.io/mcp
claude mcp login leadoceanCursor. Add a remote server to mcp.json, in the url form shown in the Cursor MCP docs, September 2026:
{
"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
Current role has no tool of its own. It comes back inside get_lead, which the server lists as leadocean_get_lead. It costs 1 record per found person. The REST twin is POST /v1/people/enrich.
| Input | Type | Meaning |
|---|---|---|
linkedin_url | URL | LinkedIn profile URL. The preferred key. |
email | string | Work email. Use it when you hold an address and want the role behind it. |
person_id | digits | From meta.source_ids.person_id on a search row. Reaches people with no LinkedIn URL. |
reveal_email | boolean | Default false. Leave it off: you only want the role. |
Send exactly one identifier. There is no name plus company lookup. To check a whole team, search_leads returns the current title and company on every row, at 1 record per person.
Prompts that work
| Prompt | What the agent calls | Records |
|---|---|---|
| "Here is a LinkedIn URL. What is this person's title and employer today?" | get_lead with linkedin_url | 1 |
| "Find 10 people at stripe.com with a title containing Head. Return name, title and seniority." | search_leads with domain and title, limit 10 | 10 |
| "How many Heads of Growth in the US can I email? Do not pull anyone." | count_leads with title and country | 0 |
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.person.v1 object plus a meta block. The current role sits in contact_data.contact_current_experiences. Below is the enrich docs sample, September 2026, trimmed to the role fields.
{
"success": true,
"data": {
"profile_data": {
"profile_full_name": "Sarah Chen",
"profile_headline": "Founder & CEO at CloudSync"
},
"contact_data": {
"contact_current_experiences": [{
"company_name": "CloudSync",
"company_domain": "cloudsync.com",
"job_title": "Founder & CEO",
"company_employees": { "number_of_employees": 120 }
}]
}
},
"meta": { "credits": 1, "source": "own" }
}The docs also list job_title_details, job_seniority and job_functions[] on experience objects. A field we do not hold is null, never guessed. Over MCP, resume_data is empty today, so the agent cannot return past employers.
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 title: ["Head of Growth"] and country: ["US"] on 2026-10-01. It returned total: 1646, totalIsExact: true, credits: 0. That counts mailable people (verified, catch_all_valid or catch_all), not everyone we hold.
Troubleshooting
| Error | Cause | Fix |
|---|---|---|
| 401 | The OAuth sign-in is missing or expired. | Run /mcp in Claude Code and re-authenticate. In Cursor, sign in again from the MCP settings. |
| 402 | The free 1,000 records are spent. The free plan is one-off. | Move to Pro at $499 a month. |
| 429 | Over 100 requests per second per key. | Wait one second and retry. Ask the agent to work in small batches. |
| Wrong enum | A jobLevel or jobFunction value is not in the catalogue. | Call list_enum_values with name: job_level and use the exact string, such as C-Team or VP. |
FAQ
Which tool returns a person's current job title?
get_lead for one person, search_leads for many. Both return the current title and company. Only get_lead takes a single identifier and returns the full record.
What does a call cost, and what does a miss cost?
A found person costs 1 record. A miss costs nothing, over MCP or REST. Free is 1,000 records, one-off, no card. Pro is $499 a month, flat. See pricing.
How fresh is the title?
The dataset is refreshed monthly, and each record carries its own fetched_at date. Check it before you act on a title that matters.
Check anyone's current role from Claude, free
Free to start. No credit card. 1,000 records to spend whenever you like.
Get your free API key →