Skip to content
Agentmart
Submit a tool

Acb Tax MCP

Canadian ACB and capital gains: average-cost, per-disposition gains, superficial-loss detection.

Connector by haiiibin · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/haiiibin-acb-tax-mcp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Canadian ACB and capital gains: average-cost, per-disposition gains, superficial-loss detection.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
5 read · 0 write · 0 delete · 2 not yet classified
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Python package

Tools by what they do 7

Read from the source code; the running server may list different tools.

Read 5 · Look things up without changing anything.

  • acb_summary
  • calculate_acb
  • check_superficial_losses
  • normalize_broker_csv
  • unrealized_gains

Not yet classified 2 · We could not tell from the name and description.

  • capital_gains_report
  • schedule3_summary

Tools (7)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • acb_summary

    Show current holdings: shares, total ACB and ACB per share for each security. A lighter view than calculate_acb when you only want the current book cost of what is still held (for example to compute an unrealized gain against a market price). Accepts inline 'transactions' or a 'csv_path'. {tx_shape}

  • calculate_acb

    Compute adjusted cost base and capital gains for a set of trades (Canadian rules). Runs the full calculation and returns: current holdings (shares, total ACB, ACB per share) per security; every disposition with proceeds, ACB, outlays, the gain before and after the superficial-loss rule, and whether it was a superficial loss; per-tax-year summaries with net and taxable capital gain; and any warnings. Uses the CRA average-cost method (all shares of a security pool into one ACB; gains are computed against the average, not FIFO). Pass trades either inline as 'transactions' or as a file path in '…

  • capital_gains_report

    Produce a capital-gains report for a single tax year (Schedule 3 style). Returns every disposition dated in 'tax_year' with proceeds, ACB, outlays and the allowable capital gain/loss, plus totals: total proceeds, total ACB, net capital gain, and the taxable capital gain (net gain times the 50% inclusion rate). Superficial losses are already applied. Accepts inline 'transactions' or a 'csv_path'. {tx_shape} This is a calculation aid, not tax advice; verify results before filing.

  • check_superficial_losses

    Flag superficial losses under the CRA 30-day (61-day window) rule. Scans dispositions for losses where the same security was bought within 30 days before or after the sale and still held at the end of that window. For each, reports the security, date, the denied (deferred) loss amount and the allowable portion. The denied amount is added to the ACB of the substitute shares. Accepts inline 'transactions' or a 'csv_path'. {tx_shape}

  • normalize_broker_csv

    Convert a raw broker activity export into transactions the other tools accept. Broker exports rarely match the documented headers. This tool maps common column aliases ("Trade Date", "Activity Type", "Symbol", "Quantity", ...), keeps only buy/sell rows (reinvestment/DRIP rows count as buys, since they add to ACB), cleans number formats ("1,200", "$9.99", parenthesized negatives, signed quantities), and returns ready-to-use 'transactions' plus a per-row 'skipped' list (dividends, deposits, transfers, unparseable rows) with reasons, so nothing is dropped silently. Pass the export as 'csv_path' …

  • schedule3_summary

    One row per security in the shape of Schedule 3's publicly traded shares section. Aggregates dispositions (optionally limited to 'tax_year') into one line per security with the columns transcribed onto Schedule 3: number of shares, proceeds of disposition (gross, before commissions), adjusted cost base, outlays and expenses (sale commissions), and gain or loss with the superficial-loss rule already applied, plus acquisition years, per-column totals, and the list of years that have dispositions. capital_gains_report lists every individual disposition; use this tool when the user wants the aggr…

  • unrealized_gains

    Compute unrealized gains: current holdings' book cost (ACB) against market prices. For each security still held, returns shares, total ACB, current market value and the unrealized gain in dollars and percent, plus portfolio totals. 'market_prices' maps each security to its current price: either a number already in CAD (e.g. {"XEQT": 35.20}) or, for foreign-quoted securities, an object with the trade-currency price and the CAD exchange rate (e.g. {"VTI": {"price": 305.40, "fx_rate": 1.37}}). Held securities without a price are listed in 'missing_prices' and excluded from totals. Accepts inline…

Signals

Stars
0
Forks
0
Open issues
0
Weekly downloads
77
Last commit
Oct 9, 2026 (19 days ago)
Last release
Oct 9, 2026 (19 days ago)
Last package publish
Oct 9, 2026 (19 days ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.haiiibin/acb-tax-mcp
Version
0.5.0
Auth
No auth
Packages
pypi acb-tax-mcp
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from haiiibin

Cite this page

Acb Tax MCP. Agent Mart. https://agentmart.dev/connectors/haiiibin-acb-tax-mcp (last updated 2026-10-24)