# ChainIQ | Crypto Cost Basis CSV Generate an itemized tax-lot CSV from supplied USD spot trades. Pay per selected workpaper in USDC on Base. - [Connect an MCP client](https://kcbsolutions.org/x402/mcp-guide). Use the Streamable HTTP endpoint at https://kcbsolutions.org/x402/mcp to quote a workpaper, inspect a fictional example or check annual source coverage. Only the merchant checkout requests payment. - [Official MCP Registry listing](https://registry.modelcontextprotocol.io/v0.1/servers/org.kcbsolutions%2Fcrypto-cost-basis/versions/latest). Clone the KCB source at https://kcbsolutions.org/x402/crypto-cost-basis.git or inspect the version and SHA-256 at https://kcbsolutions.org/x402/mcp-client.json. ## Choose a checkout - Select a route for the buyer’s exact order: https://kcbsolutions.org/x402/pricing.json?fills={fills}&method={method}&assetScope={assetScope} - Use btc-eth-sol when all fills use the plain BTC, ETH or SOL symbol. Use declared-assets for any other asset, a mixed book, or explicit venue, network, contract or mint identities. One fill is one executed buy or sell. - Read checkoutAvailable, purchaseRoute, firstRequest and amountAtomic. For quick, POST the trade JSON. For bulk, prepare the upload using the client and POST its ready order to checkout. When checkoutAvailable is false, stop. Never switch the buyer’s lot method automatically. - Example: 20 DOGE fills with FIFO cost 0.05 USDC and use bulk, even at this size. https://kcbsolutions.org/x402/pricing.json?fills=20&method=FIFO&assetScope=declared-assets - Example: those same DOGE fills with HIFO also use bulk at 0.05 USDC. For 20 BTC fills with HIFO, use quick checkout at 0.05 USDC. - [Price by fill count and method](https://kcbsolutions.org/x402/pricing.json?fills={fills}&method={method}): read checkoutAvailable and amountAtomic before authorizing payment. - [Quick checkout API](https://chainiq-fifo-59967844018.us-east1.run.app/.well-known/chainiq-fifo.json): 1–128 supplied BTC, ETH or SOL fills at 0.05 USDC per workpaper. Choose FIFO, LIFO, HIFO, OPTIMIZED_HIFO. FIFO is the filing method. The other methods produce comparison workpapers. - [Bulk workpaper API](https://bulk---chainiq-fifo-hpdt6vofhq-ue.a.run.app/.well-known/chainiq-bulk.json): 1–200,000 supplied spot fills for each of FIFO, LIFO, HIFO and Optimized HIFO, including exchange instruments and fungible network assets. Prepare the upload for free. Its ready order identifies the exact signed checkout. - [Bulk upload client](https://kcbsolutions.org/x402/bulk_upload.py): prepare, authorize, pay and recover the CSV. - [Bulk checkout OpenAPI](https://kcbsolutions.org/x402/bulk-openapi.json): request schema, price range and responses for a prepared order. - [Merchant discovery schema](https://bulk---chainiq-fifo-hpdt6vofhq-ue.a.run.app/openapi.json): an empty unsigned probe previews a four-fill fictional workpaper. To buy your own result, first prepare your trades. ## Examples and annual services - [Report catalog and fees](https://kcbsolutions.org/x402/reports.json). Check checkoutAvailable for the selected report. A report in development carries no payable offer. - [Paid 2025 FIFO gain/loss PDF for records or preparer review](https://kcbsolutions.org/x402/statement-2025.json). Free eligibility check for up to 1,000 cent-exact sale allocations. Pay the usual FIFO price plus 5 USDC, or just 5 USDC for the same already-purchased active CSV. Corrected statements link to a paid predecessor. The exact CSV is attached. - [Hummingbot session export to FIFO workpaper](https://kcbsolutions.org/x402/hummingbot): convert a spot account’s USD pairs locally with explicit USD fees and opening lots. - [Example BTC trade](https://kcbsolutions.org/x402/trades.json) and [matching FIFO workpaper](https://kcbsolutions.org/x402/workpaper.csv). - [Workpaper guide](https://kcbsolutions.org/x402) with the price calculator. - [Preview of the paid PDF](https://kcbsolutions.org/x402/example-2025-review-statement.pdf). Generated by the live merchant from the published fictional trades. Includes the full workpaper CSV attachment. - [Historical gain/loss statement PDF](https://kcbsolutions.org/x402/example-2025-gain-loss.pdf): three fictional sales imported in September 2026 into US TurboTax Online DIY Premium 2025. Intuit directs new or unfinished DIY 2025 returns to Desktop. Eligible filed returns may be amended online. ChainIQ import in either route is unverified. - [Corrected 2025 statement](https://kcbsolutions.org/x402/example-2025-gain-loss-corrected.pdf): same three sales, with verified net gain of 80 USD after correction. 2026 edition verification is pending. - [Annual ingestion source directory](https://kcbsolutions.org/x402/coverage) and [agent lookup](https://kcbsolutions.org/x402/coverage.json). Filter by source, transaction, network, asset and evidence year. A match identifies tested records. Annual orders require private review. - [Annual ingestion pilot](https://kcbsolutions.org/x402/annual-pilot): apply for free with incomplete records. A complete annual statement requires all twelve months and supported dispositions. - [Missing purchase or other ingestion evidence](https://kcbsolutions.org/x402/annual-pilot.json?missing=basis): get the next evidence action before paying. The owner supplies records in the invited workspace.