Skip to main content

Getting Started

This guide will help you connect the HG MCP Server to your MCP client and make your first API call.

New to the terms?

MCP (Model Context Protocol) is an open standard that lets AI assistants call external tools and data through one uniform interface — HG Insights exposes its data as MCP tools. For technographic, firmographic, hg_id, and the rest, see the Glossary.

Prerequisites​

  • An HG Insights account with API access, registered with your corporate email address
  • An MCP-compatible client (Claude Desktop, Cline, etc.)
Corporate email address required

HG Insights requires a corporate email address to sign up. Personal addresses (Gmail, Outlook, Yahoo, and similar) aren't accepted.

HG Insights auto-configures parts of the app based on your company domain — that's how we recognize your organization, connect you with teammates who have already signed up, and tailor your workspace. A personal address gives us none of that, so we ask everyone to register with their work address.

Authentication​

HG Insights uses API keys for authentication. Each API key is scoped to your organization and provides access to all HG MCP Server tools and REST APIs.

Get Your API Key​

  1. Log in to your HG Insights account
  2. Navigate to MCP in the sidebar
  3. Copy your API key from the MCP page
warning

Keep your API keys secure. Never commit them to version control or share them publicly.

OAuth Alternative

HG Insights also supports OAuth 2.1 for third-party integrations like ChatGPT. If you're building an application that needs user-delegated access, see the OAuth 2.1 Reference for full flow details.

MCP Setup​

HG Insights supports the Model Context Protocol (MCP), allowing AI assistants to directly access HG Insights data and capabilities.

Claude Desktop​

  1. Open Claude Desktop
  2. Navigate to Customize → Connectors (or visit claude.ai/customize/connectors)
  3. Add a new connector with the URL:
https://phoenix.hginsights.com/api/ai/YOUR_API_KEY/mcp

Replace YOUR_API_KEY with your actual HG Insights API key.

  1. Save and verify by asking Claude: "What HG MCP Server tools are available?"

Cline (VS Code Extension)​

  1. Open VS Code settings (Cmd/Ctrl + ,)
  2. Search for "Cline MCP"
  3. Click Edit in settings.json
  4. Add the HG MCP Server using HTTP transport:
{
"cline.mcpServers": {
"hg-mcp-server": {
"url": "https://phoenix.hginsights.com/api/ai/YOUR_API_KEY/mcp"
}
}
}

Replace YOUR_API_KEY with your actual HG Insights API key.

  1. Reload VS Code
  2. Open Cline and verify HG MCP Server tools are available

Other MCP Clients​

HG Insights supports many MCP clients including Cursor, Windsurf, n8n, and ChatGPT. For detailed setup instructions for each client, see our MCP Clients Guide.

Quick connection details:

  • URL: https://phoenix.hginsights.com/api/ai/{YOUR_API_KEY}/mcp
  • Transport: Streamable HTTP
  • Authentication: API key in URL path

Replace {YOUR_API_KEY} with your actual HG Insights API key.

Choosing an API version (v1 vs v2)​

HG Insights serves two MCP tool versions. v1 is the default — it is what every example above connects to, so you don't need to do anything special to use it. v2 is a newer tool suite (see the v1 → v2 changelog) that is currently in preview.

You want…EndpointAuthentication
v1 (default)https://phoenix.hginsights.com/api/ai/YOUR_API_KEY/mcpAPI key in URL path
v1 (explicit)https://phoenix.hginsights.com/api/mcp/v1API key as Bearer token
v2https://phoenix.hginsights.com/api/mcp/v2API key as Bearer token
v2 (OAuth)https://phoenix.hginsights.com/api/ai/mcp/v2OAuth 2.1

Two things to know before pointing a client at v2:

  • The API-key-in-URL method is v1-only. The /api/ai/YOUR_API_KEY/mcp path always serves v1. To reach v2, authenticate with a Bearer token (send Authorization: Bearer YOUR_API_KEY to /api/mcp/v2) or with OAuth 2.1 (/api/ai/mcp/v2).
  • v2 requires enrollment. Its data is limited to enrolled organizations; a request from a non-enrolled org returns a hard 403 — never a silent v1 fallback. Ask your HG contact to enroll your organization.

Bearer-token auth uses the same key you already have — just supplied as an Authorization: Bearer header instead of in the URL path. See Authentication for header examples.

Verify Your Setup​

Once connected, your AI assistant should have access to HG MCP Server tools. Try asking:

  • "What companies are in the healthcare industry?"
  • "What technologies does Salesforce use?"
  • "Generate a research rule for enterprise SaaS companies"

Your first run​

Once you're connected, you don't have to figure out where to start on your own. HG Insights ships a guided first run that takes you from "connected" to a real, useful result in about a minute — ideal if you're trying HG Insights self-serve through Claude.ai, ChatGPT, or AWS QuickSuite.

Open your MCP client's prompt menu (the slash menu or prompt picker) and choose the getting-started prompt. From there, HG Insights walks you through five steps:

  1. It checks what you can do. HG Insights looks at the tools available in your session — that set defines what it can run for you. It won't ask you to do any org or admin setup; your API key is all it needs.
  2. It asks you two quick questions. First, your role (reply with a number: 1. Sales, 2. Marketing, 3. Customer Success, 4. Exec / Strategy, 5. Other). Then, the company or product you represent, so the rest is tailored to your business. That's all it asks — no long questionnaire.
  3. It recommends one to three workflows. Based on your role and the tools you have, HG Insights picks the best few of its curated GTM workflows to start with.
  4. It runs one with you, live. HG Insights runs an Account Research Brief right away — pre-filling realistic example inputs from the company you named — and shows you the result. It also renders an interactive launchpad widget so you can see your recommended workflows and the full set at a glance. (See the Onboarding tool for what the launchpad includes and how to run a workflow from it.)
  5. It offers one next step. HG Insights suggests a single, specific follow-up — for example, a pre-call brief for a contact at that account — so you always have an obvious next move.

When you're ready to go further, browse the curated workflows and the full MCP tool catalog.

Next Steps​

Troubleshooting​

Connection Issues​

If your MCP client can't connect to the HG MCP Server:

  1. Verify your API key is correct
  2. Check that the API URL is properly formatted
  3. Ensure your network allows connections to HG Insights
  4. Review MCP client logs for error messages

Authentication Errors​

If you receive authentication errors:

  1. Regenerate your API key in HG Insights settings
  2. Update your MCP configuration with the new key
  3. Restart your MCP client

Tool Execution Errors​

If tools fail to execute:

  1. Check that you have the necessary permissions
  2. Verify the tool parameters match the expected schema
  3. Review the error message for specific guidance
  4. Contact support if the issue persists

Support​

Need help?