luc253 avatar

MLP Tax Computation Engine

luc253/lucasandersen-ai

You'd reach for this when dealing with Master Limited Partnership tax calculations that need to reference actual IRS code. It exposes six tools covering basis tracking, Section 751 hot asset calculations, estate tax scenarios, and tax projections. The deterministic engine means you get the same results for the same inputs, which matters when you're documenting tax positions. Each calculation includes IRS citations so you can trace the logic back to source code. Built by Lucas Andersen and available over streamable HTTP, so you can integrate it without managing local processes. Useful if you're building fintech tools for energy investors or accountants who work with MLPs regularly.

tools
6
transport
HTTP
last updated
Apr 15, 2026

Install

From registry metadata
$ npx add-mcp https://api.lucasandersen.ai/mcp --name mlp-tax

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http mlp-tax https://api.lucasandersen.ai/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 6 tools

Verified live against the running server on Nov 6, 2026.

mlp_projectionComputes a multi-year tax projection for a publicly traded MLP position, applying the IRS Partner's Basis Worksheet methodology per IRC §705, §731(a), §733, §751, §752 and §199A. Returns year-by-year basis erosion, §751 accumulation, annual federal tax, terminal FMV (the proje...5 params

Computes a multi-year tax projection for a publicly traded MLP position, applying the IRS Partner's Basis Worksheet methodology per IRC §705, §731(a), §733, §751, §752 and §199A. Returns year-by-year basis erosion, §751 accumulation, annual federal tax, terminal FMV (the proje...

Parameters* required
purchase_pricenumber
Purchase price per unit in USD (optional — defaults to reasonable estimate)
tax_bracketnumber
Federal marginal rate as decimal, e.g. 0.32 (default 0.32)
ticker*string
MLP ticker symbolone of EPD · ET · MPLX · WES · PAA · NRP
units*number
Number of MLP units held
yearsnumber
Projection horizon in years (1-50, default 20)
mlp_estate_planningComputes an estate view for one or more direct MLP positions with no sale by the holder, per IRC §705, §731 and §751(a), with §1014(a) cited for the successor's basis at death (R-1014-PTP-STEP-UP). Returns the projected market value, the tax a sale by the holder at that value...3 params

Computes an estate view for one or more direct MLP positions with no sale by the holder, per IRC §705, §731 and §751(a), with §1014(a) cited for the successor's basis at death (R-1014-PTP-STEP-UP). Returns the projected market value, the tax a sale by the holder at that value...

Parameters* required
beneficiariesnumber
Number of beneficiaries (default 1, max 20)
positions*array
Array of MLP positions to analyze (max 20)
tax_bracketnumber
mlp_sell_vs_holdCompares selling an MLP position today (the §751(a) ordinary amount plus capital gain on the rest, R-751-BIFURCATION) against holding it with no sale by the holder through the projection horizon, per IRC §199A (qualified PTP income, including §751(a) gain attributable to the P...6 params

Compares selling an MLP position today (the §751(a) ordinary amount plus capital gain on the rest, R-751-BIFURCATION) against holding it with no sale by the holder through the projection horizon, per IRC §199A (qualified PTP income, including §751(a) gain attributable to the P...

Parameters* required
purchase_pricenumber
tax_bracketnumber
ticker*string
one of EPD · ET · MPLX · WES · PAA · NRP
units*number
years_heldnumber
Years the position has been held (default 10)
years_to_projectnumber
Years to project the hold scenario (default 10)
mlp_infoReturns reference data for a supported MLP ticker — current cash distribution per unit, distribution growth CAGR, default return-of-capital percentage, distribution coverage ratio, K-1 entity count, operating-state count, and last-verified date. Use when: User wants to look up...1 params

Returns reference data for a supported MLP ticker — current cash distribution per unit, distribution growth CAGR, default return-of-capital percentage, distribution coverage ratio, K-1 entity count, operating-state count, and last-verified date. Use when: User wants to look up...

Parameters* required
ticker*string
one of EPD · ET · MPLX · WES · PAA · NRP
k1_basis_computeComputes adjusted partner basis from a single year of Schedule K-1 data using the IRS Partner's Basis Worksheet methodology (Lines 1-14), per IRC §705, §722, §731(a)(1), §733, §752, §704(d) and §199A. Returns the ending adjusted basis, every worksheet line value, any §731 gain...12 params

Computes adjusted partner basis from a single year of Schedule K-1 data using the IRS Partner's Basis Worksheet methodology (Lines 1-14), per IRC §705, §722, §731(a)(1), §733, §752, §704(d) and §199A. Returns the ending adjusted basis, every worksheet line value, any §731 gain...

Parameters* required
box1*number
K-1 Box 1: ordinary business income (loss)
box11number
K-1 Box 11: §179 / other deductions
box13wnumber
K-1 Box 13W: §199A QBI amount
box19a*number
K-1 Box 19A: cash distributions
box2number
K-1 Box 2: net rental income
box5number
K-1 Box 5: interest income
liability_decreasenumber
§752(b) liability decrease in USD
liability_increasenumber
§752(a) liability increase in USD
prior_basis*number
Beginning-of-year adjusted basis in USD
tax_bracketnumber
ticker*string
one of EPD · ET · MPLX · WES · PAA · NRP
units*number
k1_basis_multi_yearComputes a running adjusted partner basis across multiple years of Schedule K-1 data, per IRC §705, §731(a)(1), §751(a), §752 and §704(d), with §1014(a) cited for the successor's basis at death (R-1014-PTP-STEP-UP). Returns year-by-year basis trajectory, accumulated §751 recap...6 params

Computes a running adjusted partner basis across multiple years of Schedule K-1 data, per IRC §705, §731(a)(1), §751(a), §752 and §704(d), with §1014(a) cited for the successor's basis at death (R-1014-PTP-STEP-UP). Returns year-by-year basis trajectory, accumulated §751 recap...

Parameters* required
k1_years*array
Array of annual K-1 data, one per year held (max 50)
purchase_price*number
purchase_yearnumber
tax_bracketnumber
ticker*string
one of EPD · ET · MPLX · WES · PAA · NRP
units*number

Sponsors

Readme

Details

Repository
github.com/luc253/lucasandersen-ai
Transport
HTTP
Registry
MCP registry, active
Tools verified
Nov 6, 2026