Skip to main content

How to connect Hunter to Gemini with MCP

Connect Hunter to Gemini using the Model Context Protocol (MCP) so you can search for emails, find leads, and run domain searches without leaving your chat.

Hunter integrates with Gemini through the Model Context Protocol (MCP), letting you search for email addresses, find leads, and run domain searches using natural language, without leaving your Gemini session.

Unlike Hunter's ChatGPT integration, there's no Hunter listing to find and install from an app directory. You connect Hunter yourself by adding it as a custom MCP connector — in the Gemini app, Gemini CLI, Google AI Studio, or Vertex AI / Gemini Enterprise.


Prerequisites

  • A Hunter account (if you don't have one, you can create one for free).

  • An API key from your Hunter dashboard — only needed if you connect via Gemini CLI, Google AI Studio, or Vertex using header authentication instead of OAuth.


Add the server

Add Hunter as an MCP server using whichever surface you use to work with Gemini.

Quickest: start from your Hunter account

If you're logged in to Hunter, go to "Integrations", open the "AI integrations" tab, select "Gemini", and click "Add to Gemini". That opens Gemini with a setup prompt already written, and Gemini walks you through connecting Hunter in the chat.

If you'd rather set it up yourself, or you're using the CLI, AI Studio or Vertex, follow the matching section below.

Gemini app

💡 Google currently limits custom apps for Spark to eligible personal Google accounts, not work or school accounts. If you can't see "Custom apps for Spark", use Gemini CLI, Google AI Studio or Vertex instead — all three are below.

  1. Go to Gemini.

  2. Go to "Settings & help" → "Connected apps".

  3. Select "Add a custom app" under "Custom apps for Spark".

  4. Paste the Hunter MCP server URL: https://mcp.hunter.io/mcp

  5. Click "Next".

  6. Sign in with your Hunter account.

Hunter's MCP server supports Dynamic Client Registration, so you shouldn't need to enter client credentials or open any "Advanced" section.

You only need to add this once, from the Gemini web app — once connected, it also works in the Gemini mobile app.

Once connected, start a new chat. You can ask Gemini things like: "Use Hunter to find the email pattern for stripe.com", and it will respond using your Hunter account.


Gemini CLI

Run this in your terminal:

gemini mcp add --transport http hunter https://mcp.hunter.io/mcp -s user

👉 Prefer API key authentication? Add Hunter directly to your config instead. Edit ~/.gemini/settings.json (user level) or .gemini/settings.json (project level):

{ 
"mcpServers": {
"hunter": {
"httpUrl": "https://mcp.hunter.io/mcp",
"headers": { "X-API-Key": "YOUR_HUNTER_API_KEY" }
}
}
}

Replace YOUR_HUNTER_API_KEY with your key from your Hunter dashboard.

Confirm the connection with /mcp or /mcp list.


Google AI Studio

Add Hunter as a custom remote MCP server using: https://mcp.hunter.io/mcp

Use OAuth when available. If you need to use a header instead, send X-API-Key with your key from your Hunter dashboard.


Vertex AI / Gemini Enterprise

👉 This connects to Hunter's own hosted MCP server — it isn't a listing in Google's own MCP catalogue.

Add Hunter as a custom remote MCP server using: https://mcp.hunter.io/mcp

Use OAuth when available. If you need to use a header instead, send X-API-Key with your key from your Hunter dashboard.


How to revoke Hunter's access

Connecting Hunter to Gemini gives it ongoing access to your Hunter account. You can cut that access from Hunter at any time:

  1. Go to "Integrations" in your Hunter account.

  2. Open the "Authorized apps" tab.

  3. Find Gemini in the list and click "Revoke".

The list shows when each app was connected and when it was last used. If you've connected the same app more than once, it appears once per connection — revoke each entry you want to cut off. You can connect again later whenever you need to.

This is separate from removing the Hunter connector inside Gemini: revoking here acts on your Hunter account directly.

Verify the connection

Start a new chat and ask: "Use Hunter to find the email pattern for stripe.com."

If Hunter returns results, you're all set.


Troubleshooting

  • Make sure you started a new chat after connecting — MCP connections aren't picked up mid-conversation.

  • Double-check you used the exact server URL: https://mcp.hunter.io/mcp

  • If you authenticated with an API key, confirm it's correct and active in your Hunter dashboard.

  • For Gemini CLI, run /mcp list to confirm Hunter shows as connected.

Building your own integration

If you're wiring Hunter into your own agent rather than using one of the methods above, Hunter publishes reference files written for an assistant to read directly:

You don't need any of these to use the methods above.


Still stuck? Our support team can help you get set up.

Did this answer your question?