Skip to main content
Glama

itr-agent

npm CI License: MIT MCP

Local-first ITR filing agent for Indian income tax. Claude interviews you one question at a time, picks your ITR form, computes your tax deterministically on your machine, reconciles your documents, and walks you to the portal's submit button -- no accounts, no uploads, no cloud.

Works with Claude Desktop, Claude Code, and any MCP client. Formerly published as itr-mcp.

You:    Help me file my ITR.
Claude: [file_my_itr] One question at a time. First: were you a resident of India
        for all of FY 2025-26?
You:    Yes, salaried, and I have vested US RSUs from my employer.
Claude: [recommend_itr_form] Foreign assets (Schedule FA) rule out ITR-1: you file
        ITR-2, due 2026-07-31. Next: how many employers this year?

Those are the calls Claude makes during the interview, sent to the built server by scripts/demo.mjs. Every figure in the animation is one that run printed.

Why

Every Indian tax tool wants your data on their servers. itr-agent flips it: your documents stay local, the LLM never does arithmetic, and every number comes from a versioned rule pack you can audit. The agent layer drives the interview; the deterministic engine does the math.

What it will never do: submit the return for you. India has no public filing API -- returns are filed by you on incometax.gov.in (or by an authorized ERI/CA). The agent takes you to that button with every number verified; you press it.

Related MCP server: mcp-india-stack

The agent

