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.
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.
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