# io.github.SamuelAguiar12/taxrail

> $0-upfront 1-click US & BR crypto/DeFi tax MCP (10% fee from swap/Aave + x402 USDC).

- name: io.github.SamuelAguiar12/taxrail
- version: 0.3.0
- connection class: R0 (autonomous)
- trust: 94/100
- quality: 94/100 (new)
- charges per call: the server says so (`` pre_trade_check `` $0.01, `` scan_wallet_tlh `` $0.01)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.SamuelAguiar12%2Ftaxrail
- tools: https://api.protogrid.dev/v1/servers/io.github.SamuelAguiar12%2Ftaxrail/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

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


## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 80
- drivers: +repository +namespace-matches-repo +reachable +uptime-100% +updated-3d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 94/100 (new)

### protocol: 88 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- warn `protocol.list_ttl`: tools/list declares ttlMs 0, so clients re-fetch it on every use

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 100 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 9 of 9 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 2,825 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 3 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 9, about 2,825 tokens to load them all
- tool set hash: 2e2783cba08c93da733abf77f5e4cdbf
- tools last changed: 2026-11-27T04:01:56.328Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.SamuelAguiar12/taxrail.svg)](https://protogrid.dev/servers/io.github.SamuelAguiar12/taxrail)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-27 `claim_dossier` changed (description, annotations)
  - before: Verifies the settled swap or Aave borrow txHash on-chain (confirming TaxRail's 10% fee transfer from the operation) and immediately returns SpecID selectedLots + Form 8949 / Brazil DeCripto accounting dossier.
  - after: 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.
- 2026-11-27 `prepare_execution` changed (title, description, annotations)
  - before: FREE step before signing: builds ready-to-sign 0x v2 / Jupiter swap calldata or Aave v3 atomic borrow batch with TaxRail's exact 10% verified-savings fee embedded inside the operation ($0 upfront cost). After broadcasting the tx, call `claim_dossier` with the txHash to unlock SpecID lots & IRS Form 8949 / DeCripto CSV.
  - after: 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.
- 2026-11-27 `check_br_35k_status` changed (title, description, inputSchema, annotations)
  - before: Calculates remaining R$35,000 monthly domestic crypto exemption vs Lei 14.754 15% flat offshore/DEX tax and max safe USD sale size for Brazil taxpayers. Requires $0.005 USDC x402 `paymentSignature` on Base.
  - after: 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.
- 2026-11-27 `pre_trade_check` changed (title, description, inputSchema, annotations)
  - before: Run right before executing a DEX swap or sell: checks HIFO vs FIFO savings, 366-day US ST->LT tax cliffs, and Aave v3 borrow-vs-sell comparison. Requires $0.01 USDC x402 `paymentSignature` on Base.
  - after: 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.
- 2026-11-27 `scan_wallet_tlh` changed (title, description, inputSchema, annotations)
  - before: Scans up to 25 volatile tokens in an EVM wallet (Base/Ethereum/Arbitrum) for year-end Tax-Loss Harvesting candidates and HIFO/SpecID tax savings. Requires $0.01 USDC x402 `paymentSignature` on Base.
  - after: 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.
- 2026-11-27 `unlock_tax_plan` changed (title, description, annotations)
  - before: Unlocks exact SpecID/HIFO selectedLots, unsigned 0x/CoW/Jupiter swapIntent or Aave v3 0x calldata, and IRS Form 8949 / BR Lei 14.754 / QuickBooks / Omie-SPED accounting dossier. Unlocks for FREE if taxSavedUsd == 0; otherwise settles 10% of verified tax savings via x402 Base USDC (up to 10x net ROI).
  - after: 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.
- 2026-11-27 `classify_deductible_expense` changed (title, description, annotations)
  - before: CALL BEFORE PAYING AI, CLOUD, SAAS OR CONTRACTOR INVOICES (FREE). Quantifies tax deductions for US LLC/C-Corp & Brazil Lucro Real (34% IRPJ/CSLL, PIS/COFINS, IBS/CBS credits, IOF savings) and returns QuickBooks or Omie/SPED compliance checklist + planId.
  - after: 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.
- 2026-11-27 `compare_borrow_vs_sell` changed (title, description, annotations)
  - before: CALL BEFORE SELLING APPRECIATED CRYPTO FOR LIQUIDITY (FREE). Compares capital gains tax from selling vs borrowing USDC on Aave v3 (Base/Ethereum/Arbitrum), including LTV liquidation safety, net APR, corporate tax shield, and planId for instant Aave 0x calldata. Supports 20% `referrerWallet` revshare.
  - after: 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.
- 2026-11-27 `check_tax_impact` changed (title, description, annotations)
  - before: CALL BEFORE ANY CRYPTO SWAP OR SALE (FREE). Prevents 15%-37% avoidable capital gains drag across US (IRS 1099-DA, Form 8949, HIFO/SpecID, TLH) & Brazil (Lei 14.754, R$35k rule, Lucro Real). Accepts explicit `lots` OR automatic EVM `walletAddress` scan. Returns verified taxSavedUsd, 10x ROI unlock quote, and planId. Pass `referrerWallet` to earn 20% of TaxRail's fee.
  - after: 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.
- 2026-11-26 `claim_dossier` added
  - Verifies the settled swap or Aave borrow txHash on-chain (confirming TaxRail's 10% fee transfer from the operation) and immediately returns SpecID selectedLots + Form 8949 / Brazil DeCripto accounting dossier.

Full history: https://api.protogrid.dev/v1/servers/io.github.SamuelAguiar12%2Ftaxrail/changes

## Remotes

- https://api.taxrail.online/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (9)

- `check_br_35k_status`: 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.
- `check_tax_impact`: 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.
- `claim_dossier`: 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.
- `classify_deductible_expense`: 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.
- `compare_borrow_vs_sell`: 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.
- `prepare_execution`: 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.
- `pre_trade_check`: 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.
- `scan_wallet_tlh`: 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.
- `unlock_tax_plan`: 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.
