Claude Code Setup
Use InsightfulPipe directly from your terminal with Claude Code, Anthropic's CLI tool for Claude.
Requirements
- Node.js installed on your machine.
- At least one active connector inside InsightfulPipe.
Setup Steps
- **Install Claude Code** if you haven't already:
```
npm install -g @anthropic-ai/claude-code
```
See the Claude Code documentation for details.
- **Add the MCP server** by running this command (replace the URL with the endpoint from your MCPs Servers page):
```
claude mcp add --transport http google-ads-mcp https://google-ads.insightfulmcp.com/
```
- **Authenticate** — inside Claude Code, type `/mcp`, select your server, and click **Authenticate**.
- **Authorize access** — a browser window opens. Log in and click **Authorize access** to complete the connection.
Start a new Claude Code session and ask questions about your data.
Tips
- The server name (e.g., `google-ads-mcp`) is how Claude Code identifies the connection. Keep it short and descriptive.
- Add multiple servers for different platforms — one command per server.
- If authentication expires, re-run the `/mcp` authenticate flow.
Unified MCP Server
Instead of adding individual servers, you can add the unified endpoint that gives access to all your connected platforms at once:
claude mcp add --transport http insightfulpipe-mcp https://main.insightfulmcp.com/Example Prompts
- "Use Google Ads to show my top 5 campaigns by spend this month."
- "Pull my Instagram engagement rate for the last 30 days."
- "Compare Facebook Ads and Google Ads ROAS for Brand A."