Skip to main content
Lev8 MCP lets your AI assistant search entities and contacts, answer research questions, enrich records, extract public lists, and manage credits through one hosted endpoint. There is no local server, executable, or package to install.
Create an API Token and set it as an environment variable, then click to install:

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 complete lev8_live_... value as LEV8_API_KEY in your environment.
Never commit your Token to source control. The values below are placeholders.
Confirm the server is registered with 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.
See the Entity Search, Contact Search, Deep Search, Enrich, Extract, and Credit balance API references for full parameter details.

Try it

After the Tools appear in your client, ask it to use Lev8 in natural language:
Search for entities
Calls entity_search_create, then entity_search_status and entity_search_fetch automatically.Find a contact
Calls contact_search and returns the result directly.Research a question
Calls deep_search. Its answer is a dynamic, non-null JSON value and may include a generated result plus citations.Enrich an entity
Calls enrich with an object JSON Schema for the requested fields.Extract a public list
Calls extract with type: web2list, the public URL, and an extraction instruction.Check credits
Calls credit_balance.
Your client chooses the relevant Tool and asks you to approve the call according to its own permission settings.

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.
A task with status: error can still have ready results. Fetch them before closing the task.

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.
Only a non-empty result is charged. If no contact is found, no credits are deducted.

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.
The first release does not automatically retry paid operations. Calling the Tool again creates a new key and is treated as a new billable operation. Do not repeat a call whose outcome is unknown.

Troubleshooting

Confirm the Token is complete, active, and sent as Authorization: Bearer <token>.
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.
Enable the required scope on your Token from API Tokens, or create a new Token with the correct access.
Do not immediately call it again. The original operation may still have consumed credits. Check with entity_search_status or credit_balance before retrying.
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.
  • Lev8 MCP uses Streamable HTTP (POST with 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.