Skip to main content
Glama
lkm1developer

Apollo.io MCP Server

organization_enrichment

Enrich company data by providing domain or name to access detailed organizational information through Apollo.io's database.

Instructions

Use the Organization Enrichment endpoint to enrich data for 1 company

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNoCompany domain
nameNoCompany name

Implementation Reference

  • src/index.ts:112-128 (registration)
    Registration of the 'organization_enrichment' tool in the MCP server's list of tools, including input schema definition.
    { name: 'organization_enrichment', description: 'Use the Organization Enrichment endpoint to enrich data for 1 company', inputSchema: { type: 'object', properties: { domain: { type: 'string', description: 'Company domain' }, name: { type: 'string', description: 'Company name' } } } },
  • MCP tool dispatch handler case for 'organization_enrichment' that invokes ApolloClient.organizationEnrichment and formats the response.
    case 'organization_enrichment': { const result = await this.apollo.organizationEnrichment(args); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
  • TypeScript interface defining the query parameters for organization enrichment (matches tool input schema).
    export interface OrganizationEnrichmentQuery { domain?: string; name?: string; [key: string]: any; }
  • Core handler implementation that executes the organization enrichment by calling the Apollo.io /organizations/enrich API endpoint.
    async organizationEnrichment(query: OrganizationEnrichmentQuery): Promise<any> { try { const url = `${this.baseUrl}/organizations/enrich`; const response = await this.axiosInstance.get(url, { params: query }); if (response.status === 200) { return response.data; } else { console.error(`Error: ${response.status} - ${response.statusText}`); return null; } } catch (error: any) { console.error(`Error: ${error.response?.status} - ${error.response?.statusText || error.message}`); return null; } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lkm1developer/apollo-io-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server