How to integrate LeadMagic MCP with Hermes

Connect Hermes to LeadMagic MCP. Find emails for vp of sales, enrich account profile for acme inc, and more using natural language, with authentication handled for you.

LeadMagic logoLeadMagic
Api Key

LeadMagic is a data service that provides people, company, jobs, advertising, and enrichment data for sales and recruiting. Use it to enrich leads, discover candidates, and power targeted outreach with rich contact and company profiles.

109 Tools

Introduction

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your LeadMagic account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate LeadMagic with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,500+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating LeadMagic with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to LeadMagic

Ask your agent to connect to LeadMagic, or simply request any LeadMagic-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new LeadMagic connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to LeadMagic or request any LeadMagic-related task. It will prompt you to authenticate and authorize access.

5. Done!

What is the LeadMagic MCP server, and what's possible with it?

The LeadMagic MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your LeadMagic account. It provides structured and secure access so your agent can perform LeadMagic operations on your behalf.

Way Forward

With LeadMagic connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

TOOLS

Supported Tools

Every LeadMagic action and event your agent gets out of the box.

Add Emails To Suppression List

Add a non-empty plaintext email list to one owned suppression list; LeadMagic stores only normalized SHA-256 hashes.

Create Credit Budget

Create a persistent credit budget that caps spend for one LeadMagic scope.

Create Email Suppression List

Create an owned suppression list from a unique list_id and non-empty plaintext email list.

Create Job Search Export V3

Synchronously export up to 5,000 matching jobs.

Delete Credit Budget

Permanently delete one credit budget.

Delete Email Suppression List

Permanently delete an entire suppression list and its stored hashes.

Detect Job Change

Check whether a person has changed jobs relative to an expected company.

Download Bulk Job Results CSV

Download all result rows for an owned bulk job as a CSV file.

Enrich Company V1

Call POST /v1/companies/company-search to enrich one company from its domain, name, or business profile identifier.

Enrich Company V3 Docs Alias

Call the distinct documented POST /v3/companies/enrich alias.

Find Company Competitors V1

Find competitors from a company domain, profile, or name.

Find Company Employees V1

Find up to 10 employees at one company, returning names, titles, locations, and professional profile URLs.

Find Jobs V1

Call POST /v1/jobs/jobs-finder to find jobs with the LeadMagic V1 filters.

Find Lookalike Companies V3

Find similar companies from a seed domain, name, or description.

Find Mobile Phone

Find one person's mobile phone number from a professional profile URL or known email.

Find Personal Email

Find one person's personal email addresses from a professional profile URL or identifier.

Find Person By Role V1

Find one person by job title at a specified company.

Find Work Email

Find one person's work email from their name and company domain or name.

Find Work Email From B2B Profile

Find one person's work email from a professional profile URL or slug.

Get Account Overview

Return the connected workspace's available credits, API-key permission summary, current rate limits, and today's usage.

Get Analytics All Time Summary

Get documented lifetime account request, credit, product, success, and latency statistics, optionally restricted to a date range.

Get Analytics Credit History

Get LeadMagic credit consumption history with a daily breakdown.

Get Analytics Daily Metrics

Get documented daily request, credit, latency, and error metrics for the last 1 to 90 days.

Get Analytics Day Breakdown

Get the documented per-product request and credit breakdown for one date.

Get Analytics Products

Get per-product LeadMagic usage with request, credit, and success metrics.

Get Analytics Usage

Get daily LeadMagic usage with request, credit, and chargeable-rate totals.

Get B2B Ad Details V1

Get full details for a specific B2B ad from its library URL, detail path, or numeric ID.

Get B2B Profile From Email

Find one person's professional profile from a supplied work or personal email.

Get B2B Profile From Profile URL

Retrieve one person's professional profile, including employment, education, certifications, and honors, from a profile URL or slug.

Get Batch

Read status, progress, cost, and metadata for a mixed-product batch by its exact batch identifier.

Get Batch Campaign Metrics

Read aggregate usage and success metrics for a batch campaign.

Get Batch Client Metrics

Read aggregate batch usage and success metrics for one client UUID.

Get Bulk Capabilities

Return the current bulk submission limits and supported operational features in a stable agent-facing shape.

Get Bulk Job

Read status, progress, timestamps, and finalized credit usage for one bulk job.

Get Bulk Job Progress

Return LeadMagic's compact progress snapshot for frequent polling of one bulk job owned by the connected workspace.

