Crypto cost basis with ChatGPT: Doing taxes with AI
Author
Jillian CohnLearn how to use ChatGPT to investigate missing crypto cost basis and what wallet and exchange records you need to report gains and losses.

Using ChatGPT on its own to work out your crypto cost basis can cost you money. It can't see your wallets or exchanges, so it fills gaps with guesses. A guessed basis produces a wrong gain, and a wrong gain means a wrong tax bill: either you pay tax on profit you never made, or you underreport and hear from the IRS later.
Cost basis is what you paid for a crypto asset, and it decides how much of each sale is taxable. ChatGPT and Claude are useful for explaining the rules. The problem is applying those rules to your actual records, which they can't see.
CoinTracker MCP closes that gap. It connects Claude or ChatGPT to the wallet, exchange, and decentralized finance (DeFi) data already synced to your CoinTracker account, with read-only access you control. It's in early access now, built by the crypto tax platform trusted by 3M+ crypto investors and partnered with Coinbase, TurboTax, and H&R Block.
Not sure your reporting holds up? CoinTracker rebuilds your crypto year across 800+ exchanges and wallets so you can double-check what you filed in 10 minutes. Get started.
Why ChatGPT alone is risky for your crypto taxes
A general AI assistant sounds just as sure of itself when it's missing the facts as when it has them. On crypto taxes, that's where it goes wrong:
- Cost basis gaps. ChatGPT can't track your basis across every wallet, exchange, and chain you use. Miss one transfer and the gain on the eventual sale is wrong. Wrong basis means a wrong tax bill, in either direction.
- DeFi blindness. Swaps, bridges, liquidity pool (LP) deposits, staking rewards, lending positions, and token wrapping all leave a trail of contract interactions. One LP deposit can look like a dozen separate transactions. Ask ChatGPT to interpret that trail cold and you can get a confident, wrong answer.
- Transfers mistaken for taxable events. Moving crypto between your own wallets isn't taxable. Staking rewards are income. Spending crypto on a coffee is a disposal. Without context, ChatGPT can't reliably tell these apart, and if it reads a self-transfer as a sale, you report a gain you never had.
- Overpaying is as likely as underpaying. Many 2025 Form 1099-DAs, sent out in 2026, show gross proceeds with no cost basis at all. If you or ChatGPT treat those proceeds as profit, you can end up paying tax on thousands of dollars you never earned.
- No audit trail. Ask the same question twice and you may get two different numbers. Figures that change between prompts, or that the model invented, won't hold up if the IRS asks how you arrived at them.
- Privacy. To get a serious answer, you'd have to paste wallet addresses, transaction histories, and exchange exports into a chat. On consumer ChatGPT plans, conversations can be used to improve OpenAI's models unless you turn that setting off.
CoinTracker MCP was built for this gap. Instead of pasting files into a chat, you give your AI assistant read-only, permissioned access to the records CoinTracker already keeps. Answers come from your actual transactions, and you can revoke access at any time.
What is CoinTracker MCP?
- What it does: Model Context Protocol (MCP) is an open standard that lets AI assistants securely connect to outside data. CoinTracker uses it to give Claude and ChatGPT read-only access to your synced crypto records, so you can ask about holdings, gains, tax lots, and DeFi activity in plain English.
- What it doesn't do: It can't send, swap, stake, approve, or transfer crypto, and it never asks for your private keys.
- Who it's for: Anyone with crypto across more than one wallet or exchange who wants answers about their own portfolio, during tax season and the rest of the year.
Go from portfolio checking to portfolio asking. Get early access to CoinTracker MCP and ask Claude or ChatGPT about the crypto you own.
What is crypto cost basis?
Crypto cost basis is your starting value in an asset for tax purposes, measured in U.S. dollars. When you buy crypto with cash, the IRS says your basis includes the purchase price plus the transaction costs paid to complete the purchase. Those costs can include exchange commissions and crypto transaction fees such as gas.
When you sell or otherwise dispose of crypto, your gain or loss is the difference between your amount realized and your adjusted basis. In plain terms, it's proceeds minus basis. A simple example:
- You buy 1 Ethereum (ETH) for $2,000 and pay $10 in fees. Your basis is $2,010.
- Later you sell it for $2,500 and pay $10 in fees. Your amount realized is $2,490.
- Your capital gain is $480.
How long you held the asset also matters. Crypto held for one year or less produces a short-term gain or loss, and crypto held for more than one year produces a long-term one. The math is simple for a single purchase and sale. It gets harder when the same asset was bought at different prices, moved between wallets, or swapped through DeFi protocols.
Can ChatGPT do my taxes?
Not on its own. ChatGPT and Claude can help you understand and investigate your cost basis, but they don't keep a tax ledger, and they can't see transactions you haven't given them. They work best as investigators on top of records you already keep.
Investigating missing lots and transfers
Missing basis usually traces back to a transfer. You bought on one exchange, moved the coins to a self-custody wallet, and sold somewhere else. The platform where you sold sees the sale but not the original purchase.
An AI assistant can help you work backward from the sale, matching deposits to withdrawals until you find where the coins came from and what you paid. Three rules matter here:
- Sending crypto between your own wallets isn't a taxable event. Crypto you spend to pay the network fee on that transfer, however, counts as a disposal.
- Moving coins doesn't reset their basis, but it does change which lots sit in which wallet.
- For sales on or after January 1, 2025, basis is tracked wallet by wallet and account by account. When you sell from a wallet, the lots you match must come from that wallet. Rev. Proc. 2024-28 set out the transition from the older approach of pooling all wallets together.
Explaining methods and transaction treatment
An AI assistant can also walk you through the lot identification methods:
- First-in, first-out (FIFO) treats the oldest units in a wallet as sold first. It's the IRS default when you don't make a specific identification.
- Specific identification lets you choose which units you sold, as long as you identify them no later than the time of sale and keep adequate records. For assets held at a broker after 2025, you give that identification to the broker.
- Last-in, first-out (LIFO) and highest-in, first-out (HIFO) are common ways of applying specific identification, selecting the newest or highest-cost units. Our HIFO vs. FIFO guide compares how they affect your gains.
It can also explain crypto-to-crypto trades. Swapping one asset for another is a taxable disposal. Your basis in the asset you receive is its fair market value at the time of the trade. Under the IRS rules for transactions from 2025 onward, the fees on that trade reduce the amount realized on the asset you gave up. They aren't added to the basis of the asset you received.
DeFi activity is harder to follow. A bridge, a token wrap, or a liquidity deposit can leave a long trail of contract interactions. An AI assistant can describe what each step did so you can decide how to record it. The IRS hasn't issued detailed guidance for many DeFi transactions, so treat those answers as a starting point for review. Our DeFi tax guide covers the common cases.
Working from structured account data
Connected through CoinTracker MCP, ChatGPT or Claude can reference your synced CoinTracker data, including holdings, transactions, gains and losses, cost basis, tax lots, and CoinTracker tax summaries. It queries those records directly instead of guessing from a pasted export.
You can then ask it to surface sales with missing basis, find transfers that may not be linked, or show which disposals drove most of your realized gains. Fixes still happen in your CoinTracker account, but you stop checking wallets one at a time.
Examples of useful cost basis questions
To figure out crypto cost basis accurately, the IRS lists what you need for each acquisition: the type of digital asset, the date and time you acquired it, the number of units, and its acquisition cost in U.S. dollars. In practice you also need the fees you paid and a record of every transfer between your wallets and accounts. ChatGPT needs the same information, which is why its help depends on how complete your records are.
With that data connected, ChatGPT can help with your cost basis records by finding gaps and explaining results, rather than calculating figures from scratch. Questions that work well:
- "Which of my sales this year are missing cost basis?"
- "Match my exchange withdrawals in March to deposits in my self-custody wallets."
- "Which ETH lots remain in my hardware wallet, and what is their basis?"
- "Show the basis history for tokens I bridged to another network."
- "How were my staking rewards valued when I received them?"
- "What were my proceeds versus my gains this year, split into short-term and long-term?"
- "Show me my biggest harvestable losses before year-end."
- "Flag any sales where my 1099-DA basis doesn't match my own records."
That last pair is where connected data pays off. Finding losses worth harvesting before December 31 means knowing your unrealized position lot by lot, which a chat window can't do from memory. CoinTracker's tax loss harvesting tools and MCP work from the same records.
Ask about your own basis, not a hypothetical one. Add your wallets and exchanges to CoinTracker, then connect MCP to find missing basis in one question instead of an afternoon of spreadsheets.
Why ChatGPT alone falls short
Ask a general AI assistant how FIFO works and you'll get a clear answer. Ask it your basis in the ETH you sold last week, and it can only work from what you paste in. Calculating one gain is arithmetic. Maintaining cost basis means keeping a complete ledger across every exchange, wallet, bridge, and DeFi protocol you've used, with each lot assigned to the right wallet. A chat window doesn't hold that ledger, and a pasted file only covers the account it came from.
Transfers cause most of the trouble, and Form 1099-DA, the form custodial brokers send for digital asset sales, won't always fill the gap:
- Brokers report gross proceeds for sales on or after January 1, 2025. Basis reporting begins with certain sales on or after January 1, 2026, generally for assets acquired after 2025 in the same custodial account.
- Crypto acquired before 2026, or transferred in from somewhere else, is generally noncovered. Brokers aren't required to report its basis.
- Non-custodial platforms aren't covered by these broker rules, and the IRS has deferred reporting for certain activity, including staking, wrapping, and liquidity provider transactions.
So an exchange form can show a sale with no basis, even though you know what you paid. Our guide to 1099-DA cost basis rules explains how to read those blanks. CoinTracker MCP helps because it reads the wallet, exchange, and DeFi records already synced to your CoinTracker account, so AI answers are grounded in your full transaction history rather than one platform's view of it.
Safety and access limits
ChatGPT and Claude can't see your wallet, exchange, or DeFi history unless you connect it. Never paste a recovery phrase (seed phrase), private key, or exchange password into any AI chat. No legitimate cost basis workflow needs them.
CoinTracker MCP is designed around that boundary. According to CoinTracker, it works from read-only data, doesn't ask for private keys, and has no tools to send, swap, stake, approve, or transfer crypto. You authorize access before your assistant can use your data, and you can review or revoke it from your CoinTracker settings.
What connected access changes
Without MCP, getting a real answer means uploading exchange exports and wallet addresses into a chat, where they sit in your conversation history under the AI provider's data policies. With MCP, your full records stay in CoinTracker. The assistant requests only what it needs to answer a question, through read-only access you granted and can revoke. The answers still appear in your chat, so your assistant's own data settings apply to those, but you're no longer handing over complete exports.
Read-only access supports investigation, not edits. The assistant can point you to a sale with missing basis, but correcting a transaction or linking a transfer still happens in your CoinTracker account.
Practical limits and review steps
Even with connected data, some limits remain:
- A comma-separated values (CSV) upload to a chat doesn't reliably reconcile transfers, bridges, missing prices, or DeFi activity. It's one file from one platform.
- Cost basis depends on earlier linked transactions. An AI model can't consistently infer a purchase it has never seen.
- Answers are only as complete as your synced data. If a wallet isn't connected, its history isn't in the answer.
Review what the assistant surfaces before you rely on it, and bring open questions to a tax professional. For setup help with Claude or ChatGPT, see the CoinTracker MCP setup guide [ADD SETUP GUIDE LINK] or ask in the CoinTracker Discord community.
What else can you ask? CoinTracker MCP beyond tax season
Cost basis is one use. Many of the questions CoinTracker MCP can answer have nothing to do with filing. The portfolio you used to check becomes one you can question:
- "What's my current portfolio allocation across chains?"
- "How is my ETH staking position performing this month?"
- "Which of my DeFi positions have the highest unrealized gains right now?"
- "How much did I spend on gas fees last quarter?"
- "Which wallets haven't I touched in six months?"
- "If I sold half my Bitcoin (BTC) today, what would my estimated gain look like?"
- "Compare my realized gains this year to last year."
- "Show me every token I'm holding under $100 so I can clean up spam."
Each of these used to mean opening several dashboards or exporting a CSV into a spreadsheet. With CoinTracker doing the math underneath, you ask once and get an answer drawn from every connected wallet and exchange. That's why it works as a daily portfolio tool, with tax season as one more thing it handles.
Ask your portfolio a question today. Get early access to CoinTracker MCP and connect it to Claude or ChatGPT in a few steps.
Next steps for IRS crypto cost basis
You report crypto sales and their cost basis on Form 8949 and Schedule D, and you report every taxable transaction whether or not you received a 1099-DA. If an exchange form shows a sale with blank or incorrect basis because it doesn't know your transfer history, you can report the correct basis from your own records. Keep the records that support it. Our guide to crypto taxes on 1099-DA income covers how to reconcile the two.
Taxes are where a wrong AI answer costs the most. ChatGPT alone can explain the rules but can't see your records. CoinTracker MCP gives it that view: your full, synced transaction history, lots tracked by wallet, protected by read-only access you control, and available all year, not just in April.
Start for free with CoinTracker to add your wallets and exchanges, then connect CoinTracker MCP and start asking.
Every wallet. Every chain. One view.
CoinTracker syncs 800+ integrations into a single live portfolio. Real-time value, true cost basis, and IRS-ready forms waiting when you need them. Setup takes 10 minutes.

