Add to Cursor
Installs the config. Cursor reads
LEV8_API_KEY from your environment at runtime.Add to VS Code
Installs the config. VS Code prompts for the Token on first connection.
Connect your client
If you haven’t created a Token yet, follow the Authentication guide. Store the completelev8_live_... value as LEV8_API_KEY in your environment.
- Codex
- Claude Code
- Gemini CLI
- Other
codex mcp list. Restart Codex after adding it so the new Tools are loaded. The ChatGPT desktop app, Codex CLI, and Codex IDE extension share this configuration on the same host.Available Tools
entity_search_create: Create a billed asynchronous search for companies, people, creators, Shopify stores, Xiaohongshu, or WeChat Official Accounts.entity_search_status: Check the progress of an entity search task.entity_search_fetch: Read one page of results from a completed or in-progress search.contact_search: Find an email or phone number. Only a non-empty result is charged.deep_search: Answer an open-ended research question synchronously.enrich: Generate structured fields from entity context and a caller-provided JSON Schema.extract: Extract social, GitHub, or public web-page lists synchronously.credit_balance: Read the available credits for your billing account.
Try it
After the Tools appear in your client, ask it to use Lev8 in natural language:Example prompts
Example prompts
Search for entitiesCalls Calls Calls Calls Calls Calls
entity_search_create, then entity_search_status and entity_search_fetch automatically.Find a contactcontact_search and returns the result directly.Research a questiondeep_search. Its answer is a dynamic, non-null JSON value and may include a generated result plus citations.Enrich an entityenrich with an object JSON Schema for the requested fields.Extract a public listextract with type: web2list, the public URL, and an extraction instruction.Check creditscredit_balance.Entity Search workflow
Entity Search is asynchronous. Create a task, monitor it, then fetch results in pages.1
Create
Call
entity_search_create with an entity_type and objective. For xiaohongshu searches, or WeChat Official Account searches with entity_type: "wechat", set enable_web_search to true. Save the returned leads_search_id.2
Monitor
Call
entity_search_status until the state becomes done or error. You can begin fetching as soon as ready_count is positive. Xiaohongshu and WeChat Official Account tasks usually take 1 to 2 minutes before results are ready.3
Fetch
Call
entity_search_fetch. Advance pts by the returned count until all ready_count results have been read.Contact Search workflow
Contact Search is synchronous and returns the result in a single call.1
Search
Call
contact_search with a contact_type (email or phone) and an objective describing the person and company. The result is returned directly.Synchronous tools
deep_search, enrich, and extract each return a result in one Tool call. Deep Search passes through its answer as dynamic JSON; do not assume it is always a string or that an object has fixed fields. Enrich returns an object shaped by the supplied JSON Schema. Extract returns an array on success and a failure-reason string when success is false.
For web2list, extract requires an instruction and a public HTTP or HTTPS URL. Social and GitHub extraction limits default to 100 and can be at most 10000; web2list normalizes the limit to 100.
Billing and retries
Every Tool call goes through the Lev8 API, so Token scopes, credit billing, and idempotency handling still apply. The MCP server generates an internal idempotency key for every paid POST Tool:entity_search_create, contact_search, deep_search, enrich, and extract. That key is not exposed as a Tool input.
Troubleshooting
Tools do not appear
Tools do not appear
Restart your client after changing its MCP configuration. Some clients require a full restart to detect new MCP servers.Check the MCP server list or connection logs in your client to confirm
lev8 is registered.A Tool reports a scope error
A Tool reports a scope error
Enable the required scope on your Token from API Tokens, or create a new Token with the correct access.
A paid Tool times out
A paid Tool times out
Do not immediately call it again. The original operation may still have consumed credits. Check with
entity_search_status or credit_balance before retrying.Cursor cannot read the Token
Cursor cannot read the Token
If Cursor was opened from the macOS Dock or another desktop launcher, that process may not have access to
LEV8_API_KEY.Launch Cursor from a terminal where the variable is exported, or configure the variable in your desktop environment.Transport details
Transport details
- Lev8 MCP uses Streamable HTTP (
POSTwith JSON). The endpoint is stateless and does not create persistent sessions or send server-initiated notifications. - Authentication uses the
lev8_live_...API Token as a Bearer credential. The HTTP API and MCP use the same Token. - OAuth, dynamic client registration, and browser authorization are not supported in the first release.
- The MCP endpoint does not provide Token creation, listing, or revocation Tools.
- Objective text, results, contact details, and Tokens are not written to MCP logs.
Next steps
Agent Skills
Install the Lev8 skill for Codex, Claude Code, or Cursor.
Authentication
Create, store, and rotate API keys.
Entity Search
Review entity types, enrichment fields, and deduplication options.
Contact Search
Find email addresses or phone numbers.
Deep Search
Answer open-ended research questions.
Enrich
Generate structured fields for an entity.
Extract
Extract social, GitHub, and public web-page lists.