Get Company Funding V1

Call POST /v1/companies/company-funding to get complete funding history and related company intelligence by domain or name.

Get Company Funding V3 Company Docs Alias

Call the distinct documented POST /v3/companies/company-funding alias.

Get Company Funding V3 Docs Alias

Call the distinct documented POST /v3/companies/funding alias.

Get Company Technographics V1

Get a company's technology stack from its domain.

Get Credit Balance V1

Check the connected LeadMagic workspace's current credit balance for free.

Get Credit Budget Status

Read current limits, remaining credits, and exceeded state for every LeadMagic credit budget.

Get Credit Service Health V1 Docs Only

Validate the connected LeadMagic API key and check credit-service authentication status.

Get Email Suppression List

Return one offset-controlled page of details and irreversible SHA-256 email hashes for one owned suppression list.

Get Job Board Stats V3

Return the free job search dataset statistics through LeadMagic's exact job-board integration alias route.

Get Job Search Catalogs

Return the free filter catalogs used by job search, including countries, regions, job types, industries, company types, and seniority values.

Get Job Search Dataset Stats V3

Return free public coverage, freshness, and capability statistics for the LeadMagic Jobs Search index.

Get Search Stats

Return free cached coverage, capabilities, and top dimensions for selected LeadMagic search products.

List Batch Clients

List existing organization-scoped client records used to segment batch work.

List Batch Client Webhooks

List delivery webhooks configured for one batch client.

List Batches

List one bounded page of mixed-product batches for the connected organization.

List Bulk Job Errors

Return one offset-controlled page of failed rows and error details for a bulk job owned by the connected workspace.

List Bulk Job Events

Return the append-only event log, newest first, for one bulk job owned by the connected workspace.

List Bulk Job Results

Return one bounded offset page of row-level JSON results for an owned bulk job.

List Bulk Jobs

Return one bounded offset page of bulk jobs owned by the connected account, newest first.

List Credit Budgets

List all persistent credit budgets configured for the connected LeadMagic workspace, including identifiers needed for owned-budget lifecycle operations.

List Email Suppression Lists

Read all suppression-list summaries for the connected workspace.

List External Batch Providers

List organization-level external enrichment provider configurations.

List Job Company Types V1

List the company type IDs accepted by the legacy V1 Jobs Finder API.

List Job Countries V1

List the free country codes accepted by the legacy V1 Jobs Finder API.

List Job Industries V1

List the industry IDs accepted by the legacy V1 Jobs Finder API.

List Job Occupation Taxonomy V3

Autocomplete LeadMagic's broad-to-specific occupation taxonomy and return canonical IDs, labels, levels, and paths.

List Job Regions V1

List the free region IDs accepted by the legacy V1 Jobs Finder API.

List Job Search Company Suggestions V3

Autocomplete companies or resolve an exact domain into canonical company IDs and card data for Job Search filters.

List Job Search Location Suggestions V3

Autocomplete countries, regions, states, and cities into canonical IDs for exact Job Search geo filters.

List Job Search Role Suggestions V3

Autocomplete role names into canonical occupation taxonomy IDs for Job Search filters.

List Job Search Tag Suggestions V3

Autocomplete normalized job tags with tag-type and occupation taxonomy metadata for Job Search filters.

List Job Search Title Suggestions V3

Autocomplete searchable job title phrases with occupation taxonomy metadata for Job Search filters.

List Job Types V1

List the job type IDs accepted by the legacy V1 Jobs Finder API.

Lookup Company Domain V3 Docs Alias

Call the distinct documented POST /v3/companies/domain-lookup alias.

Lookup Company V3 Docs Alias

Call the distinct documented POST /v3/companies/lookup alias.

Pause Bulk Job

Pause a queued or running LeadMagic bulk job.

Preview Mixed Batch Cost

Estimate the maximum credit cost and budget impact of an exact mixed-product batch payload.

Refresh Credit Cache V1 Docs Only

Force LeadMagic to refresh the connected workspace's credit cache from its database.

Remove Emails From Suppression List

Irreversibly remove specific email suppressions from one owned list, allowing those addresses to be processed again.

Resolve Job Search Filters V3

Resolve friendly job-search companies, tags, occupation taxonomy, locations, and titles into canonical values.

Restart Bulk Job

Destructively restart a LeadMagic bulk job in full, for failed rows only, or from a zero-based row or shard.

