Skip to main content
Glama
adamanz

Apollo.io MCP Server

by adamanz

organization_enrichment

Enrich company data by providing domain or name to access detailed organizational information from Apollo.io 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)
    Registers the 'organization_enrichment' tool with the MCP server, including its name, description, and input schema.
    { 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 server handler for the 'organization_enrichment' tool: delegates to ApolloClient.organizationEnrichment and returns JSON 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 input query parameters for organization enrichment (matches tool inputSchema).
    export interface OrganizationEnrichmentQuery { domain?: string; name?: string; [key: string]: any; }
  • Core implementation of organization enrichment: makes GET request to Apollo.io API /organizations/enrich endpoint with query params.
    * Use the Organization Enrichment endpoint to enrich data for 1 company. * https://docs.apollo.io/reference/organization-enrichment */ 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/adamanz/apollo-io-mcp-server'

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