Skip to content
MCP server

Taxrail

MCP server that simulates US and Brazil crypto and DeFi tax impact before a trade

Answered our latest tool-list check yesterday with 9 tools. It will be marked verified after 3 successful checks in 7 days.

Taxrail is a freemium MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Freemium
Platforms
API, CLI
Runs
Remotely
What it can do
Can change data (4 tools)
Version
0.3.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http taxrail https://api.taxrail.online/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "taxrail": {
      "type": "http",
      "url": "https://api.taxrail.online/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://api.taxrail.online/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "taxrail": {
      "url": "https://api.taxrail.online/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "taxrail": {
      "type": "http",
      "url": "https://api.taxrail.online/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://api.taxrail.online/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add taxrail --url https://api.taxrail.online/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.taxrail]
url = "https://api.taxrail.online/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://api.taxrail.online/mcp

Enter a Name (for example "Taxrail"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "taxrail": {
      "type": "http",
      "url": "https://api.taxrail.online/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "taxrail": {
          "httpUrl": "https://api.taxrail.online/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http taxrail https://api.taxrail.online/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "taxrail": {
          "serverUrl": "https://api.taxrail.online/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "taxrail": {
          "url": "https://api.taxrail.online/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "taxrail": {
          "type": "streamableHttp",
          "url": "https://api.taxrail.online/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "taxrail": {
          "url": "https://api.taxrail.online/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "taxrail": {
          "url": "https://api.taxrail.online/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "taxrail": {
          "url": "https://api.taxrail.online/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "taxrail": {
          "url": "https://api.taxrail.online/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Taxrail

TaxRail runs a tax check on a planned crypto swap, staking exit, liquidity borrow or corporate expense before it is executed. It compares the baseline tax against an optimized lot-selection or harvesting path and reports the estimated savings, covering US capital-gains rules and Brazilian regimes such as Lei 14.754 and the monthly R$ 35k exemption.

The engine is deterministic rather than model-driven, so the same inputs produce the same numbers. Lot selection (FIFO versus HIFO or SpecID), tax-loss harvesting and borrow-versus-sell comparisons are computed in code, and the server returns unsigned swap intents and calldata for the user's own wallet to sign. It does not custody funds or keys.

The server is exposed over streamable HTTP at a hosted endpoint, with a free preview tier and per-call pricing in USDC over x402 for the paid tools. It suits traders, small corporate treasuries and developers wiring tax checks into AI agents.

Tools this server provides (9)

Read directly from the server.

The server marks 4 of 9 tools as able to change data.

From the server's own tool labels and tool names; not verified by us.

check_tax_impactSays read-only
Free pre-execution tax analysis before any crypto swap or sale. Evaluates US (IRS 1099-DA, Form 8949, HIFO/SpecID, TLH) and Brazil (Lei 14.754, R$35k rule, Lucro Real, DeCripto) impact using explicit lots or an EVM walletAddress scan. Returns verified taxSavedUsd, $0-upfront 10%-from-operation quote, and planId. Supports 20% referrerWallet revshare.
compare_borrow_vs_sellSays read-only
Free pre-execution comparison before selling appreciated crypto for liquidity. Compares capital gains tax from selling against borrowing USDC on Aave v3 (Base, Ethereum, or Arbitrum), reporting LTV liquidation safety, net APR, corporate tax shield, and planId for $0-upfront Aave batch calldata. Supports 20% referrerWallet revshare.
classify_deductible_expenseSays read-only
Free pre-payment classification for AI, cloud, SaaS, or contractor invoices. Quantifies tax deductions across US LLC/C-Corp and Brazil Lucro Real (34% IRPJ/CSLL, PIS/COFINS, IBS/CBS credits, IOF savings) and returns a QuickBooks or Omie/SPED compliance checklist with planId.
unlock_tax_planSays it can change data
Unlocks exact SpecID/HIFO selectedLots, unsigned 0x v2/Jupiter swapIntent or Aave v3 calldata, and IRS Form 8949 / BR Lei 14.754 / QuickBooks / Omie-SPED accounting dossier for a planId. Unlocks free if taxSavedUsd equals 0; otherwise settles 10% of verified tax savings via x402 USDC on Base.
scan_wallet_tlhSays it can change data
Scans up to 25 volatile tokens in an EVM wallet (Base, Ethereum, or Arbitrum) for year-end Tax-Loss Harvesting candidates and HIFO/SpecID tax savings. Requires $0.01 USDC x402 paymentSignature on Base.
pre_trade_checkSays it can change data
Checks HIFO vs FIFO savings, 366-day US short-to-long-term capital gains cliffs, and Aave v3 borrow-vs-sell comparisons immediately before a DEX swap or sell. Requires $0.01 USDC x402 paymentSignature on Base.
check_br_35k_statusSays it can change data
Calculates remaining R$35,000 monthly domestic crypto exemption versus Lei 14.754 15% flat offshore/DEX tax and maximum tax-free USD sale size for Brazil taxpayers. Requires $0.005 USDC x402 paymentSignature on Base.
prepare_executionSays read-only
Free pre-execution step: builds ready-to-sign 0x v2 / Jupiter swap calldata or an Aave v3 atomic borrow batch with TaxRail's 10% verified-savings fee embedded inside the operation ($0 upfront cost). After broadcasting the transaction, call claim_dossier with txHash to unlock SpecID lots and IRS Form 8949 / DeCripto CSV.
claim_dossierSays read-only
Verifies the settled swap or Aave borrow txHash on-chain (confirming TaxRail's 10% fee transfer from the operation) and returns SpecID selectedLots plus the IRS Form 8949 or Brazil DeCripto accounting dossier.

What it does

Pre-trade tax simulation
Estimates baseline and optimized tax before a swap, harvest or borrow is executed.
US and Brazil regimes
Covers US individual and entity types as well as Brazilian individual and corporate regimes.
Lot selection and harvesting
Compares FIFO with HIFO or SpecID lot selection and flags tax-loss harvesting opportunities.
Non-custodial outputs
Returns unsigned transaction intents and calldata; signing stays with the user's wallet.
Accounting exports
Produces dossiers in formats such as IRS Form 8949 and Brazilian Lucro Real SPED layouts.
Free preview with x402 pricing
Discovery checks are free, while selected endpoints charge small USDC amounts via x402.

Good for

  • Check the tax impact of a crypto swap before executing it
  • Find tax-loss harvesting candidates across a wallet
  • Compare borrowing against crypto with selling it for tax purposes
  • Give an AI agent a pre-trade tax check in an automated workflow
  • Estimate Brazilian monthly sales exemption status for crypto sales

Pricing

Freemium

Free preview tools; paid endpoints charge small USDC amounts via x402.

Taxrail FAQ

How is the server connected to an AI client?

It exposes a remote MCP endpoint over streamable HTTP at api.taxrail.online/mcp, and a local stdio version is available via npx taxrail-mcp.

Does TaxRail hold funds or private keys?

No. It is described as non-custodial and outputs unsigned intents and calldata for the user's wallet to sign.

Does Taxrail provide tax advice?

The project states it is a calculation and routing layer, not legal or accounting advice, and that generated dossiers should be reviewed by a licensed professional.

Is Taxrail free?

Taxrail has a free plan, with paid plans for more usage or features.

How do I add Taxrail to Claude Code?

Run this command in your terminal: claude mcp add --transport http taxrail https://api.taxrail.online/mcp

What are the best alternatives to Taxrail?

The closest alternatives to Taxrail are FMF Tools Crypto Tax, Moltline TaxLots, DeFi yield minus T-bill rate (x402), Tax Retirement and LATAM Business, Fiscal & FX (x402).

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers