itr-mcp
A local-first (stdio, no network) MCP server that guides you through Indian income tax filing — Claude interviews you, picks your ITR form, and computes every rupee deterministically from a versioned rule pack, while you press submit on the portal yourself.
Guided interview — the
file_my_itrprompt walks you question-by-question from residency through income heads, disqualifiers, losses, form choice, regime, reconciliation, and a schedule-by-schedule portal checklist ending at e-verification.Tax computation —
compute_taxapplies new/old regime slabs, standard deduction, 87A rebate with marginal relief, 80CCD(2) NPS, 111A/112A capital gains with basic-exemption set-off, surcharge with marginal relief, and 4% cess (FY 2025-26 default, tax year 2026-27 pack available).Regime comparison —
compare_regimesreturns old vs new side by side, the recommended regime, savings, and thebreakevendeduction level that would flip it.Form selection —
recommend_itr_formpicks ITR-1/2/3/4 with rule-by-rule reasoning (foreign assets, director, unlisted shares, loss continuity, 44AD/44ADA/44AE ceilings, s.194N) and returns deadlines with statutory citations plus the 234F fee.Head-specific calculators —
compute_house_property(per house, s.24 caps, pre-construction interest),compute_presumptive_income(44AD/44ADA/44AE),compute_hra(Rule 2A period-wise + 80GG),compute_loss_setoff(statutory order, carry-forward years, CYLA/BFLA/CFL rows).Advance tax & interest —
schedule_advance_tax(15/45/75/100% instalments) andcompute_interest_234(234A/B/C with safe harbors, s.234B(2) ladder, Rule 119A month counting from dates).Document parsing & reconciliation —
parse_form26as(TRACES text export, creditable status F, TCS split),parse_ais(on-device AES decryption, code-summed totals), andreconcile_documents(Form 16 vs AIS vs 26AS mismatch checks that pre-empt 143(1)(a)/139(9) notices).One-call payoff —
tax_summaryreturns what you owe or the refund: tax less TDS/TCS from the 26AS file and dated payments, plus 234A/B/C interest and the 234F fee, net rounded under s.288B.Filing status —
list_tax_yearsreports deadlines andstatuscomputed from today's date in India (on time, belated, or updated return only), days left, revised-return window, and the next instalment.Reference data —
list_deductionsgives old-regime caps and metro lists; all 16 tools are read-only, zod-validated, returnstructuredContentplus text with PAN masked, and never file anything or give tax advice.
Provides tools for parsing Zerodha tax P&L statements to aggregate capital gains (planned for v0.3).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@itr-mcp Compare old and new regime for a salary of 12 lakhs."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
itr-agent
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:
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 elseResidency, age band -- one question at a time
Income heads: salary, house property (per house, passed as
houses), capital gains, business/F&O (presumptive schemes viacompute_presumptive_incomeandpresumptiveBusiness), other sourcesDisqualifier sweep: foreign RSUs/ESPP, director role, unlisted shares, ESOP deferral
Losses, current and brought-forward (they change the form):
compute_loss_setoffapplies them in statutory order and handsforComputeTaxto the tax toolsrecommend_itr_form-> the form, with rule-by-rule reasoningcompare_regimes-> the regime, with real numbers and thebreakevendeductions that would flip itparse_ais/parse_form26as/reconcile_documents-> fix mismatches BEFORE filingtax_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_taxfor the current year's instalments)filing_checklist-> schedule-by-schedule portal walkthrough, ending at e-verification
Tools (v0.7)
Tool | What it does |
| 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 |
| Ordered, form-specific walkthrough: documents, reconciliation, computation, portal steps schedule by schedule, e-verification |
| Full computation for FY 2025-26 (AY 2026-27, the default) or tax year 2026-27 ( |
| Old vs new side by side, recommended regime, savings amount, and |
| Jun/Sep/Dec/Mar installment plan (15/45/75/100%) with shortfall tracking |
| 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 |
| 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) |
| 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. |
| 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) |
| 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 |
| 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) |
| Old-regime deduction checklist with statutory caps (80C, 80CCD(1B), 80D tiers, HRA metros) |
| Parse the caret-delimited Form 26AS Text export from TRACES into structured TDS entries with booking status (only F is creditable; the tool reports |
| 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 |
| 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 ( |
| Supported fiscal years + AY 2026-27 filing deadlines with their statutory citations. |
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-agentClaude 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 serverMigrating 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.txtand 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_yearsstatus)
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 byrecommend_itr_formandfiling_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_summarycharges it, with s.234B and s.234C, from the dates;compute_interest_234withfilingDateand theformshows 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_formsays this innoteswhenever 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
sourcessays so. Its notes cite 1961 Act section numbers, and the map to the Income-tax Act 2025 is inlist_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_taxcomputes tax on the heads you give it: salary, other income, 111A STCG, 112A LTCG, house property (per house ashouses, which it works out itself, or as a single loss figure withhousePropertyTypesaying 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 withlist_deductionsfor 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_taxsays 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_documentstakes 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%, andcompute_taxdoes 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_aisdecryption 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 passpasswordexplicitly 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 |
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 |
| Downstream tools ( |
CI asserts computed figures | On Ubuntu and Windows across Node 22/24/26, the smoke test boots |
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
passwordoverride 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
structuredContentpayload 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
disclaimersarray and the fiscal year it applied;compute_tax,compute_hraandlist_tax_yearsalso return the exactrulePackVersion. 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 fixv0.3 -- renamed to itr-agent;
recommend_itr_formwith loss-continuity awareness (#3),filing_checklist, thefile_my_itrguided interview promptv0.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
.mcpbone-click Claude Desktop bundle, attached to each release from v0.5.3 on; a README demo rendered from a real stdio sessionv0.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 todayv0.6 -- the model stops doing glue arithmetic:
reconcile_documentsreads the 26AS and AIS files,parse_aissums its groups in code,compute_interest_234counts months from dates; self-occupied house-property interest follows s.24(b) and s.115BAC;compute_hratakes 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_yearsstatusfrom today's date,compare_regimesbreakeven, the tax year 2026-27 rule pack (1.6.0), and the move to the 2.x MCP SDKv0.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 sessionContributing
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
Available Tools
16 toolscompare_regimesCompare old vs new tax regimeARead-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 propertyARead-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)ARead-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 interestARead-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 lossesARead-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 incomeARead-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 taxBRead-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 checklistARead-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 deductionsARead-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 yearsARead-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)ARead-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)ARead-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 formARead-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 26ASARead-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 installmentsARead-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 callARead-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
Scored across 16 tools
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.
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.
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.
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
Related MCP Connectors
TaxSort — Tollbooth-monetized MCP server for personal tax transaction classification
Free, cited tax MCP: GST/VAT for 193 countries, US/CA sales tax, income tax 57, company 139, CGT 71.
MCP server for Quaderno — tax-rate calculation, invoices, contacts, products, receipts & expenses.
Read-only finance MCP server. Connects your banks, cards, payment apps, books and payroll into one ledger for your AI. Can't move money. Open source (AGPL-3.0), free during beta.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA 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
- AlicenseAqualityAmaintenanceAn 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.7692 PyPI88MIT
- AlicenseNot gradedqualityCmaintenanceA sovereign, MIT-licensed MCP server for US tax operations, enabling offline-capable and self-hostable tax workflow management.MIT
- AlicenseAqualityDmaintenanceTurns any MCP host into a finance & tax copilot for Indian taxpayers, using live keyless data and deterministic advisory.16MIT