MCP Integration
Claude Code Setup
Add an InsightfulPipe server to Claude Code with one claude mcp add command, then authenticate from the /mcp menu. After that, Claude Code can query your connected accounts from the terminal.
Before you start
- At least one account connected in InsightfulPipe. See First Connection.
- The server URL and name from MCP Servers in the app. Names follow the pattern
<platform>-mcp, for examplegoogle-ads-mcp. - A Claude Pro, Max, Team, Enterprise or Console account. The free Claude.ai plan doesn't include Claude Code.
Setup steps
- Install Claude Code if you haven't already. The native installer is recommended:
curl -fsSL https://claude.ai/install.sh | bashon macOS, Linux or WSL, orirm https://claude.ai/install.ps1 | iexin Windows PowerShell. - Run this command to add the server:
claude mcp add --transport http google-ads-mcp https://google-ads.insightfulmcp.com/ - In Claude Code, type
/mcp, select google-ads-mcp, and click Authenticate. - A browser window opens. Log in and click Authorize access.
Once connected, start a new Claude Code session and ask about your data.
Add every connected source at once
The unified server exposes all your connected platforms through one connection:
claude mcp add --transport http main-mcp https://main.insightfulmcp.com/Add more platforms
Run one command per platform, using the URL and name from that platform's guide:
claude mcp add --transport http google-analytics-mcp https://google-analytics.insightfulmcp.com/
claude mcp add --transport http facebook-ads-mcp https://facebook-ads.insightfulmcp.com/Example prompts
- "Use Google Ads to show my top 5 campaigns by spend this month."
- "Compare Facebook Ads and Google Ads spend for the last 30 days."
Related
- InsightfulPipe CLI, if you'd rather call InsightfulPipe as a command-line tool.
- Troubleshooting