Resume Bulk Job

Resume a paused LeadMagic bulk job.

Review Bulk Job

Resume or irreversibly cancel an owned bulk job.

Search B2B Ads V1

Search for B2B ads by company domain or name.

Search Companies

Call the canonical POST /v3/companies/search route to search or look up companies by domain, name, website, professional profile URL, or company filters and return one cursor-controlled page.

Search Companies V1 Legacy Docs Alias

Call the distinct legacy compatibility route POST /v1/companies/search.

Search Companies V3 Company Hyphenated Docs Alias

Call the distinct documented POST /v3/companies/company-search alias.

Search Google Ads V1

Search for Google ads run by a company.

Search Jobs

Call the canonical POST /v3/jobs/search route to search by title, company, location, taxonomy, tags, salary, seniority, date, and work arrangement, returning one cursor-controlled page.

Search Jobs V1 Legacy Docs Alias

Call the distinct legacy compatibility route POST /v1/jobs/search; prefer POST /v3/jobs/search for new integrations.

Search Jobs V2 Legacy Docs Alias

Call the distinct legacy compatibility route POST /v2/jobs/search; prefer POST /v3/jobs/search for new integrations.

Search Jobs V3 Hyphenated OpenAPI Alias

Search the distinct documented POST /v3/jobs-search alias and return one cursor-controlled page.

Search Jobs V3 Singular Docs Alias

Call the distinct documented compatibility route POST /v3/job-search; prefer POST /v3/jobs/search for new integrations.

Search Meta Ads V1

Search for Meta ads by company domain or name.

Search People

Call the canonical POST /v3/people/search route to search by company, title, role, free text, and contact availability, returning one cursor-controlled page without raw email or mobile details.

Search People V1 Legacy Docs Alias

Call the distinct legacy compatibility route POST /v1/people/search; prefer the canonical V3 route for new integrations.

Search People V2 Legacy Docs Alias

Call the distinct legacy compatibility route POST /v2/people/search; prefer the canonical V3 route for new integrations.

Search People V3 By Title Docs Alias

Call the distinct compatibility route POST /v3/people/by-title; prefer the canonical route for new integrations.

Search People V3 Company Docs Alias

Call the distinct documented POST /v3/people/company-search alias.

Search People V3 Contacts By Title Docs Alias

Call the distinct compatibility route POST /v3/people/contacts-by-title; prefer the canonical route for new integrations.

Search People V3 Employees Docs Alias

Call the distinct compatibility route POST /v3/people/employees; prefer the canonical route for new integrations.

Search People V3 Full Docs Alias

Call the distinct documented POST /v3/people/full-search alias.

Search People V3 Icp Docs Alias

Call the distinct documented compatibility route POST /v3/people/icp-search; prefer POST /v3/people/search for new integrations.

Search People V3 Lookalike Docs Alias

Call the distinct compatibility route POST /v3/people/lookalike; prefer the canonical route for new integrations.

Search People V3 Mixed Docs Alias

Call the distinct documented POST /v3/people/mixed-search alias.

Search People V3 Singular Docs Alias

Call the distinct documented POST /v3/person/search alias.

Submit Bulk Job

Create one asynchronous bulk enrichment job from exactly one input mode.

Submit Bulk Local Leads Job

Create a long-running local-leads bulk job.

Submit Mixed Product Batch

Create one asynchronous mixed-product enrichment batch.

Update Batch Metadata

Update metadata or client association for an owned batch during its mutable window.

Update Bulk Job Priority

Change the priority of a queued or running LeadMagic bulk job owned by the connected workspace.

Update Credit Budget

Update one or more controls on a credit budget created and owned by the caller.

Validate Bulk Submission

Validate exactly one bulk input mode and its options without persisting or processing a job.

Validate Email

Check one email address for deliverability and return mail-server and company context.

FRAMEWORKS

How to build LeadMagic MCP Agent with another framework

FAQ

Frequently asked questions

With a standalone LeadMagic MCP server, the agents and LLMs can only access a fixed set of LeadMagic tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from LeadMagic and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Hermes fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right LeadMagic tools.

Yes, absolutely. You can configure which LeadMagic scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your LeadMagic data and credentials are handled as safely as possible.

Start with LeadMagic.It takes 30 seconds.

Managed auth, hosted MCP servers, and every LeadMagic tool your agent needs.Free to start.

Start building