# Moltline TaxLots

> Crypto cost-basis lots (FIFO/LIFO/HIFO/specific-ID), Form 8949 rows, 1099-DA diff. 5 of 8 free.

- name: com.moltlinestudio/taxlots
- version: 1.2.0
- connection class: R0 (autonomous)
- trust: 84/100 flags: duplicate-repo
- quality: 88/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/com.moltlinestudio%2Ftaxlots
- tools: https://api.protogrid.dev/v1/servers/com.moltlinestudio%2Ftaxlots/tools

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

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "taxlots": {
      "type": "http",
      "url": "https://mcp.moltlinestudio.com/taxlots"
    }
  }
}
```


## Trust

- hygiene: 60
- liveness: 99
- freshness: 85
- provenance: 85
- drivers: +repository +dns-namespace +website +reachable +uptime-97% ~updated-42d-ago -duplicate-repo(22 names)
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 88/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### 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: 93 (weight 30)

- pass `tools.descriptions`: every tool has a description
- warn `tools.description_length`: 5 tools have descriptions over 1,024 characters, which crowds the context
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 8 of 8 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 3,600 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

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

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

- tools: 8, about 3,600 tokens to load them all
- tool set hash: fcc9aff3d2b4491f62ff982604a15caa
- badge: [![protogrid quality](https://protogrid.dev/badge/com.moltlinestudio/taxlots.svg)](https://protogrid.dev/servers/com.moltlinestudio/taxlots)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://mcp.moltlinestudio.com/taxlots (streamable-http, auth none, reachable true, uptime30d 0.96581197)

## Packages

_none_

## Tools (8)

- `build_lots`: Build the lot inventory per account and every disposal with basis, gain and holding period. PREMIUM (license).

Methods: fifo (the default rule when no specific identification is made,
Treas. Reg. 1.1012-1(j)), lifo, hifo, or specific_id via a row's
specific_lots {lot_id: qty}. Typical input {"ledger": <rows>, "method":
"hifo", "transfers": <pairs from match_transfers>} returns {"disposals":
[{"row": "cb9", "asset": "BTC", "qty": "0.5", "proceeds": "31000.00",
"basis": "20000.00", "gain": "11000.00", "term": "long", ...}],
"open_lots": [...], "summary": {"short_term": {...}, "long_term":
{...}}}. Fees: a cash purchase's fee joins basis; a sale's or exchange's
fee reduces the amount realized (1.1001-7); a network fee paid in the
transferred asset is a disposal of those units (transfer_fee_policy
dispose) unless you choose ignore. Transfers between your own accounts
move lots with their basis and acquisition date. Use once ledger_lint
reports no errors. Not tax advice: it applies the stated rules to your
rows and shows its work. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": "<what is wrong and how to fix it>"} (for example {"error": "method must be fifo, lifo, hifo or specific_id"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
- `form_8949_rows`: Lay the disposals out as Form 8949 rows with box categories and totals. PREMIUM (license).

Typical input {"disposals": <from build_lots>, "tax_year": 2026,
"default_reporting": "proceeds_only"} returns {"part_i": {"B": [rows]},
"part_ii": {"E": [rows]}, "totals": {...}}. Columns follow the form:
description (a), date acquired (b), date sold (c), proceeds (d), cost or
other basis (e), code (f), adjustment (g), gain or loss (h). Box: A/D
when the broker reported proceeds and basis, B/E when proceeds only, C/F
when no broker form - set per row in reporting {row_id: value} or for
all rows with default_reporting. Use to draft the schedule from computed
disposals. Not a filing: check the current form instructions. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": "<what is wrong and how to fix it>"} (for example {"error": "disposals must be a non-empty list from build_lots"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
- `ledger_lint`: Find the problems that break a lot build: missing values, duplicates, negative balances. FREE.

Typical input {"ledger": <rows from parse_transactions>} returns
{"issues": [{"severity": "error", "row": "cb12", "issue": "sell of 0.5
BTC exceeds balance 0.2 in account coinbase"}], "balances": {"coinbase":
{"BTC": "0.2"}}, "counts": {...}}. Balances are running quantities per
account and asset in time order, ignoring transfers' fiat values. Use
after parse_transactions and before build_lots. Not a tax check: it
checks the ledger's arithmetic consistency only. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": "<what is wrong and how to fix it>"}. Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
- `lp_position_math`: Impermanent loss, hold-vs-pool value and basis split for a two-asset constant-product pool. FREE.

Typical input {"deposit": {"asset_a": "ETH", "qty_a": "1", "price_a":
"2000", "asset_b": "USDC", "qty_b": "2000", "price_b": "1"},
"current_prices": {"ETH": "3000", "USDC": "1"}} returns {"il_pct":
"-2.02", "hold_value": "5000.00", "pool_value": "4898.98",
"deposit_value": "4000.00", "basis_split": {...}}. The pool value assumes
x*y=k with no fees; add fees_earned_fiat to see the net. The basis split
is the deposit's fiat value at deposit, allocated by each side's share,
which is the arithmetic a lot engine needs if the LP position is treated
as one asset. Use for DeFi position reviews. Not a determination of
whether the deposit is a taxable exchange. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": "<what is wrong and how to fix it>"} (for example {"error": "deposit and current_prices must be objects"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
- `match_transfers`: Pair withdrawals with the deposits that received them between your own accounts. FREE.

Typical input {"ledger": <rows>, "window_minutes": 1440} returns
{"pairs": [{"out": "kr91", "in": "cb14", "asset": "BTC", "from":
"kraken", "to": "coinbase", "network_fee": "0.0001", "minutes": 42.0}],
"unmatched": {"transfer_out": [...], "transfer_in": [...]}}. A pair needs
the same asset, a different account, the deposit inside the window after
the withdrawal, and a quantity within tolerance_pct of the amount sent
net of the fee. Use before build_lots so basis and holding period move
with the coins instead of being treated as a sale. Not for transfers to
third parties: those stay unmatched and should be typed gift_out or sell. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": "<what is wrong and how to fix it>"}. Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
- `parse_transactions`: Normalise an exchange CSV export into the canonical ledger rows. FREE.

Supports the Coinbase transaction-history export (Transaction Type /
Asset / Quantity Transacted columns), the Kraken ledgers export (txid /
refid / type / asset / amount / fee) and a generic CSV with the canonical
columns ts, type, asset, qty, fiat_value, fee_qty, fee_asset, fee_fiat,
counter_asset, counter_qty, account, id. Typical input {"csv_text":
"...", "source_hint": "coinbase"} returns {"rows": [...], "detected":
"coinbase", "unrecognised": [...], "warnings": [...]}. Rows it cannot
read are returned under unrecognised with the reason, never dropped
silently. In every row qty is the whole amount that entered or left the
account; when a fee was paid in the same asset, fee_qty is the part of
qty that was the fee. Use before ledger_lint and build_lots. Not for
other exchanges: convert those to the generic columns first. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": "<what is wrong and how to fix it>"} (for example {"error": "csv_text must be the CSV file contents"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
- `reconcile_1099da`: Diff the broker's 1099-DA lines against the computed disposals. PREMIUM (license).

Typical input {"disposals": <from build_lots>, "form_rows": [{"asset":
"BTC", "date_sold": "2026-03-04", "qty": "0.5", "proceeds": "31000",
"basis": "", "account": "coinbase"}]} returns {"matched": [...],
"broker_missing_basis": [...], "basis_mismatch": [...],
"proceeds_mismatch": [...], "unmatched_form_rows": [...],
"unmatched_disposals": [...]}. A line matches a disposal on the same
account (when given), asset and sale date with quantity and proceeds
inside the tolerances; several lots sold in one order are summed first.
Use when the form arrives and the basis column is blank for coins that
came from your own wallet. Not a substitute for the broker's statement. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": "<what is wrong and how to fix it>"} (for example {"error": "disposals must be a non-empty list from build_lots"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
- `wash_window_check`: Flag loss disposals with a repurchase of the same asset inside the window. FREE.

Typical input {"disposals": <from build_lots>, "acquisitions":
[{"asset": "ETH", "ts": "2026-02-10T10:00:00Z", "qty": "2"}]} returns
{"flags": [{"row": "cb7", "asset": "ETH", "loss": "-410.00",
"repurchases": [...]}], "rule_status": "..."}. The 30-day window before
and after the sale is the one IRC 1091 uses for stock or securities; as
checked on the verification date that statute had not been extended to
digital assets that are not securities, so the output is a heads-up for
planning, not an adjustment. Use when reviewing loss harvesting. Not a
determination that any rule applies. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": "<what is wrong and how to fix it>"} (for example {"error": "disposals and acquisitions must be lists"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
