US & Brazil crypto, DeFi & corporate tax optimization MCP server (free preview + x402 USDC).
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
FREE tax optimization preview for US & Brazil crypto disposals. Supports explicit `lots` OR automatic on-chain scanning via EVM `walletAddress` (using Alchemy). Compares naive FIFO vs tax-optimized lot selection and TLH, returning verified tax savings, dynamic x402 pricing, and a planId.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http taxrail https://api.taxrail.online/mcp
FREE tax optimization preview for US & Brazil crypto disposals. Supports explicit `lots` OR automatic on-chain scanning via EVM `walletAddress` (using Alchemy). Compares naive FIFO vs tax-optimized lot selection and TLH, returning verified tax savings, dynamic x402 pricing, and a planId.
| Argument | Type | Description |
|---|---|---|
| lots | array | |
| chain | string | |
| regime* | string | |
| context | object | |
| asOfDate | string | |
| pricingTier | string | |
| targetAsset* | string | |
| jurisdiction* | string | |
| sellQuantity | number | |
| walletAddress | string | |
| referrerWallet | string | |
| currentPriceUsd | number | |
| targetQuoteAsset | string | |
| targetProceedsUsd | number |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"jurisdiction",
"regime",
"targetAsset"
],
"properties": {
"lots": {
"type": "array",
"items": {
"type": "object",
"required": [
"lotId",
"asset",
"quantity",
"costBasisUsd",
"acquiredAt",
"custodyLocation"
],
"properties": {
"asset": {
"type": "string",
"minLength": 1
},
"lotId": {
"type": "string",
"minLength": 1
},
"quantity": {
"type": "number",
"exclusiveMinimum": 0
},
"acquiredAt": {
"type": "string",
"minLength": 4
},
"costBasisUsd": {
"type": "number",
"minimum": 0
},
"custodyLocation": {
"enum": [
"DOMESTIC",
"OFFSHORE",
"SELF_CUSTODY"
],
"type": "string"
}
}
},
"minItems": 1
},
"chain": {
"enum": [
"base",
"ethereum",
"arbitrum",
"solana"
],
"type": "string"
},
"regime": {
"enum": [
"INDIVIDUAL",
"LLC_PASS_THROUGH",
"C_CORP",
"PF_LEI_14754",
"PF_DOMESTIC",
"PJ_LUCRO_REAL",
"PJ_SIMPLES_EXPORT"
],
"type": "string"
},
"context": {
"type": "object",
"properties": {
"applyNiit": {
"type": "boolean"
},
"usdBrlRate": {
"type": "number",
"exclusiveMinimum": 0
},
"realizedGainsYtdUsd": {
"type": "number",
"minimum": 0
},
"marginalOrdinaryRate": {
"type": "number",
"maximum": 0.5,
"minimum": 0
},
"monthlyGrossSalesBrl": {
"type": "number",
"minimum": 0
},
"realizedLossesYtdUsd": {
"type": "number",
"minimum": 0
},
"carryforwardLossesUsd": {
"type": "number",
"minimum": 0
}
}
},
"asOfDate": {
"type": "string"
},
"pricingTier": {
"enum": [
"STANDARD",
"VOLUME",
"ENTERPRISE"
],
"type": "string"
},
"targetAsset": {
"type": "string",
"minLength": 1
},
"jurisdiction": {
"enum": [
"US",
"BR"
],
"type": "string"
},
"sellQuantity": {
"type": "number",
"exclusiveMinimum": 0
},
"walletAddress": {
"type": "string"
},
"referrerWallet": {
"type": "string"
},
"currentPriceUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"targetQuoteAsset": {
"type": "string",
"minLength": 1
},
"targetProceedsUsd": {
"type": "number",
"exclusiveMinimum": 0
}
}
}FREE preview classifying business expenses (AI/cloud/SaaS/contractors) for US C-Corp/LLC or Brazil Lucro Real (IRPJ/CSLL, PIS/COFINS, IBS/CBS, IOF savings) and returning a compliance checklist and planId.
| Argument | Type | Description |
|---|---|---|
| regime* | string | |
| currency | string | |
| amountUsd* | number | |
| usdBrlRate | number | |
| vendorName* | string | |
| description* | string | |
| pricingTier | string | |
| jurisdiction* | string | |
| referrerWallet | string | |
| fiscalDocumentId | string | |
FREE preview comparing immediate tax cost of selling appreciated crypto vs borrowing USDC on Aave v3. Returns after-tax cost comparison, projected LTV, liquidation warning, dynamic x402 quote, and a planId.
| Argument | Type | Description |
|---|---|---|
| chain | string | |
| regime* | string | |
| borrowApr | number | |
| holdingDays* | number | |
| horizonDays | number | |
| pricingTier | string | |
| jurisdiction* | string | |
| referrerWallet | string | |
| borrowerAddress | string | |
| collateralAsset* | string | |
| collateralAmount |
Unlocks the full TaxRail execution plan (exact selectedLots, 0x/CoW/Jupiter swapIntent or Aave v3 0x calldata, and IRS Form 8949 / BR Lei 14.754 / QuickBooks / Omie-SPED accounting dossier). Unlocks immediately if fee is $0; otherwise requires x402 paymentSignature or returns exact HTTP 402 payment requirements.
| Argument | Type | Description |
|---|---|---|
| planId* | string | |
| paymentSignature | string | Optional x402 v2 PAYMENT-SIGNATURE / X-PAYMENT base64 payload to settle dynamic fee |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"planId"
],
"properties": {
"planId": {
"type": "string",
"minLength": 1
},
"paymentSignature": {
"type": "string",
"description": "Optional x402 v2 PAYMENT-SIGNATURE / X-PAYMENT base64 payload to settle dynamic fee"
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 25, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
| hasFiscalDocument |
| boolean |
| paidWithInternationalCard | boolean |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"jurisdiction",
"regime",
"vendorName",
"description",
"amountUsd"
],
"properties": {
"regime": {
"enum": [
"INDIVIDUAL",
"LLC_PASS_THROUGH",
"C_CORP",
"PF_LEI_14754",
"PF_DOMESTIC",
"PJ_LUCRO_REAL",
"PJ_SIMPLES_EXPORT"
],
"type": "string"
},
"currency": {
"enum": [
"USD",
"BRL"
],
"type": "string"
},
"amountUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"usdBrlRate": {
"type": "number",
"exclusiveMinimum": 0
},
"vendorName": {
"type": "string",
"minLength": 1
},
"description": {
"type": "string",
"minLength": 1
},
"pricingTier": {
"enum": [
"STANDARD",
"VOLUME",
"ENTERPRISE"
],
"type": "string"
},
"jurisdiction": {
"enum": [
"US",
"BR"
],
"type": "string"
},
"referrerWallet": {
"type": "string"
},
"fiscalDocumentId": {
"type": "string"
},
"hasFiscalDocument": {
"type": "boolean"
},
"paidWithInternationalCard": {
"type": "boolean"
}
}
}| number |
| collateralPriceUsd* | number |
| liquidityNeededUsd* | number |
| marginalOrdinaryRate | number |
| collateralCostBasisUsd* | number |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"jurisdiction",
"regime",
"collateralAsset",
"collateralAmount",
"collateralPriceUsd",
"collateralCostBasisUsd",
"holdingDays",
"liquidityNeededUsd"
],
"properties": {
"chain": {
"enum": [
"base",
"ethereum",
"arbitrum"
],
"type": "string"
},
"regime": {
"enum": [
"INDIVIDUAL",
"LLC_PASS_THROUGH",
"C_CORP",
"PF_LEI_14754",
"PF_DOMESTIC",
"PJ_LUCRO_REAL",
"PJ_SIMPLES_EXPORT"
],
"type": "string"
},
"borrowApr": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"holdingDays": {
"type": "number",
"minimum": 0
},
"horizonDays": {
"type": "number",
"exclusiveMinimum": 0
},
"pricingTier": {
"enum": [
"STANDARD",
"VOLUME",
"ENTERPRISE"
],
"type": "string"
},
"jurisdiction": {
"enum": [
"US",
"BR"
],
"type": "string"
},
"referrerWallet": {
"type": "string"
},
"borrowerAddress": {
"type": "string"
},
"collateralAsset": {
"type": "string",
"minLength": 1
},
"collateralAmount": {
"type": "number",
"exclusiveMinimum": 0
},
"collateralPriceUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"liquidityNeededUsd": {
"type": "number",
"exclusiveMinimum": 0
},
"marginalOrdinaryRate": {
"type": "number",
"maximum": 0.5,
"minimum": 0
},
"collateralCostBasisUsd": {
"type": "number",
"minimum": 0
}
}
}