KCB Solutions

Crypto cost basis for agents

Connect ChainIQ to ChatGPT, Claude or another MCP client. Get a free workpaper quote, see a sample CSV or check which trade sources we can review.

Connect in ChatGPT

  1. On ChatGPT web, open Plugins → + → Add custom MCP server.
  2. Name the plugin ChainIQ. Under Connection, paste this server URL.
    https://kcbsolutions.org/x402/mcp
  3. Choose No authentication, review the prompt, select Create as a plugin and install it.
  4. In a new chat, type @, select ChainIQ and paste the prompt below.
Quote one HIFO comparison CSV for 25,000 supplied DOGE-USD spot fills. Show the price in USDC. Do not purchase.

If your organization manages plugins, a workspace admin can enable ChainIQ for your team. OpenAI setup and availability

Connect in Claude

  1. Open Customize → Connectors → Add. Select Add custom connector, or Custom → Web if your menu groups connectors by type.
  2. Name the connector ChainIQ. Paste this remote MCP server URL and select Continue.
    https://kcbsolutions.org/x402/mcp
  3. Review the settings, choose No sign in under Authentication, then select Add.
  4. In a new chat, open + → Connectors, enable ChainIQ and paste the prompt below.
Quote one HIFO comparison CSV for 25,000 supplied DOGE-USD spot fills. Show the price in USDC. Do not purchase.

For a Team or Enterprise workspace, an owner can add ChainIQ under Organization settings → Connectors. Anthropic setup and availability

Both prompts return 10.00 USDC on Base. The lookup is free. Your wallet approves payment when you order a workpaper.

Terminal clients

Claude Code

claude mcp add --transport http chainiq https://kcbsolutions.org/x402/mcp

OpenAI Codex CLI

codex mcp add chainiq --url https://kcbsolutions.org/x402/mcp

Other remote MCP clients can use the same URL with Streamable HTTP.

Install the local client

Clone the KCB release or download the standalone client. It uses Node.js 18 or later and reads current pricing and coverage from KCB.

git clone --branch v1.1.0 https://kcbsolutions.org/x402/crypto-cost-basis.git

Download the Git bundle for an offline checkout.

Download the MCP client · Version and SHA-256 checksum

{
  "mcpServers": {
    "chainiq": {
      "command": "node",
      "args": ["/absolute/path/chainiq-mcp-stdio.mjs"]
    }
  }
}

Order a workpaper

The quote returns the exact amount and where to submit the trade data. For the example above, the buyer can prepare the upload for free.

See the example quote as JSON · Open the sample CSV

For your own workpaper, submit the authorized trades directly to the merchant. Your wallet approves the exact amount. One fill through quick checkout starts at 0.05 USDC.

Open the purchase guide

Available tools

quote_crypto_cost_basis returns the price and purchase route for a CSV or an eligible 2025 FIFO statement. get_crypto_cost_basis_example returns a fictional input and matching output. check_annual_ingestion_coverage looks up a wallet, exchange or blockchain and the activity verified for that source.

get_crypto_tax_reports shows which reports you can order, what each costs and what records it requires. See the report catalog

View ChainIQ in the official MCP Registry