Moltline TaxLots MCP
A crypto cost-basis engine that parses transaction CSVs, lints ledgers, matches wallet transfers, and calculates FIFO/LIFO/HIFO lots. It generates Form 8949 rows and diffs against broker 1099-DA statements using decimal arithmetic without storing data.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mcp.moltlinestudio.com/taxlotsWhat its tools do
8 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to moltlinestudio.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
About Moltline TaxLots MCP
The Moltline TaxLots MCP server functions as a crypto cost-basis engine. It parses transaction CSVs from exchanges, lints ledgers, matches wallet transfers, and calculates lots using FIFO, LIFO, HIFO, or specific-ID methods. The server generates Form 8949 rows and diffs calculated basis against broker 1099-DA statements using decimal arithmetic without storing data.
This server suits tasks involving the construction of cost-basis lots, the reconciliation of transaction data, and the generation of tax reporting rows. It is designed for developers who need to process crypto transaction histories and verify them against broker statements.
No sign-in is required to connect to the server or list its tools. However, individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites. The server consists of one Python file, is MIT licensed, and requires nothing to install.
What you can do with it
- Parse crypto transaction CSVs from exchanges like Coinbase or Kraken
- Build cost-basis lots using FIFO, LIFO, HIFO, or specific-ID methods
- Generate Form 8949 rows for tax reporting
- Diff calculated basis against broker 1099-DA statements
Source and maintenance
- Last repository push
- Latest release
- v1.1.0
- Maintenance checked
Protocol and capabilities
- Server
- moltline-taxlots 1.1.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 8 advertised
- Resources
- 0 advertised
- Resource templates
- 0 advertised
- Prompts
- 0 advertised
{
"tools": {
"listChanged": true
},
"logging": {},
"prompts": {
"listChanged": true
},
"resources": {
"subscribe": false,
"listChanged": true
},
"extensions": {
"io.modelcontextprotocol/ui": {}
},
"experimental": {}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
8 advertised
parse_transactions — 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.
{
"type": "object",
"required": [
"csv_text"
],
"properties": {
"account": {
"type": "string",
"default": "",
"description": "account label to stamp on every row (defaults to the source name)."
},
"csv_text": {
"type": "string",
"description": "the CSV file contents (up to 2 MB)."
},
"source_hint": {
"type": "string",
"default": "",
"description": "coinbase, kraken or generic; empty to detect from the header."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"title": "Parse Transactions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}ledger_lint — 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.
{
"type": "object",
"required": [
"ledger"
],
"properties": {
"ledger": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "canonical rows (ts, type, asset, qty, fiat_value, fees, account...)."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"title": "Ledger Lint",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}match_transfers — 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.
{
"type": "object",
"required": [
"ledger"
],
"properties": {
"ledger": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "canonical rows."
},
"tolerance_pct": {
"type": "number",
"default": 1,
"maximum": 25,
"minimum": 0,
"description": "allowed quantity difference in percent after the fee (default 1)."
},
"window_minutes": {
"type": "integer",
"default": 1440,
"maximum": 20160,
"minimum": 1,
"description": "how long after the withdrawal the deposit may land (default one day)."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"title": "Match Transfers",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}build_lots — 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.
{
"type": "object",
"required": [
"ledger"
],
"properties": {
"ledger": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "canonical rows."
},
"method": {
"type": "string",
"default": "fifo",
"description": "fifo, lifo, hifo or specific_id (rows without specific_lots fall back to fifo)."
},
"tax_year": {
"type": "integer",
"default": 0,
"maximum": 2100,
"minimum": 2009,
"description": "when set, only disposals in that calendar year are returned (the inventory still runs from the start)."
},
"transfers": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"default": [],
"description": "pairs from match_transfers ({\"out\": id, \"in\": id, ...}); empty to auto-match with the defaults."
},
"on_missing_lots": {
"type": "string",
"default": "error",
"description": "error (default), or zero_basis for lenient mode - disposals beyond the lots held get zero basis and unmatched transfer_out rows simply leave the inventory, each flagged."
},
"transfer_fee_policy": {
"type": "string",
"default": "dispose",
"description": "dispose (default) or ignore for network fees paid in the transferred asset."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"title": "Build Lots",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}form_8949_rows — 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.
{
"type": "object",
"required": [
"disposals",
"tax_year"
],
"properties": {
"tax_year": {
"type": "integer",
"maximum": 2100,
"minimum": 2009,
"description": "the calendar year of the disposals to include."
},
"disposals": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "rows from build_lots."
},
"reporting": {
"type": "object",
"default": {},
"description": "per-row override: proceeds_and_basis, proceeds_only or none.",
"additionalProperties": true
},
"whole_dollars": {
"type": "boolean",
"default": false,
"description": "round each row to whole dollars as the form permits."
},
"default_reporting": {
"type": "string",
"default": "none",
"description": "proceeds_and_basis, proceeds_only or none (default)."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"title": "Form 8949 Rows",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}reconcile_1099da — 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.
{
"type": "object",
"required": [
"disposals",
"form_rows"
],
"properties": {
"disposals": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "rows from build_lots."
},
"form_rows": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "1099-DA lines: asset, date_sold, qty, proceeds, basis (may be blank), account (optional), id (optional)."
},
"money_tolerance": {
"type": "number",
"default": 1,
"maximum": 1000,
"minimum": 0,
"description": "allowed proceeds/basis difference in fiat units (default 1.00)."
},
"qty_tolerance_pct": {
"type": "number",
"default": 0.5,
"maximum": 10,
"minimum": 0,
"description": "allowed quantity difference in percent (default 0.5)."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"title": "Reconcile 1099Da",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}wash_window_check — 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.
{
"type": "object",
"required": [
"disposals",
"acquisitions"
],
"properties": {
"disposals": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "rows from build_lots (uses asset, disposed_at, gain, row)."
},
"window_days": {
"type": "integer",
"default": 30,
"maximum": 90,
"minimum": 1,
"description": "days before and after the loss disposal to scan (default 30)."
},
"acquisitions": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "purchases/income rows with asset, ts, qty (ledger rows work as-is)."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"title": "Wash Window Check",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}lp_position_math — 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.
{
"type": "object",
"required": [
"deposit",
"current_prices"
],
"properties": {
"deposit": {
"type": "object",
"description": "asset_a, qty_a, price_a, asset_b, qty_b, price_b at the time of deposit.",
"additionalProperties": true
},
"current_prices": {
"type": "object",
"description": "{asset: price} for both assets now.",
"additionalProperties": true
},
"fees_earned_fiat": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "fees accrued to the position, in fiat."
}
},
"additionalProperties": false
}{
"type": "object",
"additionalProperties": true
}{
"title": "Lp Position Math",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
0 advertised
Resources
0 advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 3 of 3 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 4 of 4 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 3 of 3 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 3 of 3 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 4 of 4 checks answered
- 2026-11-29: 3 of 3 checks answered
- 2026-11-30: 1 of 1 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 931 ms
- 95th percentile latency
- 991 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 998 ms · 8 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
- · probe · passed · 864 ms · metadata changed · 8 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
- · repository · passed · updated
- · repository · passed · metadata changed · unchanged
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http moltline-taxlots-mcp https://mcp.moltlinestudio.com/taxlotsCodex
codex mcp add moltline-taxlots-mcp --url https://mcp.moltlinestudio.com/taxlotsCursor
{
"mcpServers": {
"moltline-taxlots-mcp": {
"url": "https://mcp.moltlinestudio.com/taxlots"
}
}
}Cline
{
"mcpServers": {
"moltline-taxlots-mcp": {
"type": "streamableHttp",
"url": "https://mcp.moltlinestudio.com/taxlots",
"disabled": false
}
}
}VS Code
{
"servers": {
"moltline-taxlots-mcp": {
"type": "http",
"url": "https://mcp.moltlinestudio.com/taxlots"
}
}
}Gemini CLI
gemini mcp add --transport http moltline-taxlots-mcp https://mcp.moltlinestudio.com/taxlotsClaude Desktop
https://mcp.moltlinestudio.com/taxlotsWindsurf
{
"mcpServers": {
"moltline-taxlots-mcp": {
"serverUrl": "https://mcp.moltlinestudio.com/taxlots"
}
}
}Let your agent find its tools
Find servers like Moltline TaxLots MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Frequently asked questions
- Does the server store data?
- No. The server calculates cost basis and generates reports using decimal arithmetic without storing data.
- What are the prerequisites for using the tools?
- No registration, account, or credentials are needed to connect. However, individual tools may require a vendor account, credentials, or permissions. Check the documented prerequisites for each tool.
- Can the server diff calculated basis against broker statements?
- Yes. The server can diff calculated basis against broker 1099-DA statements using the `reconcile_1099da` tool.
- What methods are supported for calculating cost basis?
- The server supports FIFO, LIFO, HIFO, and specific-ID methods for building cost-basis lots using the `build_lots` tool.
Do you run Moltline TaxLots MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.