Skip to main content

5. Connect in Claude Code

How to connect your HilltopAds account and Claude Code?

Written by HilltopAds

Claude Code is the command-line tool. Adding the connector is a single command.

How to connect in Claude Code?

  1. In your terminal, run:

claude mcp add --transport http HTA_MCP https://mcp.hilltopads.com/mcp

Claude Code confirms: Added HTTP MCP server HTA_MCP. Here HTA_MCP is just the local name of the server — you can choose another.

Step 1 — add the server with a single command.

2. Start Claude Code. It notices the server needs authentication. Run the /mcp command.

Step 2 — run /mcp.

3. In the server list, HTA_MCP shows needs authentication. Open it.

Step 3 — HTA_MCP needs authentication.

4. Choose Authenticate.

Step 4 — choose Authenticate.

5. Claude Code opens a browser window for authentication. (If it does not open automatically, copy the printed URL into your browser.)

Step 5 — a browser opens for authentication.

6. On the HilltopAds MCP Authorization page, paste your API key and click Authorize.

Step 6 — authorize with your API key.

7. The browser shows Authentication successful — close the tab and return to the terminal.

Step 7 — authentication successful; return to the terminal.

8. Run /mcp again: HTA_MCP now shows connected with its tools available.

Step 8 — HTA_MCP is connected and its tools are available.

Using it in Claude Code

Ask for data and Claude Code will call the connector — and can go further, for example building a chart from the numbers. Try: “using HTA_MCP get advertiser stats for last 7 days and plot a graph for the top-5 geo, grouping by geo.”

Claude Code fetches the stats and prepares a visualization.

The result: a top-5 GEO table plus a generated chart.

Did this answer your question?