file_my_itr (MCP prompt) runs the guided interview:

  1. list_tax_years -> status: worked out from today's date in India, so the agent knows whether the return is on time or belated (and the s.234F fee) before anything else

  2. Residency, age band -- one question at a time

  3. Income heads: salary, house property (per house, passed as houses), capital gains, business/F&O (presumptive schemes via compute_presumptive_income and presumptiveBusiness), other sources

  4. Disqualifier sweep: foreign RSUs/ESPP, director role, unlisted shares, ESOP deferral

  5. Losses, current and brought-forward (they change the form): compute_loss_setoff applies them in statutory order and hands forComputeTax to the tax tools

  6. recommend_itr_form -> the form, with rule-by-rule reasoning

  7. compare_regimes -> the regime, with real numbers and the breakeven deductions that would flip it

  8. parse_ais / parse_form26as / reconcile_documents -> fix mismatches BEFORE filing

  9. tax_summary -> what you owe: tax less TDS/TCS from the 26AS file and your dated advance and self-assessment payments, with s.234A/B/C interest and the s.234F fee (schedule_advance_tax for the current year's instalments)

  10. filing_checklist -> schedule-by-schedule portal walkthrough, ending at e-verification

Tools (v0.7)

Tool

What it does

recommend_itr_form

ITR-1/2/3/4 selection with rule-by-rule reasoning and loss-continuity awareness: brought-forward business losses force ITR-3 even with zero current-year business income (Schedule CFL). Knows the AY 2026-27 two-house-property allowance, the s.194N bar, the 44AD/44ADA turnover ceilings (when you pass the turnover) and the 44AE ten-vehicle limit (when you pass the count). Returns each deadline with its statutory citation

filing_checklist

Ordered, form-specific walkthrough: documents, reconciliation, computation, portal steps schedule by schedule, e-verification

compute_tax

Full computation for FY 2025-26 (AY 2026-27, the default) or tax year 2026-27 (fy), taking houses and presumptiveBusiness and adding those heads itself: new/old regime slabs (incl. the senior and super-senior slab sets), standard deduction, employer NPS under 80CCD(2) in both regimes, house-property loss by property type (self-occupied interest capped at Rs 2L under s.24(b) and not deductible under 115BAC; set-off capped at Rs 2L by s.71(3A); none under 115BAC), 87A rebate (new regime: Rs 60,000 where TOTAL income is up to Rs 12L with marginal relief, never offsetting 111A/112A tax; old regime: Rs 12,500 on total income up to Rs 5L, no marginal relief, offsets 111A), 111A (20%) / 112A (12.5% above 1.25L) capital gains with the unexhausted-basic-exemption set-off, surcharge with the 15% gains cap and its own marginal relief, 4% cess, s.288A/288B rounding

compare_regimes

Old vs new side by side, recommended regime, savings amount, and breakeven: the smallest old-regime deductions at which the old regime costs no more than the new one, and how much more that is than what you passed. Takes the same houses and presumptiveBusiness

schedule_advance_tax

Jun/Sep/Dec/Mar installment plan (15/45/75/100%) with shortfall tracking

compute_interest_234

Sections 234A/234B/234C interest with the statutory 12%/36% safe harbors, the s.234B(2) self-assessment payment ladder, and Rule 119A rounding (principal floored to Rs 100, part month = full month). Takes the filing date, the form and payment dates and counts the months itself; month counts are still accepted. Reports which sections it skipped and why

compute_hra

HRA exemption per Rule 2A, period-wise (least of three limbs) + the 80GG alternative, with its Rs 5,000-per-month cap and the bars under the new regime and alongside HRA. Takes each period's city and checks it against the year's metro list (FY 2025-26: Delhi, Mumbai, Kolkata, Chennai)

compute_house_property

Income from house property per house: annual value, 30% standard deduction (s.24(a)), interest with the self-occupied cap shared across houses (Rs 2L; Rs 30,000 for an older loan; nil under the new regime), pre-construction interest in five instalments, and houses past the two-house self-occupied limit treated as let out. compute_tax takes the same houses and does this itself; use this tool to show the working

compute_presumptive_income

s.44AD (8%, or 6% of digital receipts), s.44ADA (50%) and s.44AE (per goods carriage per month, up to 10 vehicles): eligibility against the turnover and cash-share ceilings, the deemed profit with its working, and the income to report (the higher of deemed and declared)

compute_loss_setoff

Current-year and brought-forward losses applied in statutory order (s.70 within a head, s.71 across heads with the Rs 2L house-property cap and no business loss against salary, then s.71B/72/73/74 oldest first): each step with its section, income by head after set-off, what carries forward and until which year, what expired, what s.80 forfeits on a late return, and Schedule CYLA/BFLA/CFL rows (#4). Its forComputeTax goes into compute_tax or tax_summary unchanged

tax_summary

What you owe in one call: tax, less TDS and TCS read from the 26AS file (creditable rows only; it refuses a 26AS for another assessment year), advance and self-assessment tax by date, s.234A/B/C interest with every month counted from the dates, the s.234F fee, and a net rounded under s.288B (negative is a refund)

list_deductions

Old-regime deduction checklist with statutory caps (80C, 80CCD(1B), 80D tiers, HRA metros)

parse_form26as

Parse the caret-delimited Form 26AS Text export from TRACES into structured TDS entries with booking status (only F is creditable; the tool reports creditableTdsDeposited beside the raw total), and TCS rows separated into tcsEntries

parse_ais

Decrypt + parse the AIS JSON export on-device (AES-256-CBC/PBKDF2 with the password derived from PAN + DOB); normalized rows with label-matched amounts/dates/codes, plus totals summed in code: every section/element/code group, and salary per employer TAN from section 192 TDS rows

reconcile_documents

Form 16 vs AIS vs 26AS mismatch report -- the checks that pre-empt 143(1)(a) intimations and 139(9) defect notices (TDS over-claim against the creditable 26AS total, non-final booking status, missing employer, undeclared AIS interest/dividend). Reads the 26AS and AIS files itself (form26asPath, aisFile with the AIS groups you count as interest or dividend), so no row or total is copied through the model

list_tax_years

Supported fiscal years + AY 2026-27 filing deadlines with their statutory citations. status is worked out from today's date in India (pass asOf to plan ahead): the phase per ITR form group (on time, belated with the s.234F fee, or updated return only), days left, the revised-return window with the s.234-I fee, and the next advance tax instalment. statutes gives each year's Act and, for tax year 2026-27, the map from the 1961 section numbers the notes cite to the Income-tax Act 2025

That is 16 tools and the file_my_itr prompt. All tools are read-only (readOnlyHint: true), take zod-validated inputs, and return structuredContent alongside the human-readable text.

Install

npx -y itr-agent installs the current release from npm. Releases are published by publish.yml through npm trusted publishing, each with a signed provenance attestation; the first was 0.6.0 on 2026-11-13. Before that npm served 0.3.0 from July 2026, so if npx ever gives you 0.3.0 from a cache, ask for itr-agent@latest.

Claude Code

claude mcp add itr-agent -- npx -y itr-agent

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "itr-agent": {
      "command": "npx",
      "args": ["-y", "itr-agent"]
    }
  }
}

Claude Desktop, one click

From the v0.5.3 release on, every GitHub release carries itr-agent-<version>.mcpb and its .sha256. The bundle inlines the server and its dependencies into one file, so there is no npm or npx step: double-click it, or use Settings > Extensions > Install Extension in Claude Desktop. It needs Node 22 or later, like the npm package. pnpm bundle builds the same file locally into build/.

From source

git clone https://github.com/Sagargupta16/itr-agent
cd itr-agent
pnpm install
pnpm build
node dist/index.js   # stdio server

Migrating from itr-mcp

