Skip to content

Use CorpusIQ with Claude Code

Claude Code is Anthropic's agentic coding tool that runs in your terminal. You can use it to write code, manage repos, and run commands.

With the CorpusIQ MCP server, Claude Code can also answer business questions - from your actual data.

Setup (2 minutes)

Add this to your Claude Code MCP config:

{
  "mcpServers": {
    "corpusiq": {
      "type": "http",
      "url": "https://mcp2.corpusiq.io/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_CORPUSIQ_JWT"
      }
    }
  }
}

Or add it from the terminal in one line:

claude mcp add --transport http corpusiq https://mcp2.corpusiq.io/mcp \
  --header "Authorization: Bearer YOUR_CORPUSIQ_JWT"

The type field matters: Claude Code reads an entry that has a url but no type as a stdio server and skips it. Use http (or its alias streamable-http).

Get your JWT from the CorpusIQ dashboard at corpusiq.io/dashboard.

Before you plug the token in, confirm the endpoint is live and speaking the current protocol (revision 2026-07-28, server/discover):

curl -sS -X POST https://mcp2.corpusiq.io/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientInfo":{"name":"probe","version":"0.1"},"io.modelcontextprotocol/clientCapabilities":{}}}}'

An unauthenticated call answers with a JSON-RPC -32001 Authentication required error naming the Authorization: Bearer header. That error is the proof you want: the endpoint is up and speaking current MCP, and the tool list is gated behind your token.

Connect Your Tools

Before Claude Code can answer business questions, connect your tools once:

  1. Go to corpusiq.io/dashboard
  2. Connect Shopify, Stripe, QuickBooks, GA4, Meta Ads - or any of the 40+ supported tools
  3. Each connection uses read-only external-source retrieval with no write access; direct MCP does not retain raw customer files or full connector response payloads

Ask Business Questions

Once connected, ask Claude Code questions in plain English:

> What was our revenue last month?

Claude Code calls CorpusIQ MCP → pulls from Stripe → cross-checks with Shopify → returns:

  June 2026 revenue: $247,382
  - Stripe: $238,150 (from 842 transactions)
  - Shopify (manual orders): $9,232 (from 34 orders)
  - Source: Stripe balance transaction list + Shopify order export
  - Discrepancy: $0 (reconciled)
> Which ad campaign drove the most sales last week?

Claude Code calls CorpusIQ → pulls from Meta Ads + GA4 → returns:

  Campaign "Summer Launch - AZ" drove $14,230 in attributed revenue
  - Ad spend: $3,120
  - ROAS: 4.56x
  - 142 attributed orders
  - Source: Meta Ads campaign report (Jul 21-27) + GA4 attribution
> What is our current margin by product line?

Claude Code calls CorpusIQ → pulls from QuickBooks + Shopify → returns margin breakdown.

What Makes This Different

You could ask ChatGPT the same questions. But without CorpusIQ, ChatGPT guesses. It does not have access to your actual Stripe account, your actual Shopify orders, or your actual QuickBooks ledger.

With CorpusIQ as the MCP server, every AI you use - Claude Code, ChatGPT, Perplexity, Slack - inherits the same connections. Same data. Same answers. Every time.

Supported Tools

Shopify. Stripe. QuickBooks. Google Analytics 4. Meta Ads. HubSpot. Klaviyo. Gmail. Google Drive. Dropbox. YouTube. Google Ads. eBay. Microsoft OneDrive. Outlook. And 25 more.

External-source retrieval tools are marked read-only; write-capable management/control-plane tools are separate. Direct MCP does not retain raw customer files or full connector response payloads; scoped operational logs may be retained for up to 30 days. Every answer cites its exact source.

Get Started

Connect your tools in 5 minutes

AI answers on your data. See where every number comes from.

Connect your tools and ask in ChatGPT, Claude, or Perplexity. Enterprise-grade answers in minutes. From $29.95/month.

Start free, no credit card
Contact Terms Privacy Pricing