MCP Server

Connect an AI assistant

Connect Claude, ChatGPT, Cursor, or any MCP client to LeadX and enrich companies, contacts, emails, mobile numbers, and UCC filings in chat.

The LeadX MCP server lets an AI assistant call the LeadX API directly. Ask a question in plain language and the assistant runs the matching LeadX lookup and answers with live data — no code, and no copying API keys between tools.

Connect once with your LeadX login and the assistant keeps working with your account's permissions, credits, and rate limits.

Server URL

https://agents.leadx.com/mcp

That single URL is all most clients need. LeadX supports the MCP Streamable HTTP transport and OAuth 2.1 browser sign-in, so compatible clients discover the login flow automatically.

Connect your client

  1. Open Settings → Connectors.

  2. Select Add custom connector.

  3. Name it LeadX and enter the server URL:

    https://agents.leadx.com/mcp
  4. Leave the advanced OAuth fields empty — LeadX registers your client automatically.

  5. Select Add, then Connect.

  6. Sign in to LeadX in the browser window that opens and select Allow on the permissions screen.

The LeadX tools become available in new chats. Ask a question and Claude calls LeadX when it needs data.

How sign-in works

Connecting uses your normal LeadX login. There is no API key to copy and no separate MCP password.

The client asks LeadX for authorization

Your assistant registers itself and opens the LeadX authorization page in your browser, using OAuth 2.1 Authorization Code with PKCE.

You sign in to LeadX

If you already have a LeadX session, it is reused. Otherwise you complete the normal LeadX login and the request resumes. Your LeadX password is never sent to the MCP server.

You approve the permissions

LeadX checks your account's live entitlements first, so the consent screen only ever offers data your account can already access.

The assistant receives a token

The access token is bound to the LeadX MCP server specifically and refreshes in the background, so you stay connected without signing in again.

Permissions

Each permission you approve maps to a LeadX product area:

ScopeGrants access to
mcp.toolsBase access to the LeadX tool set
companies.readCompany search and firmographics
contacts.readContact search
email.findWork email lookup
mobile.findMobile number lookup
ucc.readUCC debtor and secured-party filings
all_attributes.readCombined company attribute lookups
bbb.readBetter Business Bureau ratings and reviews
google_reviews.readGoogle review data

A scope your account is not entitled to is rejected and never appears on the consent screen. If a tool later needs a permission you did not grant, LeadX returns an insufficient_scope challenge — reconnect and approve the additional permission along with the ones you already granted.

Example prompts

Once connected, ask for what you need in plain language:

  • "What's the work email for Brett Warren at warrenbakerlaw.com?"
  • "Pull every attribute you can find for easttnplasticsurgery.com."
  • "Find construction companies in Texas with 10 to 250 employees."
  • "Who are the owners and executives at acmeplumbing.com?"
  • "Which businesses financed Caterpillar or John Deere equipment in the last 90 days?"
  • "Show me the UCC filings where Wells Fargo is the secured party in North Dakota."
  • "What's the BBB rating and accreditation status for Trio Capital?"
  • "Summarize what customers say in the Google reviews for easttnplasticsurgery.com."

See MCP tools for the full list of what the assistant can call.

Credits, limits, and permissions

MCP tool calls are ordinary LeadX API calls. They use the same endpoint permissions, rate limits, and credit charges as your direct API integration, billed to the LeadX account you signed in with.

LeadX rechecks your entitlements on every request. Tools you are not entitled to never appear in the assistant's tool list, and access stops immediately if an entitlement is revoked.

Assistants can be eager. Ask for a specific number of results — "the top 10" — when you want to control how many records a search returns and how many credits it spends.

API key access

Clients that cannot complete a browser sign-in — shared machines, servers, and CI — can send a LeadX API key instead:

POST https://agents.leadx.com/mcp
X-API-Key: <your_api_key>

Your API key is created and managed in the LeadX platform. See Authentication for details.

An OAuth access token issued for the MCP server is only valid at https://agents.leadx.com/mcp. Do not send it to api.leadx.com, and do not send your API key to the MCP server as a bearer token.

Troubleshooting

The client shows a 401 or asks me to sign in again

Your access token expired or was revoked. Reconnect from the client's connector settings to sign in again.

A tool I expected is missing

Tools are filtered by your live account entitlements. If a product is not enabled for your account, its tools do not appear. Contact your LeadX account team to add it, then reconnect.

I get an insufficient_scope error

The tool needs a permission you did not approve. Reconnect and approve the challenged permission along with the ones you already granted.

I want to disconnect

Remove the connector in your client. LeadX honors OAuth token revocation, and API keys stay managed in the LeadX platform.

Next steps