# Cryptocurrency Tax Lot Tracker MCP for AI Agents MCP

> Cryptocurrency Tax Lot Tracker calculates cost basis, realized gains, and tax liabilities for your crypto portfolio. It supports FIFO, LIFO, HIFO, and Specific Identification methods to handle buys, sells, staking rewards, and airdrops. Use it to identify wash sale risks and get accurate tax reporting for complex histories.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_qROLFhQURsGEDtLVmrYZ8g1AYZkqnwfksWPma54z/mcp
- **Tags:** crypto, tax, accounting, fifo, lifo, hifo, finance

## Description

Managing a crypto portfolio means dealing with a constant stream of data. Every time you swap a token, move assets to a cold wallet, or receive a staking reward, you're creating a tax event. Tracking these manually is a nightmare because you have to know which specific purchase you're selling to figure out your profit. This MCP handles that heavy lifting for you. It takes your transaction history and applies professional accounting rules to give you a clear picture of your gains and losses. You can choose your preferred strategy, such as First-In, First-Out or Highest-In, First-Out, to keep the math straight. It even flags potential wash sale risks so you don't get hit with surprises during tax season. When you connect this to your workflow via the Vinkius catalog, your AI client becomes a specialized tax accountant that knows your history inside out. You can ask about specific assets, check your current basis, or see how a pending sale will impact your year-end totals without ever opening a spreadsheet. It handles the complexity of multiple buy dates and prices, so you don't have to worry about the math. Instead of spending hours in a spreadsheet, you just get the numbers you need to file your taxes accurately.

## Tools

### calculate_tax_lot_impact
Calculates realized gain or loss for an asset using the FIFO accounting method. This helps you understand your profit on a sale instantly.

## Prompt Examples

**Prompt:** 
```
What's my profit if I sell 1 BTC at $60k with a $40k cost basis?
```

**Response:** 
```
Based on your history, here is the breakdown for selling 1 BTC:

| Asset | Sale Price | Cost Basis | Realized Gain |
| :--- | :--- | :--- | :---|
| **BTC** | $60,000 | $40,000 | **$20,000** |

Your total realized gain for this transaction is **$20,000**.
```

**Prompt:** 
```
Calculate the tax impact of selling 1 ETH at $3000 using FIFO.
```

**Response:** 
```
Using the **First-In, First-Out (FIFO)** method, your sale of 1 ETH at $3,000 is matched against your oldest available lot:

*   **Oldest Lot Purchase:** $1,200
*   **Sale Price:** $3,000
*   **Realized Gain:** $1,800

This sale results in a realized gain of **$1,800**.
```

**Prompt:** 
```
Are there any wash sale risks for my SOL trades?
```

**Response:** 
```
I've checked your recent **SOL** transactions. 

✅ **No wash sale warnings were detected.** 

You can proceed with your trades without worrying about immediate wash sale penalties based on your recent history.
```

## Capabilities

### Calculate realized gains and losses
Determines your profit or loss on specific asset sales based on your history.

### Apply FIFO accounting
Uses the first-in, first-out method to automatically determine your cost basis.

### Identify wash sale risks
Flags transactions that might trigger tax penalties during your review.

### Track staking rewards
Includes rewards from staking in your taxable history for a complete picture.

### Process airdrop history
Accounts for free tokens received in your portfolio as taxable events.

### Support HIFO and LIFO methods
Allows you to switch accounting strategies to optimize your tax liability.

## Use Cases

### Pre-trade profit analysis
A trader wants to sell 1 ETH but isn't sure of the profit. They ask their agent to calculate the gain using FIFO.

### Professional client auditing
An accountant needs to see the tax impact of a large portfolio. The agent uses the MCP to run a HIFO analysis.

### Wash sale risk detection
A user wants to know if a recent trade is a wash sale. The agent checks the transaction history for risks.

### Airdrop basis tracking
Someone received a large airdrop and needs to know the basis. The agent pulls the airdrop data into the tax calculation.

## Benefits

- Stop guessing your cost basis because calculate_tax_lot_impact handles the math for you.
- Optimize your tax strategy by switching between FIFO, LIFO, and HIFO methods.
- Avoid unexpected tax hits by identifying wash sale risks before you file.
- Simplify your records by including airdrops and staking rewards in your tax history.
- Get instant answers on how a sale affects your total gains without manual calculations.

## How It Works

The bottom line is you get accurate tax math for complex crypto portfolios without the manual spreadsheet headache.

1. Provide your transaction history to your AI client.
2. Select your preferred accounting method like FIFO or HIFO.
3. Get a detailed breakdown of realized gains, cost basis, and tax risks.

## Frequently Asked Questions

**Does Cryptocurrency Tax Lot Tracker handle airdrops?**
Yes, it includes airdrops as part of your transaction history so they are accounted for in your cost basis and gains.

**Can I use different accounting methods with Cryptocurrency Tax Lot Tracker?**
Yes, it supports several methods including FIFO, LIFO, HIFO, and Specific Identification to fit your specific tax strategy.

**How does Cryptocurrency Tax Lot Tracker handle staking rewards?**
It treats staking rewards as taxable events and includes them in your overall portfolio history for accurate reporting.

**Can Cryptocurrency Tax Lot Tracker find wash sale warnings?**
Yes, the MCP can check your transaction history to identify potential wash sale risks before you file your taxes.

**Is Cryptocurrency Tax Lot Tracker good for high-volume traders?**
It is specifically designed for complex histories, making it a great fit for high-volume traders with many different lots.

**Does Cryptocurrency Tax Lot Tracker support Specific Identification?**
Yes, it supports Specific Identification, which is often required for professional crypto tax accounting.

**Can I use Cryptocurrency Tax Lot Tracker to manage multiple exchanges?**
Yes, it can process transaction data from various sources to give you a unified view of your gains and losses.

**Which accounting methods are supported?**
The server supports FIFO, LIFO, HIFO, and Specific Identification methods.

**How do I calculate my gains?**
You can use the `taxLotImpactTool` by providing your transaction data in JSON format.

**Does it handle staking rewards?**
Yes, the tool processes staking rewards and airdrops as acquisition events.