FAQ
Can ChatGPT calculate crypto cost basis?
It can do the math for a simple purchase and sale you describe. For a real portfolio, it can't produce a reliable figure without complete records of every purchase, transfer, and fee, organized by wallet. Connected to your CoinTracker data, it can explain the basis CoinTracker has already tracked.
Can ChatGPT replace crypto tax software?
No. Crypto tax software maintains the ledger: it syncs your accounts, links transfers, tracks lots by wallet, and generates forms such as Form 8949. ChatGPT can explain and query that data when connected, but it doesn't keep it.
Can ChatGPT automatically see my wallet, exchange, and DeFi transaction history?
No. It only sees what you share or connect. With CoinTracker MCP, you authorize access to your CoinTracker data, the access is read-only, and you can revoke it from your CoinTracker settings.
Is CoinTracker MCP safe to use?
CoinTracker MCP uses read-only access to your synced CoinTracker data. It never asks for private keys and has no tools to send, swap, stake, approve, or transfer crypto. You approve access before an assistant can use it and can revoke it at any time.
Which AI assistants work with CoinTracker MCP?
Claude and ChatGPT. See the CoinTracker MCP setup guide [ADD SETUP GUIDE LINK] for each assistant, or ask for help in the CoinTracker Discord community.
What does Model Context Protocol actually do?
Model Context Protocol is an open standard that lets an AI assistant connect to an outside data source and ask it questions. Instead of you pasting data into a chat, the assistant requests what it needs from a service you've approved, such as CoinTracker.
Can I use CoinTracker MCP outside of tax season?
Yes. Most questions are about the portfolio itself: allocation across chains, staking performance, unrealized gains, gas spending, and dormant wallets. Tax questions such as missing basis and harvestable losses are one part of what it handles.
What happens to my crypto data when I use ChatGPT without CoinTracker MCP?
Anything you paste, including wallet addresses, transaction histories, and exchange exports, becomes part of your ChatGPT conversation history. On consumer plans, OpenAI may use conversations to improve its models unless you opt out in your data controls. With CoinTracker MCP, your full records stay in CoinTracker, and the assistant gets read-only access you can revoke.
Disclaimer: This post is informational only and is not intended as tax advice. For tax advice, please consult a tax professional.
Never lose track of your crypto
Portfolio insights, tax tips, and product updates. Straight to your inbox.