UNPKG

leadmagic-mcp-server

Version:

Model Context Protocol server for LeadMagic API - Complete B2B data enrichment with 19 tools for email finding, profile enrichment, company intelligence, job data, and advertisement tracking

95 lines 4.16 kB
import type { LeadMagicConfig, EmailValidationRequest, EmailValidationResponse, EmailFinderRequest, EmailFinderResponse, ProfileSearchRequest, ProfileSearchResponse, CompanySearchRequest, DetailedCompany, MobileFinderRequest, MobileFinderResponse, B2BProfileRequest, B2BProfileResponse, JobsFinderRequest, JobsFinderResponse, RoleFinderRequest, RoleFinderResponse, EmployeeFinderRequest, EmployeeFinderResponse, CompanyFundingRequest, CompanyFundingResponse, PersonalEmailFinderRequest, PersonalEmailFinderResponse, B2BSocialEmailRequest, B2BSocialEmailResponse, AdsSearchRequest, GoogleAdsResponse, MetaAdsResponse, B2BAdsResponse, B2BAdDetailsRequest, B2BAdDetailsResponse, JobCountry, JobType } from './types.js'; export declare class LeadMagicError extends Error { status: number; code: string; response?: any | undefined; constructor(status: number, code: string, message: string, response?: any | undefined); } export declare class LeadMagicClient { private client; constructor(config: LeadMagicConfig); /** * Check available API credits */ getCredits(): Promise<{ credits: number; }>; /** * Validate an email address for deliverability and get company information */ validateEmail(request: EmailValidationRequest): Promise<EmailValidationResponse>; /** * Find verified email address based on person's name and company */ findEmail(request: EmailFinderRequest): Promise<EmailFinderResponse>; /** * Get full profile details from B2B profile URL (e.g., LinkedIn) * Rate limit: 300 requests/minute */ searchProfile(request: ProfileSearchRequest): Promise<ProfileSearchResponse>; /** * Search for company details using domain, name, or profile URL */ searchCompany(request: CompanySearchRequest): Promise<DetailedCompany>; /** * Find mobile phone numbers using profile URL, work email, or personal email */ findMobile(request: MobileFinderRequest): Promise<MobileFinderResponse>; /** * Find B2B profile URL using work email address */ emailToProfile(request: B2BProfileRequest): Promise<B2BProfileResponse>; /** * Search for job postings based on various criteria */ findJobs(request: JobsFinderRequest): Promise<JobsFinderResponse>; /** * Find specific roles/positions within a company */ findRole(request: RoleFinderRequest): Promise<RoleFinderResponse>; /** * Find employees of a specific company */ findEmployees(request: EmployeeFinderRequest): Promise<EmployeeFinderResponse>; /** * Get comprehensive funding information, financials, competitors, and company insights */ getCompanyFunding(request: CompanyFundingRequest): Promise<CompanyFundingResponse>; /** * Find personal email addresses from B2B profile URLs */ findPersonalEmail(request: PersonalEmailFinderRequest): Promise<PersonalEmailFinderResponse>; /** * Find work email addresses from B2B profile URLs */ socialToWorkEmail(request: B2BSocialEmailRequest): Promise<B2BSocialEmailResponse>; /** * Search for Google Ads based on company's domain or name */ searchGoogleAds(request: AdsSearchRequest): Promise<GoogleAdsResponse>; /** * Search for Meta (Facebook/Instagram) Ads based on company's domain or name */ searchMetaAds(request: AdsSearchRequest): Promise<MetaAdsResponse>; /** * Search for B2B Ads based on company's domain or name */ searchB2BAds(request: AdsSearchRequest): Promise<B2BAdsResponse>; /** * Get detailed information about a specific B2B ad */ getB2BAdDetails(request: B2BAdDetailsRequest): Promise<B2BAdDetailsResponse>; /** * Get list of available countries for job filtering */ getJobCountries(): Promise<JobCountry[]>; /** * Get list of available job types for filtering */ getJobTypes(): Promise<JobType[]>; /** * Generic method for custom API calls */ request<T = any>(method: string, endpoint: string, data?: any): Promise<T>; } //# sourceMappingURL=client.d.ts.map