Finance

crypto-gains - Claude MCP Skill

Calculate capital gains with FIFO, wash sale detection, term classification, and Form 8949 outputs.

SEO Guide: Enhance your AI agent with the crypto-gains tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to calculate capital gains with fifo, wash sale detection, term classification, and form 8949 outputs. ... Download and configure this skill to unlock new capabilities for your AI workflow.

🌟1 stars • 1 forks
📥0 downloads

Documentation

SKILL.md
# /crypto-gains

Calculate capital gains with IRS-compliant rules.

## Steps

1. Load lots from `normalized/cost-basis.json` and transactions from `normalized/transactions.json`.
2. Build sell list and allocate FIFO lots per asset.
3. Classify each gain as short-term or long-term by holding period.
4. Detect wash sales within 30 days for securities. Mark crypto as not applicable per current policy.
5. Write gains to `normalized/capital-gains.json` and updated lots to `normalized/cost-basis-updated.json`.
6. Generate Form 8949 outputs and summaries.

## Examples

```bash
# Build FIFO gains and updated lots
pnpm gains
```

```bash
# Generate Form 8949 and tax summaries
pnpm report
```

## References

- `normalized/transactions.json`
- `normalized/cost-basis.json`
- `normalized/capital-gains.json`
- `normalized/cost-basis-updated.json`
- `reports/tax-ready/form-8949-c.csv`
- `reports/tax-ready/turbotax-import.csv`
- `reports/tax-ready/schedule-d-summary.md`
- `scripts/calculate-gains.ts`
- `scripts/generate-report.ts`

Signals

Avg rating0.0
Reviews0
Favorites0

Information

Repository
phrazzld/claude-config
Author
phrazzld
Last Sync
3/2/2026
Repo Updated
3/1/2026
Created
2/5/2026

Reviews (0)

No reviews yet. Be the first to review this skill!