Skip to content

Reference

MCP server

LeadMCP runs a remote MCP server over streamable HTTP. Connect an MCP client once, then ask it to search, enrich and export. The tools cover the REST API plus the products that have no REST route.

Server URL

https://leadmcp.ai/api/mcp

Client setup

  1. Create an API key in the app under Integrations.
  2. Add the server URL to your MCP client configuration.
  3. Send the key in the X-API-Key header, or as an Authorization: Bearer header.
  4. Restart the client and confirm the tools appear.

This release uses API key authentication. Sign-in connections are planned.

Health

ToolREST endpointDescription
leadmcp_healthGET/api/healthPing the LeadMCP origin. No API key for the REST health endpoint. Returns ok, service and version when reachable.

Usage

ToolREST endpointDescription
get_fair_useGET/api/v1/usage/fair-useRemaining unlimited-plan daily/monthly fair-use budget for search/export/enrich (0 credits). Includes used, remaining, caps, and UTC resets_at. Daily resets at next 00:00 UTC, not 24 hours after hitting the cap.

Enrichment

ToolREST endpointDescription
leadmcp_get_emails_from_linkedin_batchPOST/api/v1/enrich/from-linkedinFind work emails and contact details from professional profile URLs. Accepts up to 100 people per batch; charges one credit per successful match.
leadmcp_get_linkedin_urls_from_emails_batchPOST/api/v1/enrich/from-emailFind professional profile profiles and contact details from work email addresses. Accepts up to 100 people per batch; charges one credit per successful match.
leadmcp_enrich_person_batchPOST/api/v1/enrich/from-personEnrich people from first name, last name, and company name or domain. Accepts up to 100 people per batch; charges one credit per successful match.
create_csv_enrichment_upload_linkMCP onlyCreate a browser upload link for CSV enrichment. Upload a CSV up to 15 MB or supply a public Google Sheet, then map columns and start the run.
check_enrichment_uploadMCP onlyCheck whether an enrichment upload has been submitted and retrieve its run_id so the client can follow the run.
check_enrichment_statusMCP onlyCheck an enrichment run for its current status, processed rows and results. Use the run_id returned after upload.
get_enrichment_resultMCP onlyRetrieve the completed enrichment result as a signed CSV download link. The download link expires after one hour.

Contacts

ToolREST endpointDescription
leadmcp_contacts_healthGET/api/v1/contacts/healthCheck contact database connectivity and the approximate number of available contact records. This diagnostic does not spend credits.
leadmcp_lookup_contact_by_phoneGET/api/v1/contacts/lookup/phoneLook up a contact by phone number and return the matching contact details. Charges one credit when a match is found.
leadmcp_lookup_contacts_by_phone_batchPOST/api/v1/contacts/from-phoneLook up contacts from a batch of phone numbers. Each successful match costs one credit; unsuccessful matches do not spend credits.
leadmcp_lookup_colleaguesPOST/api/v1/contacts/lookup/colleaguesFind colleagues at a company from a work email or company domain. Returns 100 contacts per page by default, up to 5,000 through REST, at one credit per returned contact.
lookup_decision_makersPOST/api/v1/contacts/lookup/decision-makersFind decision makers with valid emails at a company: executives, VPs, directors and head-of roles. Returns up to 100 contacts per MCP call at one credit per contact.

Search

ToolREST endpointDescription
count_contactsPOST/api/v1/contacts/search/countCount all contacts matching a filter set without returning records or spending credits. Use the exact count to size an audience before searching or exporting.
search_contactsPOST/api/v1/contacts/searchSearch contacts with the same filters as REST. Returns up to 100 rows per MCP call, pagination fields including next_offset, and an export_offer when has_more is true. Charges one credit per row.
export_contactsPOST/api/v1/contacts/search/exportStart an asynchronous CSV export of matching contacts. Returns export_id immediately; exports up to 50,000 rows, subject to available credits and fair-use limits. Charges one credit per exported row.
check_contact_exportGET/api/v1/contacts/search/export/{export_id}Check the status of a contact export using its export_id. Completed exports include the row count and a signed CSV download URL valid for 24 hours.
get_available_valuesGET/api/v1/contacts/filter-valuesGet the allowed values for a named list filter, such as country, seniority or email status. Free-text filters do not have fixed value lists. This lookup is free.
get_available_columnsMCP onlyList available contact columns, labels, types, supported filters and export options, including populated_count and fill_share to help assess field coverage.