Irs Afr
v0.2.1IRS Applicable Federal Rates (AFR) and the Section 7520 rate.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
irs_afr
IRS Applicable Federal Rates (AFR) for a month, from the monthly IRS revenue ruling: short-term (up to 3 years), mid-term (over 3 to 9 years) and long-term (over 9 years) AFRs under section 1274(d), each at annual, semiannual, quarterly and monthly compounding, with the 110%, 120% and 130% variants (and 150%/175% for mid-term) where the ruling has them, plus the adjusted AFRs (section 1288(b)). Omit month for the newest published month (the IRS issues next month's rates mid-month). A month not yet issued returns status "not_yet_published" with the expected timing. Filter with term, compounding…
| Parameter | Type | Description |
|---|---|---|
compounding | string | Limit to one compounding period. |
month | string | Month the rate applies to, "YYYY-MM" (e.g. "2026-11") or "November 2026". Default: newest published. |
percent | number | Which multiple of the AFR: 100 is the AFR itself. 150 and 175 exist for mid-term only. Default: all. |
term | string | Limit to one term. Short is up to 3 years, mid over 3 to 9, long over 9. |
irs_7520_rate
The IRS Section 7520 rate for a month (the interest rate used to value annuities, life estates, terms of years, remainders and reversions in estate and gift planning, and charitable remainder trusts), from the monthly IRS Applicable Federal Rates revenue ruling. Also returns the same ruling's section 382 long-term tax-exempt rate and the low-income housing credit percentages. Omit month for the newest published; an unissued month returns "not_yet_published" with expected timing. Returns the ruling number and data_as_of. Sourced from IRS, Applicable Federal Rates revenue ruling.
| Parameter | Type | Description |
|---|---|---|
month | string | Month, "YYYY-MM" (e.g. "2026-11") or "November 2026". Default: newest published. |