Same server, new name. Replace itr-mcp with itr-agent in your MCP config; the itr-mcp npm package is deprecated and frozen at v0.2.0.

Example prompts

  • "Help me file my ITR." (starts the guided interview)

  • "I'm salaried with US RSUs and 2L of equity LTCG -- which ITR form am I supposed to file?"

  • "My CTC is 18L with 50K NPS through my employer -- which regime should I pick for FY 2025-26?"

  • "My estimated tax is 2.4L and TDS covers 1.8L. Plan my advance tax installments."

  • "Parse C:/tax/26AS.txt and total the TDS my employer deposited."

  • "Here is my 26AS and my advance tax challans. What do I owe, interest and fee included?" (tax_summary)

  • "I have a 12L business loss from last year and 3L of STCG this year. What carries forward?" (compute_loss_setoff)

  • "Is it too late to file for FY 2025-26, and what will it cost me?" (list_tax_years status)

Filing after the due date

The s.139(1) due date for FY 2025-26 is in deadlines (list_tax_years prints them, with the statutory basis for each in deadlineCitations, and its status says from today's date which phase each form group is in). Once it has passed, the return is belated under s.139(4) and four things change. file_my_itr asks about timing before anything else, because two of them are cheaper to know up front.

The pack's deadlines.itr1_2 is 2026-07-31 (s.139(1) Explanation 2(c)). deadlines.itr3_4_nonAudit is 2026-08-31: Finance Act 2026 moved non-audit assessees with business or professional income to 31 August from AY 2026-27, and CBDT granted no further extension (checked 2026-09-10). Audit cases are later again (deadlines.audit, 31 October), and no tool ever selects it because nothing here takes a 44AB input, so recommend_itr_form and filing_checklist both report the non-audit date and both say so in notes.

  • You can still file, up to deadlines.belated (2026-12-31 for AY 2026-27) or before the assessment is completed, whichever is earlier.

  • s.234F fee: Rs 5,000, or Rs 1,000 where total income does not exceed Rs 5 lakh. Both figures come from the rule pack (lateFee234F) and are returned by recommend_itr_form and filing_checklist.

  • s.234A interest: 1% per month, or part of a month, on the tax still outstanding after TDS/TCS, advance tax and reliefs, running from the day after the due date to the date of filing. tax_summary charges it, with s.234B and s.234C, from the dates; compute_interest_234 with filingDate and the form shows one section on its own. Both count the months themselves (part month = full month, Rule 119A).

  • s.80 forfeits this year's loss carry-forward. Business, speculative and capital losses of the current year cannot be carried forward in a belated return. Set-off of losses already determined in an earlier year survives, and so does the house-property loss carry-forward (s.71B). recommend_itr_form says this in notes whenever a business, speculative or capital loss flag is set, so its ITR-3 recommendation is not read as an unconditional carry-forward. A house-property-only loss does not trigger it, because s.71B carries that one forward either way.

Revising a filed return. Finance Act 2026 substituted s.139(5): a revised return may now be filed any time before the end of the AY (deadlines.revised, 2027-03-31), no longer three months before it. A revision filed after deadlines.revisedWithoutFee234I (2026-12-31) attracts the new s.234-I fee: the pack's fee234I carries it (Rs 1,000 where total income is up to Rs 5 lakh, else Rs 5,000; Finance Act 2026 s.16, from 1 March 2026), and list_tax_years status quotes it once the date has passed.

Not modeled, deliberately: whether a belated business filer keeps the old-regime election (s.115BAC(6) / Form 10-IEA is due on or before the s.139(1) date). Ask a CA before relying on either answer.

Validation

docs/validation.md runs 24 cases (66 figures) through the built server and puts each next to its source. Nine come from the Finance Minister's own table in the Budget Speech 2025-26 (Annexure to Part-B, printed page 47): slab tax, rebate and tax after rebate from 8 to 50 lakh. The other fifteen are worked by hand from the statute, with the arithmetic in the table: the 87A marginal relief and its crossover, gains that cost the rebate, the old-regime age bands, the 10% surcharge with its own marginal relief, a self-occupied house, 44ADA and 44AE, and a tax year 2026-27 case under the Income-tax Act 2025. All 66 match, and the 58 figures from before 0.7.0 are among them. CI runs pnpm validate on every leg and fails if a figure stops matching or the committed table goes stale.

It is not a comparison with the e-Filing portal's own calculator, which refuses automated browsers. A case from a CA-prepared computation is the most useful pull request this repo can get.

Scope and limitations

Honest boundaries, so you know before you rely on it. docs/v0.2-spec.md carries the statutory citations behind each rule, the per-section implementation status, and the register of claims that were researched and refuted.

  • Resident individuals, FY 2025-26 (AY 2026-27, the default) and tax year 2026-27. The 2026-27 pack takes the 2025-26 figures except the HRA metros, the due dates and the form names. The ITR-1/ITR-4 income cap, the Schedule AL threshold, the agricultural income cap, the HRA rent-receipt waiver, the reconcile tolerances and the 26AS section map are carried from 2025-26 until the tax year 2026-27 return forms are notified; the last entry in the pack's sources says so. Its notes cite 1961 Act section numbers, and the map to the Income-tax Act 2025 is in list_tax_years. NRI/RNOR computation differs (the form recommendation accounts for residency, the tax engine assumes resident).

  • No filing. There is no public API to submit an ITR; only you or an authorized ERI can file. The agent prepares and verifies everything, then hands over.

  • You supply the income figures. compute_tax computes tax on the heads you give it: salary, other income, 111A STCG, 112A LTCG, house property (per house as houses, which it works out itself, or as a single loss figure with housePropertyType saying whether the house is self-occupied or let out), presumptive business income (presumptiveBusiness: 44AD, 44ADA, 44AE), employer NPS under 80CCD(2), and old-regime deductions as a single total. It does not compute other capital-gains heads (112 debt/property, 115BBH crypto, slab-rate debt MF under 50AA) or a business P&L outside the presumptive schemes -- work those out separately, or with list_deductions for the Chapter VI-A caps, and pass the totals in.

  • s.87A under the new regime tests total income. The statute's first proviso says "total income" and this engine follows it, so 12 lakh of salary plus any equity gains loses the Rs 60,000 rebate. Some practitioners read the threshold as slab-rate income only; compute_tax says which reading it applied whenever gains are present, and the rule pack can encode the other one (thresholdBasis: "normalIncome").

  • Not yet modeled: a business P&L outside the presumptive schemes, crypto/VDA (115BBH), non-equity capital gains, Schedule FA valuation (#5), Form 16 PDF parsing (reconcile_documents takes Form 16 figures as input, it does not read the PDF), broker capital-gains statements (#7).

  • Dividend is ordinary income for surcharge purposes. There is no dividend input: it goes in otherIncome. The First Schedule keeps dividend out of the 25%/37% surcharge bands and caps its surcharge at 15%, and compute_tax does neither for dividend (it does both for 111A/112A gains). Only bites above Rs 2 crore of total income; below that every band rate is already at or under 15%.

  • Transaction-date rules not yet split. The engine applies each year's rates uniformly; the 23-Jul-2024 capital-gains rate flip and the 1-Oct-2024 buyback change matter for FY 2024-25 returns, which this pack does not cover.

  • The encrypted AIS file is not a safe place to store your data. Its password is your PAN plus your date of birth, stretched with only 1,000 PBKDF2-SHA256 iterations. Once someone knows your PAN, every plausible DOB can be tried in about 4 seconds single-threaded (measured on a laptop: 0.11 ms per key derivation over a ~36,600-date space). That is the portal's scheme, not this tool's choice, and nothing here can strengthen it -- treat a downloaded AIS export as effectively unencrypted and delete it when you are done.

  • parse_ais decryption is unproven on a live export. The AIS password scheme is reverse-engineered from open-source utilities and verified against this repo's synthetic round-trip, never against a file the portal actually produced. If it fails, the error tells you to pass password explicitly or use the portal's CSV export, and an issue report with your download date helps fix it. Every other tool is unaffected.

  • Not tax advice. Complex cases belong with a CA. Every output says so.

Architecture

One stdio process, three layers, no network. The prompt sequences the interview, the MCP layer (@modelcontextprotocol/server 2.4.0, with zod) validates every input, and pure functions over a versioned JSON rule pack produce every number. The runtime dependency tree is that server, its core package and zod.

The spec behind the picture is docs/diagrams/architecture.yaml, rendered with orrery; every node names the source file it stands for.

Decision

Why

stdio only, no HTTP transport

The documents carry PAN, salary and TDS data. No port means nothing to expose; CONTRIBUTING declines network transports outright

Rule pack in JSON, not code

Tax law changes every Finance Act. A new FY is a new data/fyYYYY-YY.json plus golden tests; validatePack() refuses a pack missing any section the engine reads, so a missing rate fails loudly instead of falling back to a hardcoded one

The LLM never computes

A figure a model produced cannot be audited or reproduced. The model asks questions and calls tools; every rupee figure is a deterministic function output, returned with disclaimers and the fiscal year it applied

structuredContent beside text

Downstream tools (reconcile_documents) consume the parsed 26AS/AIS directly, while the text mirror masks PAN for the chat transcript

CI asserts computed figures

On Ubuntu and Windows across Node 22/24/26, the smoke test boots dist/index.js, sends JSON-RPC, and checks 12.75L salary = Rs 0 and 15L other income = Rs 1,09,200. A separate job installs the packed npm tarball and repeats the 1,09,200 check as a user would run it. pnpm validate replays all 66 validation figures on every leg, and a third job unpacks the .mcpb bundle where no node_modules can reach it and repeats the check again

Design principles

  • Local-only. stdio transport, no network calls, no telemetry, no accounts. Your documents are read from disk by this process and never uploaded anywhere. AIS decryption happens entirely on-device with Node's crypto -- the reverse-engineered password scheme has un-peppered fallbacks and an explicit password override in case the format rotates.

  • What your MCP client still sees. Parsed output is returned to whatever client you connected, so if that client is a hosted LLM, the parsed contents reach that provider like any other message. PAN is masked in the human-readable text mirror, but the structuredContent payload carries the full parsed document (PAN, TANs, deductor names, amounts) because downstream tools need it. Local-only describes this server, not your whole stack -- for maximum privacy, run it against a local model.

  • The LLM never does math. Every rupee is computed by pure functions over data/fy2025-26.json, and so is every sum and month count a tool needs: reconcile reads the documents itself and the interest tool counts months from dates. 280 tests pin the engine to published worked examples and to statute: the 12L zero-tax case, the 12,10,000 marginal-relief case, the 12,70,588 relief exhaustion point on both sides, the 13,25,000 total-income case that loses the rebate, the surcharge bands with the First Schedule exclusion of capital-gains income, all three old-regime age bands, and the 234A/234B/234C/HRA/80GG golden cases, plus the house-property, presumptive, loss set-off and tax summary cases.

  • The agent drives, the engine decides. The interview sequencing is a prompt; every number and every form rule is deterministic code. Nothing is estimated.

  • Year-parameterized. Rules live in per-FY JSON packs. Tax year 2026-27 (Income-tax Act 2025 and Income-tax Rules 2026: Form 16 becomes Form No. 130 under Rule 215, the HRA metros become eight under Rule 279; Finance Act 2026: buyback reverts to capital gains) landed in 0.7.0 as data/fy2026-27.json, a new pack and not code changes. Rule 164(14) of the 2026 Rules keeps FY 2025-26 returns on that year's forms, so the default year is still 2025-26. A pack from before 1.6.0 no longer loads.

  • Not tax advice. Every tool that computes a rupee figure returns a disclaimers array and the fiscal year it applied; compute_tax, compute_hra and list_tax_years also return the exact rulePackVersion. Verify against the official utility before filing.

Roadmap

  • v0.1 -- tax engine (both regimes + CG + surcharge + cess), regime comparison, advance tax, deduction checklist, 26AS text parser

  • v0.2 -- parse_ais (encrypted AIS JSON, on-device decrypt), reconcile_documents (the #1-notice-trigger checks), 234B/234C interest with golden-case tests, HRA + 80GG calculators, old-regime 87A semantics fix

  • v0.3 -- renamed to itr-agent; recommend_itr_form with loss-continuity awareness (#3), filing_checklist, the file_my_itr guided interview prompt

  • v0.4 -- engine correctness pass (senior/super-senior slab sets, surcharge marginal relief on tax + surcharge, the s.111A/112A basic-exemption set-off, s.288A/288B rounding), positional 26AS amount extraction, s.234A + the s.234B(2) payment ladder, reconcile M4/M5, belated-filing guidance, security pins on the SDK's transitives, an OIDC-with-provenance publish workflow (it first reached npm with 0.6.0 on 2026-11-13, once the npmjs.com trusted publisher was set up), and an MCP registry manifest (server.json)

  • v0.5 -- fact-check of every constant against primary sources; s.87A on total income; AY 2026-27 form changes (two house properties, Schedule AL at 1 crore, Finance Act 2026 deadlines with citations); employer NPS and house-property loss inputs; 44AD/44ADA ceilings and s.194N in the form picker; 26AS booking status, TCS separation and reconcile M2; path allow-list on the parsers

  • v0.5.2 -- a validation table against the Budget Speech 2025-26 figures and hand-worked statute cases, enforced in CI; the .mcpb one-click Claude Desktop bundle, attached to each release from v0.5.3 on; a README demo rendered from a real stdio session

  • v0.5.3 -- architecture and filing-flow diagrams rendered from docs/diagrams/ with orrery (light and dark, reviewed at README width) in place of the mermaid sketch; the Income-tax Rules 2026 citations (Rules 164, 205, 215, 245, 269, 279) recorded for the FY 2026-27 pack; the README says what npm serves today

  • v0.6 -- the model stops doing glue arithmetic: reconcile_documents reads the 26AS and AIS files, parse_ais sums its groups in code, compute_interest_234 counts months from dates; self-occupied house-property interest follows s.24(b) and s.115BAC; compute_hra takes the city; every FY figure in tool text comes from the rule pack (1.5.0)

  • v0.7 -- compute_loss_setoff (BFLA/CFL engine, #4), compute_house_property, compute_presumptive_income, tax_summary (what you owe, from the 26AS file and dated payments), list_tax_years status from today's date, compare_regimes breakeven, the tax year 2026-27 rule pack (1.6.0), and the move to the 2.x MCP SDK

  • v0.8 (priorities validated against a real AY 2026-27 filing) -- parse_form16 (TRACES PDF), broker capital-gains parsers -- Groww first, then Zerodha (#7), compute_schedule_fa (foreign assets/RSU, Rule 115 rates, #5), portal quirks playbook (#6), mutual fund CAS via casparser, draft ITR JSON export

Development

pnpm install
pnpm test          # vitest: engine golden files + in-memory MCP client tests
pnpm build
pnpm inspect       # MCP inspector against dist/index.js
pnpm validate      # docs/validation.md cases against the built server; --write regenerates it
pnpm bundle        # build/itr-agent-<version>.mcpb, the Claude Desktop bundle
node scripts/demo.mjs   # the README demo session

Contributing

Tax software has a higher correctness bar than most OSS, so the ground rules are written down: CONTRIBUTING.md (tax constants live in data/*.json with a cited source, every calculator change ships a golden test, never commit a real tax document). Version history and every constant that moved: CHANGELOG.md. Found a vulnerability? SECURITY.md has the private reporting path -- please do not open a public issue for it.

Disclaimer

itr-agent is an open-source calculator, document parser, and filing guide. It is not a substitute for professional tax advice, and it never files anything -- output is meant to be verified against the official income tax utility, and the return is always submitted by you on the portal.

License

MIT

Available Tools

16 tools
compare_regimesCompare old vs new tax regimeA
Read-only

Compute tax under BOTH regimes for the same income and return a side-by-side comparison with the recommended regime and the savings amount. Pass the old-regime deductions you could actually claim; the new regime ignores them. breakeven says, from code, the smallest old-regime deductions at which the old regime costs no more than the new one and how much more that is than what was passed (null when no amount gets there). Quote it rather than estimating.

Inputs: fy, houses, ageBand, ltcg112A, +9 more.

compute_house_propertyCompute income from house propertyA
Read-only

Work out the head "Income from house property" per house from rent, municipal tax and home-loan interest: annual value, the 30% standard deduction (s.24(a)), interest with the self-occupied cap of Rs 2,00,000 shared across self-occupied houses (Rs 30,000 for an older loan; nil under the new regime), pre-construction interest in 5 instalments, and houses past the 2-house self-occupied limit deemed let out (FY 2025-26 figures). compute_tax and compare_regimes take the same houses input and fold the result in themselves; use this tool to show the working.

Inputs: houses (required), regime (required), fy.

compute_hraCompute HRA exemption (+80GG)A
Read-only

HRA exemption per Rule 2A: least of (actual HRA, rent minus 10% of salary, 50% metro / 40% non-metro of salary), computed period-wise. Salary = basic + retirement-forming DA + fixed-percentage turnover commission. Old regime only. Give each period's city: the tool checks it against the fy's rule-pack metro list (FY 2025-26: Delhi, Mumbai, Kolkata, Chennai). Also computes the 80GG alternative for rent payers who received no HRA at any time in the year (the two are mutually exclusive).

Inputs: fy, regime, periods, eightyGG.

compute_interest_234Compute 234A/234B/234C interestA
Read-only

Deterministic sections 234A, 234B and 234C interest (FY 2025-26 rates). 234A: 1%/month for filing after the due date, on tax outstanding after all prepaid tax. 234B: 1%/month on assessed-minus-advance when advance < 90% (from 1 April of the AY), reduced by self-assessment payments under s.140A. 234C: per-installment shortfalls with the statutory 12%/36% safe harbors for June/September, measured on tax due on RETURNED income. Rule 119A rounding applied (principal floored to Rs 100, part month = full month). Pass dates (filingDate with form, paidOrAssessedDate, payment dates) and the tool counts the months; month counts are still accepted. Each section is computed only when its own inputs are supplied; anything skipped is named in skipped.

Inputs: assessedTax (required), fy, form, dueDate, +11 more.

compute_loss_setoffSet off and carry forward lossesA
Read-only

Apply current-year and brought-forward losses in statutory order (s.70 within a head, s.71 across heads with the Rs 2,00,000 house-property cap and no business loss against salary, then ss.71B/72/73/74 oldest first) and report each step with its section, income by head after set-off, what is carried forward with the last year it can be used (house property 8, business 8, speculative 4, capital 8 years), what expired, what s.80 forfeits on a late return, and Schedule CYLA/BFLA/CFL rows. forComputeTax goes into compute_tax or tax_summary field for field, with nothing added (do not also pass houses there).

Inputs: regime (required), filedByDueDate (required), fy, business, +7 more.

compute_presumptive_incomeCompute presumptive business incomeA
Read-only

Deemed profit under the presumptive schemes (FY 2025-26 figures): 44AD at 8% of turnover (6% of digital receipts) up to Rs 2,00,00,000, or Rs 3,00,00,000 where cash is at most 5%; 44ADA at 50% of professional receipts up to Rs 50,00,000 / Rs 75,00,000; 44AE per goods carriage per month for up to 10 vehicles. Reports eligibility, the deemed figure with its working, and the income to report (the higher of deemed and declared). compute_tax takes the same presumptiveBusiness input and adds the income itself.

Inputs: scheme (required), fy, carriages, grossReceipts, +5 more.

compute_taxCompute Indian income taxB
Read-only

Deterministic Indian income tax computation for a fiscal year. Handles new/old regime slabs, standard deduction, 87A rebate with marginal relief (threshold tested on TOTAL income per the statute; rebate never offsets 111A/112A tax under the new regime), employer NPS under 80CCD(2) in both regimes, house-property loss (self-occupied interest capped by s.24(b), not deductible under 115BAC; set-off capped by s.71(3A); none under 115BAC), 111A/112A capital gains rates with the basic-exemption set-off, surcharge (with the 15% cap on gains and marginal relief), and 4% cess (FY 2025-26 figures). All arithmetic is done in code from a versioned rule pack -- never estimated.

Inputs: regime (required), fy, houses, ageBand, +10 more.

filing_checklistStep-by-step ITR filing checklistA
Read-only

Ordered, form-specific walkthrough for filing ITR-1/2/3/4 on incometax.gov.in: documents to gather, reconciliation, tax computation, portal steps schedule by schedule, and e-verification. Guidance only -- the taxpayer performs the final submit on the portal themselves.

Inputs: form (required), fy.

list_deductionsList old-regime deductionsA
Read-only

Return the old-regime deduction checklist with statutory caps for a fiscal year (80C, 80CCD(1B), 80D tiers, 80TTA/TTB, 24(b), HRA metro list). Useful for estimating the deductions input to compute_tax/compare_regimes.

Inputs: fy.

list_tax_yearsList supported fiscal yearsA
Read-only

List the fiscal years this server has rule packs for, with filing deadlines for the current assessment year and status: computed from today's date in India, which deadlines have passed, the days left, the phase per ITR form (on time, belated with the s.234F fee, or updated return only), the revised-return window, and the next advance tax instalment of the current financial year. Quote status instead of comparing dates yourself. statutes gives each year's Act and, for tax year 2026-27 under the Income-tax Act 2025, the map from the 1961 section numbers the notes cite.

Inputs: asOf.

parse_aisParse AIS (Annual Information Statement)A
Read-only

Decrypt and parse the AIS JSON export from the income tax portal, entirely on-device. Provide pan + dob (DDMMYYYY) to derive the password, or pass it explicitly. Returns taxpayer info, normalized information rows (TDS entries, SFT transactions) with amounts, dates, and codes extracted by column label, and totals summed in code: every section/element/code group with its row count and amount (each group's key is what reconcile_documents takes as interestGroups/dividendGroups), and salary per employer TAN from section 192 TDS rows. Never add up rows yourself. The decryption scheme is reverse-engineered from the AIS utility; if it fails, use the portal's CSV export as a fallback and file an issue.

Inputs: path (required), dob, pan, password.

parse_form26asParse Form 26AS (text export)A
Read-only

Parse the caret-delimited Form 26AS TEXT export from TRACES into structured TDS entries (deductor, TAN, section, amounts, booking status) with totals, plus TCS rows (206C*) separated into tcsEntries. Reports creditableTdsDeposited (status F rows only) alongside the raw total. Download the 'Text' format from TRACES (the archive opens with your DOB as DDMMYYYY); PDF exports are not supported.

Inputs: path (required).

recommend_itr_formRecommend the ITR formA
Read-only

Recommend ITR-1/2/3/4 for an individual from income heads, residency, losses, and disqualifier flags, with rule-by-rule reasoning. Loss-continuity aware: brought-forward business/speculative losses force ITR-3 even with zero current-year business income (Schedule CFL). Checks the 44AD/44ADA turnover ceilings when presumptiveTurnover is supplied, the 44AE vehicle limit when vehicles44AE is supplied, and the ITR-1/ITR-4 house-property limit (2 for AY 2026-27). Returns the filing deadline with its statutory citation, the belated and revised deadlines, and the 234F late fee.

Inputs: totalIncome (required), fy, tds194N, ltcg112A, +22 more.

reconcile_documentsReconcile Form 16 vs AIS vs 26ASA
Read-only

Cross-document mismatch report -- the checks that pre-empt 143(1)(a) intimations and 139(9) defect notices: TDS claimed vs 26AS deposited (the ledger of record), missing-employer detection, AIS interest/dividend vs declared, Form 16 vs 26AS per-TAN totals, declared salary below the Form 16 total, and 26AS rows missing the gross amount. Also groups 26AS TDS by income head so each credit can be placed in the right schedule. Prefer the file inputs: form26asPath reads the 26AS export itself, and aisFile decrypts the AIS and sums the groups you name, so no row or total is copied by hand. Pass whichever documents you have; checks needing missing inputs are reported as skipped.

Inputs: fy, ais, form16, return, +3 more.

schedule_advance_taxPlan advance tax installmentsA
Read-only

Build the advance tax installment plan (06-15 at 15%, 09-15 at 45%, 12-15 at 75%, 03-15 at 100% cumulative, MM-DD, FY 2025-26) for an estimated tax liability net of TDS. Reports per-installment amounts and shortfalls against what has been paid so far.

Inputs: estimatedTax (required), fy, paidSoFar, tdsExpected.

tax_summaryWhat do I owe: tax, interest and fee in one callA
Read-only

One computation of what is payable or refundable for the year: tax (compute_tax, with houses and presumptiveBusiness folded in), less TDS and TCS read from the Form 26AS file itself (creditable status F rows), advance tax and self-assessment tax, plus s.234A, s.234B and s.234C interest with every month count taken from the dates, and the s.234F fee (Rs 5,000, Rs 1,000 up to Rs 5,00,000 of income) when filed after the due date. The due date comes from the rule pack by form; the filing date defaults to today in India. Net is rounded under s.288B; negative is a refund. Use this instead of subtracting TDS or counting months yourself.

Inputs: regime (required), fy, form, houses, +19 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 16 tools

    Disambiguation4/5

    Tools are largely distinct by resource and action: parsing, computation, reconciliation, recommendation, and checklist are clearly separated. Some overlap exists among compute_tax, tax_summary, and compare_regimes, and the component calculators are also folded into compute_tax, but descriptions explicitly state when to use each.

    Naming Consistency4/5

    All names use snake_case, and most follow a verb_noun pattern such as compute_tax, parse_form26as, and reconcile_documents. Two tools are noun phrases (tax_summary, filing_checklist), a minor deviation from the otherwise consistent convention.

    Tool Count4/5

    16 tools is slightly above the ideal 3-15 range but appropriate for a comprehensive tax workflow spanning parsing, computation, reconciliation, and filing guidance. Each tool appears to earn its place, with no obviously redundant entries.

    Completeness4/5

    The surface covers the core lifecycle: document parsing, tax computation, regime comparison, interest, HRA, house property, presumptive income, loss set-off, reconciliation, ITR recommendation, filing checklist, and year listing. Minor gaps remain, such as no dedicated Form 16 parser or standalone capital-gains computation, but agents can work around these via compute_tax and reconcile_documents.

    Maintenance

    ActivityActive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Python MCP server that calculates French income tax using the official DGFiP source code compiled locally. It enables accurate tax simulations for 2023 income based on real French tax forms without network calls.
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      An offline-first MCP server for Indian financial, tax, and government APIs, providing tools for identity validation (PAN, Aadhaar, GSTIN), tax calculations (Income Tax, TDS, GST), and master data lookups (IFSC, Pincode, HSN/SAC) with zero authentication required.
      76
      92 PyPI
      88
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A sovereign, MIT-licensed MCP server for US tax operations, enabling offline-capable and self-hostable tax workflow management.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Turns any MCP host into a finance & tax copilot for Indian taxpayers, using live keyless data and deterministic advisory.
      16
      MIT