{"data":{"name":"ca.ccpcrate/ccpcrate","title":"ccpcrate — Canadian CCPC corporate tax","description":"Deterministic Canadian CCPC rate stack: small business deduction and grinds, Part IV, RDTOH.","version":"0.1.0","websiteUrl":"https://ccpcrate.ca","repositoryUrl":"https://github.com/polud/ccpcrate","remotes":[{"url":"https://ccpcrate.ca/mcp","type":"streamable-http"}],"packages":[],"status":"active","isLatest":true,"publishedAt":"2026-09-07T23:30:04.150Z","updatedAt":"2026-09-07T23:30:04.150Z","source":"official-registry","verification":"official","confidence":100,"stars":null,"sources":[{"stars":null,"title":"ccpcrate — Canadian CCPC corporate tax","source":"official-registry","sourceId":"ca.ccpcrate/ccpcrate","updatedAt":"2026-09-07T23:30:04.150Z","confidence":100,"websiteUrl":"https://ccpcrate.ca","description":"Deterministic Canadian CCPC rate stack: small business deduction and grinds, Part IV, RDTOH.","verification":"official","repositoryUrl":"https://github.com/polud/ccpcrate"}],"toolIndex":{"tools":[{"serverName":"ca.ccpcrate/ccpcrate","endpointFingerprint":"7e550438a1e98be32bf68ff41e64f5dd85590473de805c6f003d4801c3023d67","name":"ccpcrate_compensation","title":"Salary or dividends for an owner-manager","description":"For a corporation's income before its owner's remuneration, compute what each way of taking it out costs and leaves: a salary, a dividend, or a mix. Per scenario it runs the payroll contributions and employer levies on the salary, the corporate return on what is left with the dividend paid out of it (designated eligible up to the GRIP, with the dividend refund), and the owner's personal return (federal T1 with Ontario's ON428 or Québec's TP-1). Give scenarios, or none for a sweep of the salary from nothing to the most the income can pay. Returns the totals, the cash in the owner's hands, what stays in the corporation, the cheapest scenario, and with detail \"full\" the lines of the three layers. Ontario and Québec, 2025 and 2026. The reasonableness of a salary, income splitting and the minimum tax are not assessed, and the result says so. Free during the launch period; the planned price is 0.25 USDC for up to 5 scenarios, 0.5 for a sweep or a longer list.","inputSchema":{"type":"object","properties":{"calendarYear":{"type":"integer","minimum":2025,"maximum":2026,"description":"Calendar year of the salary, the dividend and the owner's return. 2025 or 2026"},"province":{"type":"string","enum":["ON","QC"],"description":"Province of the corporation and of the owner's residence. Ontario or Québec in this release"},"incomeBeforeRemuneration":{"type":"number","minimum":0,"description":"The corporation's active business income for the year BEFORE the owner's salary and the employer's contributions and levies on it"},"otherPersonalIncome":{"description":"The owner's other income of the year, taxed in full (interest, pension). It fills the brackets with the salary and dividend","type":"number","minimum":0},"scenarios":{"description":"The salary / dividend combinations to compute. Omit for a sweep of the salary from 0 to the most the income can pay, each with the remainder as a dividend","examples":[[{"salary":0},{"salary":100000},{"salary":195569.9}],[{"salary":80000,"dividend":40000}]],"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"salary":{"type":"number","minimum":0,"description":"Gross salary paid to the owner in the calendar year"},"dividend":{"description":"Taxable dividend paid to the owner, in whole dollars, or \"remainder\" for everything the year leaves after tax, the dividend refund included. Default \"remainder\"","anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","const":"remainder"}]}},"required":["salary"]}},"sweepStep":{"description":"Step of the salary sweep when no scenarios are given. Default 5,000","type":"number","exclusiveMinimum":0},"eiInsurable":{"description":"Whether the owner's employment is insurable under the EI Act. Default false: a shareholder controlling more than 40 % of the voting shares is not","type":"boolean"},"otherPayroll":{"description":"Remuneration the employer pays to its other employees in the year. Sets the Québec health services fund rate and the Ontario employer health tax exemption. Default 0","type":"number","minimum":0},"corporation":{"description":"The corporation's context, as in ccpcrate_resolve: groupAaiiPriorYear (line 417, required whenever a business limit is claimed), businessLimitAllocated, rdtohOpening, gripOpening, aggregateInvestmentIncome, and for Québec qc.hours07aCurrentYear / hours07bGroupPriorYear. Its income, dividends and province are set by this tool","type":"object","properties":{"taxYear":{"description":"The corporation's taxation year. Default: the calendar year. A different year is computed and flagged","type":"object","properties":{"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First day of the taxation year"},"end":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last day of the taxation year"}},"required":["start","end"]},"provincialProportion":{"description":"Share of taxable income allocated to the province (Reg. 402). Default 1","type":"number","minimum":0,"maximum":1},"aggregateInvestmentIncome":{"description":"T2 line 440: aggregate investment income (s.129(4))","type":"number","minimum":0},"foreignInvestmentIncome":{"description":"T2 line 445: foreign investment income","type":"number","minimum":0},"foreignNonBusinessTaxCredit":{"description":"T2 line 632: foreign non-business income tax credit","type":"number","minimum":0},"foreignBusinessTaxCredit":{"description":"T2 line 636: foreign business income tax credit","type":"number","minimum":0},"businessLimitAllocated":{"description":"Business limit allocated to this corporation (Sch 23 line 410 if associated, else the statutory limit). 0 = allocation zero","type":"number","minimum":0},"groupAaiiPriorYear":{"description":"T2 line 417: Σ Sch 7 line 745 of the associated group for taxation years ending in the preceding calendar year. REQUIRED whenever a business limit is claimed","type":"number","minimum":0},"taxableCapitalGroupPriorYear":{"description":"T2 line 415: taxable capital employed in Canada of the group, prior year. Omit when under 10 M","type":"number","minimum":0},"dividendsReceivedPortfolioEligible":{"description":"Eligible taxable dividends from non-connected payers (Part IV → ERDTOH)","type":"number","minimum":0},"dividendsReceivedPortfolioNonEligible":{"description":"Non-eligible taxable dividends from non-connected payers (Part IV → NERDTOH)","type":"number","minimum":0},"dividendsReceivedConnected":{"description":"Dividends from connected corporations (s.186(4)) — Part IV only through the payer's refund","type":"array","items":{"type":"object","properties":{"amount":{"type":"number","minimum":0,"description":"Taxable dividend received from the connected corporation"},"payerDividendRefund":{"description":"The payer's dividend refund for the year it paid the dividend (s.186(1)(b)); 0 = no refund → no cascade; omitted = unknown → cascade withheld with a warning","type":"number","minimum":0},"payerTotalDividendsPaid":{"description":"Total taxable dividends the payer paid that year (denominator of the recipient's share)","type":"number","exclusiveMinimum":0},"cascadeShare":{"description":"Precomputed share of the payer's refund, when already known (overrides the two fields above)","type":"number","minimum":0},"payerId":{"description":"Id of the paying corporation when it is a member of the same ccpcrate_group call: its refund and total dividends paid are then taken from its own computation","type":"string","minLength":1}},"required":["amount"]}},"nonCapitalLossesClaimedAgainstPartIV":{"description":"Non-capital / farm losses claimed against Part IV (s.186(1)(c),(d)) — the loss amount","type":"number","minimum":0},"dividendsPaidOfWhichConnected":{"description":"How much OF the dividends paid above went to connected corporations — a portion of dividendsPaidEligible + dividendsPaidNonEligible, never an amount on top of them. Raises the cascade warning on the payer side. In a ccpcrate_group call the recipients' own dividendsReceivedConnected amounts govern the 186(1)(b) share; this field is then cross-checked against them","type":"number","minimum":0},"rdtohOpening":{"description":"Opening ERDTOH / NERDTOH in T2 terms. Omitted = 0 with a warning when it matters","type":"object","properties":{"erdtohLine520":{"description":"Prior year's closing ERDTOH, T2 line 530 (printed before that year's refund)","type":"number","minimum":0},"erdtohRefundPrev":{"description":"Prior year's dividend refund out of ERDTOH (line 570)","type":"number","minimum":0},"nerdtohLine535":{"description":"Prior year's closing NERDTOH, T2 line 545","type":"number","minimum":0},"nerdtohRefundPrev":{"description":"Prior year's dividend refund out of NERDTOH (line 575)","type":"number","minimum":0}}},"gripOpening":{"description":"GRIP carried into the year: Schedule 53 line 100 less the eligible dividends paid in the previous year (line 300 net of 310). Returns the GRIP at the end of the year, against which this year's eligible dividends are tested, and what is left to carry forward","type":"number","minimum":0},"netIncomeAccounting":{"description":"Holdco: net income per financial statements","type":"number"},"netIncomeForTax":{"description":"Holdco: net income for tax purposes (Sch 1 result) — overrides the derivation","type":"number"},"propertyExpenses":{"description":"Holdco: deductible property expenses of the year (total)","type":"number","minimum":0},"otherPropertyIncome":{"description":"Holdco: property income other than dividends and capital-gains dividends","type":"number","minimum":0},"capitalGainsDividends":{"description":"Capital-gains dividends received (full amount; half to CDA)","type":"number","minimum":0},"taxableCapitalGains":{"description":"Sch 6: taxable capital gains (the included half)","type":"number","minimum":0},"allowableCapitalLosses":{"description":"Sch 6: allowable capital losses of the year","type":"number","minimum":0},"nonCapitalLossesOpening":{"description":"Sch 4: non-capital loss pool at the start of the year","type":"number","minimum":0},"nonCapitalLossesClaimedAgainstPartI":{"description":"Non-capital losses claimed against Part I income","type":"number","minimum":0},"lossesByYearOfOrigin":{"description":"Sch 4 Part 6: opening balances by year of origin, e.g. {\"2011\": 263564}","type":"object","propertyNames":{"type":"string","pattern":"^\\d{4}$"},"additionalProperties":{"type":"number","minimum":0}},"cdaOpening":{"description":"Capital dividend account opening balance (returns cda_closing)","type":"number","minimum":0},"qc":{"description":"Québec inputs (CO-771)","type":"object","properties":{"taxableIncomeQc":{"description":"CO-17 taxable income when it differs from federal","type":"number"},"hours07aCurrentYear":{"description":"CO-771 line 07a: remunerated hours, current year (required with 07b for the CO-771 layer)","type":"number","minimum":0},"hours07bGroupPriorYear":{"description":"CO-771 line 07b: remunerated hours, associated group, prior year","type":"number","minimum":0},"plafondGroupAllocated":{"description":"CO-771 plafond allocated to this corporation (defaults to businessLimitAllocated)","type":"number","minimum":0},"capitalVerseGroupPriorYear":{"description":"Capital versé of the associated group, prior year (CO-17 line 426a)","type":"number","minimum":0},"instalmentsPaid":{"description":"Acomptes provisionnels paid (CO-17 line 440) — enables the balance lines","type":"number","minimum":0}}}}},"qc":{"description":"Québec options","type":"object","properties":{"fssRateClass":{"description":"Employer health services fund rate class. Default general","type":"string","enum":["general","primary_manufacturing"]},"cnesst":{"description":"CNESST premium. Omitted = not computed, and said","type":"object","properties":{"ratePer100":{"type":"number","minimum":0,"description":"CNESST premium rate of the employer's classification unit, dollars per 100 dollars of insurable salary"},"maxInsurable":{"description":"Maximum annual insurable salary. Default: the labour-standards maximum of the year, with a warning","type":"number","exclusiveMinimum":0}},"required":["ratePer100"]},"privateDrugPlan":{"description":"Whether the owner is covered by a group drug plan all year. false charges the public plan's premium (TP-1 line 447). Omitted = not charged, with a warning","type":"boolean"}}},"on":{"description":"Ontario options","type":"object","properties":{"ehtExemptionAvailable":{"description":"Whether the employer may claim the Employer Health Tax exemption. Default true","type":"boolean"},"taxReductionDependants":{"description":"Dependent children and impaired dependants, for the Ontario tax reduction. Default 0","type":"integer","minimum":0,"maximum":9007199254740991},"spouseAdjustedNetIncome":{"description":"Adjusted net income of the spouse or common-law partner, for the LIFT credit. Omitted = computed as a single individual","type":"number","minimum":0}}},"detail":{"description":"How much each scenario returns: \"full\" adds the lines of the three layers (payroll, corporation, personal return); \"totals\" keeps the totals and facts. Default: full for listed scenarios, totals for a sweep","type":"string","enum":["totals","full"]}},"required":["calendarYear","province","incomeBeforeRemuneration"],"$schema":"https://json-schema.org/draft/2020-12/schema"},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"9879a3a100377642581aa31d1f2a90a153cb56b70e3c4a888d34981e664d0c9e","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T14:46:11.866Z","metadataTrust":"untrusted"},{"serverName":"ca.ccpcrate/ccpcrate","endpointFingerprint":"7e550438a1e98be32bf68ff41e64f5dd85590473de805c6f003d4801c3023d67","name":"ccpcrate_explain","title":"Explain a resolution","description":"Free diagnostic pass over the same input as ccpcrate_resolve: which layers run, the defaults the engine would apply, every warning with its meaning (grind binding, provincial asymmetries, missing inputs), the rule rows in force for the year with sources and verification status, the open verifications, and what the paid computation would return. Contains no computed amounts — the numbers are in ccpcrate_resolve.","inputSchema":{"type":"object","properties":{"taxYear":{"type":"object","properties":{"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First day of the taxation year"},"end":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last day of the taxation year"}},"required":["start","end"]},"province":{"type":"string","enum":["AB","BC","MB","NB","NL","NS","NT","NU","ON","PE","QC","SK","YT"],"description":"Province of the permanent establishment (two-letter code)"},"provincialProportion":{"description":"Share of taxable income allocated to the province (Reg. 402). Default 1","type":"number","minimum":0,"maximum":1},"taxableIncome":{"description":"Part I taxable income (T2 line 360). Omit for a holdco and supply the income lines instead; the engine derives it","type":"number"},"activeBusinessIncome":{"description":"T2 line 400: income from an active business carried on in Canada","type":"number","minimum":0},"aggregateInvestmentIncome":{"description":"T2 line 440: aggregate investment income (s.129(4))","type":"number","minimum":0},"foreignInvestmentIncome":{"description":"T2 line 445: foreign investment income","type":"number","minimum":0},"foreignNonBusinessTaxCredit":{"description":"T2 line 632: foreign non-business income tax credit","type":"number","minimum":0},"foreignBusinessTaxCredit":{"description":"T2 line 636: foreign business income tax credit","type":"number","minimum":0},"businessLimitAllocated":{"description":"Business limit allocated to this corporation (Sch 23 line 410 if associated, else the statutory limit). 0 = allocation zero","type":"number","minimum":0},"groupAaiiPriorYear":{"description":"T2 line 417: Σ Sch 7 line 745 of the associated group for taxation years ending in the preceding calendar year. REQUIRED whenever a business limit is claimed","type":"number","minimum":0},"taxableCapitalGroupPriorYear":{"description":"T2 line 415: taxable capital employed in Canada of the group, prior year. Omit when under 10 M","type":"number","minimum":0},"dividendsReceivedPortfolioEligible":{"description":"Eligible taxable dividends from non-connected payers (Part IV → ERDTOH)","type":"number","minimum":0},"dividendsReceivedPortfolioNonEligible":{"description":"Non-eligible taxable dividends from non-connected payers (Part IV → NERDTOH)","type":"number","minimum":0},"dividendsReceivedConnected":{"description":"Dividends from connected corporations (s.186(4)) — Part IV only through the payer's refund","type":"array","items":{"type":"object","properties":{"amount":{"type":"number","minimum":0,"description":"Taxable dividend received from the connected corporation"},"payerDividendRefund":{"description":"The payer's dividend refund for the year it paid the dividend (s.186(1)(b)); 0 = no refund → no cascade; omitted = unknown → cascade withheld with a warning","type":"number","minimum":0},"payerTotalDividendsPaid":{"description":"Total taxable dividends the payer paid that year (denominator of the recipient's share)","type":"number","exclusiveMinimum":0},"cascadeShare":{"description":"Precomputed share of the payer's refund, when already known (overrides the two fields above)","type":"number","minimum":0},"payerId":{"description":"Id of the paying corporation when it is a member of the same ccpcrate_group call: its refund and total dividends paid are then taken from its own computation","type":"string","minLength":1}},"required":["amount"]}},"nonCapitalLossesClaimedAgainstPartIV":{"description":"Non-capital / farm losses claimed against Part IV (s.186(1)(c),(d)) — the loss amount","type":"number","minimum":0},"dividendsPaidEligible":{"description":"Eligible dividends paid (designated) in the year","type":"number","minimum":0},"dividendsPaidNonEligible":{"description":"Non-eligible taxable dividends paid in the year","type":"number","minimum":0},"dividendsPaidOfWhichConnected":{"description":"How much OF the dividends paid above went to connected corporations — a portion of dividendsPaidEligible + dividendsPaidNonEligible, never an amount on top of them. Raises the cascade warning on the payer side. In a ccpcrate_group call the recipients' own dividendsReceivedConnected amounts govern the 186(1)(b) share; this field is then cross-checked against them","type":"number","minimum":0},"rdtohOpening":{"description":"Opening ERDTOH / NERDTOH in T2 terms. Omitted = 0 with a warning when it matters","type":"object","properties":{"erdtohLine520":{"description":"Prior year's closing ERDTOH, T2 line 530 (printed before that year's refund)","type":"number","minimum":0},"erdtohRefundPrev":{"description":"Prior year's dividend refund out of ERDTOH (line 570)","type":"number","minimum":0},"nerdtohLine535":{"description":"Prior year's closing NERDTOH, T2 line 545","type":"number","minimum":0},"nerdtohRefundPrev":{"description":"Prior year's dividend refund out of NERDTOH (line 575)","type":"number","minimum":0}}},"gripOpening":{"description":"GRIP carried into the year: Schedule 53 line 100 less the eligible dividends paid in the previous year (line 300 net of 310). Returns the GRIP at the end of the year, against which this year's eligible dividends are tested, and what is left to carry forward","type":"number","minimum":0},"netIncomeAccounting":{"description":"Holdco: net income per financial statements","type":"number"},"netIncomeForTax":{"description":"Holdco: net income for tax purposes (Sch 1 result) — overrides the derivation","type":"number"},"propertyExpenses":{"description":"Holdco: deductible property expenses of the year (total)","type":"number","minimum":0},"otherPropertyIncome":{"description":"Holdco: property income other than dividends and capital-gains dividends","type":"number","minimum":0},"capitalGainsDividends":{"description":"Capital-gains dividends received (full amount; half to CDA)","type":"number","minimum":0},"taxableCapitalGains":{"description":"Sch 6: taxable capital gains (the included half)","type":"number","minimum":0},"allowableCapitalLosses":{"description":"Sch 6: allowable capital losses of the year","type":"number","minimum":0},"nonCapitalLossesOpening":{"description":"Sch 4: non-capital loss pool at the start of the year","type":"number","minimum":0},"nonCapitalLossesClaimedAgainstPartI":{"description":"Non-capital losses claimed against Part I income","type":"number","minimum":0},"lossesByYearOfOrigin":{"description":"Sch 4 Part 6: opening balances by year of origin, e.g. {\"2011\": 263564}","type":"object","propertyNames":{"type":"string","pattern":"^\\d{4}$"},"additionalProperties":{"type":"number","minimum":0}},"cdaOpening":{"description":"Capital dividend account opening balance (returns cda_closing)","type":"number","minimum":0},"qc":{"description":"Québec inputs (CO-771)","type":"object","properties":{"taxableIncomeQc":{"description":"CO-17 taxable income when it differs from federal","type":"number"},"hours07aCurrentYear":{"description":"CO-771 line 07a: remunerated hours, current year (required with 07b for the CO-771 layer)","type":"number","minimum":0},"hours07bGroupPriorYear":{"description":"CO-771 line 07b: remunerated hours, associated group, prior year","type":"number","minimum":0},"plafondGroupAllocated":{"description":"CO-771 plafond allocated to this corporation (defaults to businessLimitAllocated)","type":"number","minimum":0},"capitalVerseGroupPriorYear":{"description":"Capital versé of the associated group, prior year (CO-17 line 426a)","type":"number","minimum":0},"instalmentsPaid":{"description":"Acomptes provisionnels paid (CO-17 line 440) — enables the balance lines","type":"number","minimum":0}}}},"required":["taxYear","province"],"$schema":"https://json-schema.org/draft/2020-12/schema"},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"48bf692717946c211f7a4ff66e8598bbef2e9aba603e80dd7cf9824ca58fe5f2","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T14:46:11.866Z","metadataTrust":"untrusted"},{"serverName":"ca.ccpcrate/ccpcrate","endpointFingerprint":"7e550438a1e98be32bf68ff41e64f5dd85590473de805c6f003d4801c3023d67","name":"ccpcrate_group","title":"Resolve an associated group","description":"Compute a whole associated group (s.256) in one call: federal line 417 as the sum of the members' prior-year adjusted investment income, the Schedule 23 allocation of the business limit, and every member's return in payer-before-recipient order so that a connected dividend's Part IV under s.186(1)(b) is filled in from the payer's own refund instead of being asked for. Returns each member's lines plus what the grind costs the group and which member causes it — the case a single-corporation computation cannot show. Free during the launch period; the planned price is 0.25 USDC for the group and its first 2 computed members, 0.05 per additional member, never more than 1.","inputSchema":{"type":"object","properties":{"members":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Your label for this corporation (any string); connected dividends refer to it by this id"},"priorYearAaii":{"description":"This member's adjusted aggregate investment income (Sch 7 line 745) for its taxation year ending in the preceding calendar year — its contribution to every member's line 417","type":"number","minimum":0},"input":{"description":"This member's own taxation year. Omit for a member that only contributes to line 417","type":"object","properties":{"taxYear":{"type":"object","properties":{"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First day of the taxation year"},"end":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last day of the taxation year"}},"required":["start","end"]},"province":{"type":"string","enum":["AB","BC","MB","NB","NL","NS","NT","NU","ON","PE","QC","SK","YT"],"description":"Province of the permanent establishment (two-letter code)"},"provincialProportion":{"description":"Share of taxable income allocated to the province (Reg. 402). Default 1","type":"number","minimum":0,"maximum":1},"taxableIncome":{"description":"Part I taxable income (T2 line 360). Omit for a holdco and supply the income lines instead; the engine derives it","type":"number"},"activeBusinessIncome":{"description":"T2 line 400: income from an active business carried on in Canada","type":"number","minimum":0},"aggregateInvestmentIncome":{"description":"T2 line 440: aggregate investment income (s.129(4))","type":"number","minimum":0},"foreignInvestmentIncome":{"description":"T2 line 445: foreign investment income","type":"number","minimum":0},"foreignNonBusinessTaxCredit":{"description":"T2 line 632: foreign non-business income tax credit","type":"number","minimum":0},"foreignBusinessTaxCredit":{"description":"T2 line 636: foreign business income tax credit","type":"number","minimum":0},"businessLimitAllocated":{"description":"Business limit allocated to this corporation (Sch 23 line 410 if associated, else the statutory limit). 0 = allocation zero","type":"number","minimum":0},"groupAaiiPriorYear":{"description":"T2 line 417: Σ Sch 7 line 745 of the associated group for taxation years ending in the preceding calendar year. REQUIRED whenever a business limit is claimed","type":"number","minimum":0},"taxableCapitalGroupPriorYear":{"description":"T2 line 415: taxable capital employed in Canada of the group, prior year. Omit when under 10 M","type":"number","minimum":0},"dividendsReceivedPortfolioEligible":{"description":"Eligible taxable dividends from non-connected payers (Part IV → ERDTOH)","type":"number","minimum":0},"dividendsReceivedPortfolioNonEligible":{"description":"Non-eligible taxable dividends from non-connected payers (Part IV → NERDTOH)","type":"number","minimum":0},"dividendsReceivedConnected":{"description":"Dividends from connected corporations (s.186(4)) — Part IV only through the payer's refund","type":"array","items":{"type":"object","properties":{"amount":{"type":"number","minimum":0,"description":"Taxable dividend received from the connected corporation"},"payerDividendRefund":{"description":"The payer's dividend refund for the year it paid the dividend (s.186(1)(b)); 0 = no refund → no cascade; omitted = unknown → cascade withheld with a warning","type":"number","minimum":0},"payerTotalDividendsPaid":{"description":"Total taxable dividends the payer paid that year (denominator of the recipient's share)","type":"number","exclusiveMinimum":0},"cascadeShare":{"description":"Precomputed share of the payer's refund, when already known (overrides the two fields above)","type":"number","minimum":0},"payerId":{"description":"Id of the paying corporation when it is a member of the same ccpcrate_group call: its refund and total dividends paid are then taken from its own computation","type":"string","minLength":1}},"required":["amount"]}},"nonCapitalLossesClaimedAgainstPartIV":{"description":"Non-capital / farm losses claimed against Part IV (s.186(1)(c),(d)) — the loss amount","type":"number","minimum":0},"dividendsPaidEligible":{"description":"Eligible dividends paid (designated) in the year","type":"number","minimum":0},"dividendsPaidNonEligible":{"description":"Non-eligible taxable dividends paid in the year","type":"number","minimum":0},"dividendsPaidOfWhichConnected":{"description":"How much OF the dividends paid above went to connected corporations — a portion of dividendsPaidEligible + dividendsPaidNonEligible, never an amount on top of them. Raises the cascade warning on the payer side. In a ccpcrate_group call the recipients' own dividendsReceivedConnected amounts govern the 186(1)(b) share; this field is then cross-checked against them","type":"number","minimum":0},"rdtohOpening":{"description":"Opening ERDTOH / NERDTOH in T2 terms. Omitted = 0 with a warning when it matters","type":"object","properties":{"erdtohLine520":{"description":"Prior year's closing ERDTOH, T2 line 530 (printed before that year's refund)","type":"number","minimum":0},"erdtohRefundPrev":{"description":"Prior year's dividend refund out of ERDTOH (line 570)","type":"number","minimum":0},"nerdtohLine535":{"description":"Prior year's closing NERDTOH, T2 line 545","type":"number","minimum":0},"nerdtohRefundPrev":{"description":"Prior year's dividend refund out of NERDTOH (line 575)","type":"number","minimum":0}}},"gripOpening":{"description":"GRIP carried into the year: Schedule 53 line 100 less the eligible dividends paid in the previous year (line 300 net of 310). Returns the GRIP at the end of the year, against which this year's eligible dividends are tested, and what is left to carry forward","type":"number","minimum":0},"netIncomeAccounting":{"description":"Holdco: net income per financial statements","type":"number"},"netIncomeForTax":{"description":"Holdco: net income for tax purposes (Sch 1 result) — overrides the derivation","type":"number"},"propertyExpenses":{"description":"Holdco: deductible property expenses of the year (total)","type":"number","minimum":0},"otherPropertyIncome":{"description":"Holdco: property income other than dividends and capital-gains dividends","type":"number","minimum":0},"capitalGainsDividends":{"description":"Capital-gains dividends received (full amount; half to CDA)","type":"number","minimum":0},"taxableCapitalGains":{"description":"Sch 6: taxable capital gains (the included half)","type":"number","minimum":0},"allowableCapitalLosses":{"description":"Sch 6: allowable capital losses of the year","type":"number","minimum":0},"nonCapitalLossesOpening":{"description":"Sch 4: non-capital loss pool at the start of the year","type":"number","minimum":0},"nonCapitalLossesClaimedAgainstPartI":{"description":"Non-capital losses claimed against Part I income","type":"number","minimum":0},"lossesByYearOfOrigin":{"description":"Sch 4 Part 6: opening balances by year of origin, e.g. {\"2011\": 263564}","type":"object","propertyNames":{"type":"string","pattern":"^\\d{4}$"},"additionalProperties":{"type":"number","minimum":0}},"cdaOpening":{"description":"Capital dividend account opening balance (returns cda_closing)","type":"number","minimum":0},"qc":{"description":"Québec inputs (CO-771)","type":"object","properties":{"taxableIncomeQc":{"description":"CO-17 taxable income when it differs from federal","type":"number"},"hours07aCurrentYear":{"description":"CO-771 line 07a: remunerated hours, current year (required with 07b for the CO-771 layer)","type":"number","minimum":0},"hours07bGroupPriorYear":{"description":"CO-771 line 07b: remunerated hours, associated group, prior year","type":"number","minimum":0},"plafondGroupAllocated":{"description":"CO-771 plafond allocated to this corporation (defaults to businessLimitAllocated)","type":"number","minimum":0},"capitalVerseGroupPriorYear":{"description":"Capital versé of the associated group, prior year (CO-17 line 426a)","type":"number","minimum":0},"instalmentsPaid":{"description":"Acomptes provisionnels paid (CO-17 line 440) — enables the balance lines","type":"number","minimum":0}}}},"required":["taxYear","province"]}},"required":["id"]},"description":"The associated corporations (s.256). A member with no input still counts toward line 417. Order does not matter — the engine computes payers before recipients","examples":[[{"id":"holdco","priorYearAaii":75000},{"id":"opco","priorYearAaii":0,"input":{"taxYear":{"start":"2025-01-01","end":"2025-12-31"},"province":"ON","taxableIncome":500000,"activeBusinessIncome":500000,"businessLimitAllocated":500000}}],[{"id":"opco","priorYearAaii":55000,"input":{"taxYear":{"start":"2025-01-01","end":"2025-12-31"},"province":"ON","taxableIncome":400000,"activeBusinessIncome":340000,"aggregateInvestmentIncome":60000,"businessLimitAllocated":400000,"dividendsPaidNonEligible":100000,"dividendsPaidOfWhichConnected":60000}},{"id":"holdco","priorYearAaii":20000,"input":{"taxYear":{"start":"2025-01-01","end":"2025-12-31"},"province":"ON","dividendsReceivedConnected":[{"amount":60000,"payerId":"opco"}]}}]]},"groupAaiiPriorYear":{"description":"Federal line 417 for the group, when the per-member figures are not available. A member's own input.groupAaiiPriorYear still wins","type":"number","minimum":0},"taxYear":{"description":"The group's taxation year, used to read the statutory business limit when no member computes","type":"object","properties":{"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First day of the taxation year"},"end":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last day of the taxation year"}},"required":["start","end"]}},"required":["members"],"$schema":"https://json-schema.org/draft/2020-12/schema"},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"eede8e701ce26c40dafe3b3ebef8050abd6913b260a16a6fe60398a3ad6bf040","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T14:46:11.866Z","metadataTrust":"untrusted"},{"serverName":"ca.ccpcrate/ccpcrate","endpointFingerprint":"7e550438a1e98be32bf68ff41e64f5dd85590473de805c6f003d4801c3023d67","name":"ccpcrate_resolve","title":"Resolve the CCPC rate stack for one taxation year","description":"Compute the federal Part I / Part IV / refundable / RDTOH / dividend-refund lines and the provincial layer for one CCPC and one taxation year. Returns a readable summary plus the structured result: lines (rounded, as printed), unrounded audit values, facts, warnings, layers, balances carried forward, the inputs still missing, engine and rules versions and a request hash. Deductions are negative, taxes positive. A missing required input is an error, not a default. Free during the launch period; the planned price is 0.25 USDC per call.","inputSchema":{"type":"object","properties":{"taxYear":{"type":"object","properties":{"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"First day of the taxation year"},"end":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Last day of the taxation year"}},"required":["start","end"]},"province":{"type":"string","enum":["AB","BC","MB","NB","NL","NS","NT","NU","ON","PE","QC","SK","YT"],"description":"Province of the permanent establishment (two-letter code)"},"provincialProportion":{"description":"Share of taxable income allocated to the province (Reg. 402). Default 1","type":"number","minimum":0,"maximum":1},"taxableIncome":{"description":"Part I taxable income (T2 line 360). Omit for a holdco and supply the income lines instead; the engine derives it","type":"number"},"activeBusinessIncome":{"description":"T2 line 400: income from an active business carried on in Canada","type":"number","minimum":0},"aggregateInvestmentIncome":{"description":"T2 line 440: aggregate investment income (s.129(4))","type":"number","minimum":0},"foreignInvestmentIncome":{"description":"T2 line 445: foreign investment income","type":"number","minimum":0},"foreignNonBusinessTaxCredit":{"description":"T2 line 632: foreign non-business income tax credit","type":"number","minimum":0},"foreignBusinessTaxCredit":{"description":"T2 line 636: foreign business income tax credit","type":"number","minimum":0},"businessLimitAllocated":{"description":"Business limit allocated to this corporation (Sch 23 line 410 if associated, else the statutory limit). 0 = allocation zero","type":"number","minimum":0},"groupAaiiPriorYear":{"description":"T2 line 417: Σ Sch 7 line 745 of the associated group for taxation years ending in the preceding calendar year. REQUIRED whenever a business limit is claimed","type":"number","minimum":0},"taxableCapitalGroupPriorYear":{"description":"T2 line 415: taxable capital employed in Canada of the group, prior year. Omit when under 10 M","type":"number","minimum":0},"dividendsReceivedPortfolioEligible":{"description":"Eligible taxable dividends from non-connected payers (Part IV → ERDTOH)","type":"number","minimum":0},"dividendsReceivedPortfolioNonEligible":{"description":"Non-eligible taxable dividends from non-connected payers (Part IV → NERDTOH)","type":"number","minimum":0},"dividendsReceivedConnected":{"description":"Dividends from connected corporations (s.186(4)) — Part IV only through the payer's refund","type":"array","items":{"type":"object","properties":{"amount":{"type":"number","minimum":0,"description":"Taxable dividend received from the connected corporation"},"payerDividendRefund":{"description":"The payer's dividend refund for the year it paid the dividend (s.186(1)(b)); 0 = no refund → no cascade; omitted = unknown → cascade withheld with a warning","type":"number","minimum":0},"payerTotalDividendsPaid":{"description":"Total taxable dividends the payer paid that year (denominator of the recipient's share)","type":"number","exclusiveMinimum":0},"cascadeShare":{"description":"Precomputed share of the payer's refund, when already known (overrides the two fields above)","type":"number","minimum":0},"payerId":{"description":"Id of the paying corporation when it is a member of the same ccpcrate_group call: its refund and total dividends paid are then taken from its own computation","type":"string","minLength":1}},"required":["amount"]}},"nonCapitalLossesClaimedAgainstPartIV":{"description":"Non-capital / farm losses claimed against Part IV (s.186(1)(c),(d)) — the loss amount","type":"number","minimum":0},"dividendsPaidEligible":{"description":"Eligible dividends paid (designated) in the year","type":"number","minimum":0},"dividendsPaidNonEligible":{"description":"Non-eligible taxable dividends paid in the year","type":"number","minimum":0},"dividendsPaidOfWhichConnected":{"description":"How much OF the dividends paid above went to connected corporations — a portion of dividendsPaidEligible + dividendsPaidNonEligible, never an amount on top of them. Raises the cascade warning on the payer side. In a ccpcrate_group call the recipients' own dividendsReceivedConnected amounts govern the 186(1)(b) share; this field is then cross-checked against them","type":"number","minimum":0},"rdtohOpening":{"description":"Opening ERDTOH / NERDTOH in T2 terms. Omitted = 0 with a warning when it matters","type":"object","properties":{"erdtohLine520":{"description":"Prior year's closing ERDTOH, T2 line 530 (printed before that year's refund)","type":"number","minimum":0},"erdtohRefundPrev":{"description":"Prior year's dividend refund out of ERDTOH (line 570)","type":"number","minimum":0},"nerdtohLine535":{"description":"Prior year's closing NERDTOH, T2 line 545","type":"number","minimum":0},"nerdtohRefundPrev":{"description":"Prior year's dividend refund out of NERDTOH (line 575)","type":"number","minimum":0}}},"gripOpening":{"description":"GRIP carried into the year: Schedule 53 line 100 less the eligible dividends paid in the previous year (line 300 net of 310). Returns the GRIP at the end of the year, against which this year's eligible dividends are tested, and what is left to carry forward","type":"number","minimum":0},"netIncomeAccounting":{"description":"Holdco: net income per financial statements","type":"number"},"netIncomeForTax":{"description":"Holdco: net income for tax purposes (Sch 1 result) — overrides the derivation","type":"number"},"propertyExpenses":{"description":"Holdco: deductible property expenses of the year (total)","type":"number","minimum":0},"otherPropertyIncome":{"description":"Holdco: property income other than dividends and capital-gains dividends","type":"number","minimum":0},"capitalGainsDividends":{"description":"Capital-gains dividends received (full amount; half to CDA)","type":"number","minimum":0},"taxableCapitalGains":{"description":"Sch 6: taxable capital gains (the included half)","type":"number","minimum":0},"allowableCapitalLosses":{"description":"Sch 6: allowable capital losses of the year","type":"number","minimum":0},"nonCapitalLossesOpening":{"description":"Sch 4: non-capital loss pool at the start of the year","type":"number","minimum":0},"nonCapitalLossesClaimedAgainstPartI":{"description":"Non-capital losses claimed against Part I income","type":"number","minimum":0},"lossesByYearOfOrigin":{"description":"Sch 4 Part 6: opening balances by year of origin, e.g. {\"2011\": 263564}","type":"object","propertyNames":{"type":"string","pattern":"^\\d{4}$"},"additionalProperties":{"type":"number","minimum":0}},"cdaOpening":{"description":"Capital dividend account opening balance (returns cda_closing)","type":"number","minimum":0},"qc":{"description":"Québec inputs (CO-771)","type":"object","properties":{"taxableIncomeQc":{"description":"CO-17 taxable income when it differs from federal","type":"number"},"hours07aCurrentYear":{"description":"CO-771 line 07a: remunerated hours, current year (required with 07b for the CO-771 layer)","type":"number","minimum":0},"hours07bGroupPriorYear":{"description":"CO-771 line 07b: remunerated hours, associated group, prior year","type":"number","minimum":0},"plafondGroupAllocated":{"description":"CO-771 plafond allocated to this corporation (defaults to businessLimitAllocated)","type":"number","minimum":0},"capitalVerseGroupPriorYear":{"description":"Capital versé of the associated group, prior year (CO-17 line 426a)","type":"number","minimum":0},"instalmentsPaid":{"description":"Acomptes provisionnels paid (CO-17 line 440) — enables the balance lines","type":"number","minimum":0}}}},"required":["taxYear","province"],"$schema":"https://json-schema.org/draft/2020-12/schema"},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"e92976572e9e24f8ae35f235c63c7a0395526b6be77fada0459de175a9e785c5","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T14:46:11.866Z","metadataTrust":"untrusted"},{"serverName":"ca.ccpcrate/ccpcrate","endpointFingerprint":"7e550438a1e98be32bf68ff41e64f5dd85590473de805c6f003d4801c3023d67","name":"ccpcrate_rules","title":"Rules table","description":"The statutory rates and parameters the engine uses (14 jurisdictions, effective dates, application modes, sources, verification status), filterable by jurisdiction, key and date. Free.","inputSchema":{"type":"object","properties":{"jurisdiction":{"description":"Jurisdiction; omit for all","type":"string","enum":["FED","AB","BC","MB","NB","NL","NS","NT","NU","ON","PE","QC","SK","YT"]},"key":{"description":"Row key (e.g. sbd_rate, business_limit, passive_income_grind); omit for all keys","type":"string"},"date":{"description":"Only the rows in force on this date (default: every row, all periods)","type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"scope":{"description":"corporate = the T2 / CO-17 rows (default set before 0.3.0); personal = T1 / TP-1 rows; payroll = contributions and employer levies. Omit for all.","type":"string","enum":["corporate","personal","payroll"]}},"$schema":"https://json-schema.org/draft/2020-12/schema"},"annotations":{"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false},"definitionHash":"261a6ae06b5ba32759506ee4b94063909cfaf8bf81545909b1511065507f061b","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-14T14:46:11.866Z","metadataTrust":"untrusted"}],"endpoints":[{"endpointFingerprint":"7e550438a1e98be32bf68ff41e64f5dd85590473de805c6f003d4801c3023d67","protocol":"streamable-http","status":"indexed","toolCount":5,"observedAt":"2026-11-14T14:46:11.866Z"}],"authentication":"unknown"},"connectionConfigurations":{"status":"ready","authentication":"not embedded","clients":{"Claude Desktop":{"mcpServers":{"ca.ccpcrate/ccpcrate":{"url":"https://ccpcrate.ca/mcp"}}},"Cursor":{"mcpServers":{"ca.ccpcrate/ccpcrate":{"url":"https://ccpcrate.ca/mcp"}}},"VS Code":{"servers":{"ca.ccpcrate/ccpcrate":{"type":"http","url":"https://ccpcrate.ca/mcp"}}}}},"resourceType":"mcp-server","callable":true,"runtime":{"callable":true,"protocols":["mcp"]},"interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://ccpcrate.ca/mcp"}],"profile":{"apiVersion":"1","schemaVersion":"1","id":"mcp-server:ca.ccpcrate%2Fccpcrate","resourceType":"mcp-server","canonicalUrl":"https://www.agentsjunction.com/api/v1/servers/ca.ccpcrate%2Fccpcrate","name":"ca.ccpcrate/ccpcrate","description":"Deterministic Canadian CCPC rate stack: small business deduction and grinds, Part IV, RDTOH.","interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://ccpcrate.ca/mcp"}],"capabilities":[],"identity":{"source":"official-registry","websiteUrl":"https://ccpcrate.ca","repositoryUrl":"https://github.com/polud/ccpcrate","version":"0.1.0"},"verification":{"state":"official","confidence":100},"operations":{"resourceType":"mcp-server","name":"ca.ccpcrate/ccpcrate","status":"online","lastCheckedAt":"2026-11-20T05:18:15.105Z","lastSuccessfulCheck":"2026-11-20T05:18:15.105Z","latencyMs":170,"consecutiveFailures":0,"isStale":false,"checks":{"endpointReachable":true,"protocolValid":true,"agentCardValid":null,"mcpHandshakeValid":true},"lastSeen":null,"lastSuccessfulInteraction":null,"lastHealthCheck":"2026-11-20T05:18:15.105Z","source":{"type":"health-check","url":null},"observedAt":"2026-11-20T05:18:15.105Z"},"security":null,"timestamps":{"createdAt":"2026-09-07T23:30:04.150Z","updatedAt":"2026-09-07T23:30:04.150Z","observedAt":"2026-11-20T05:18:15.105Z"},"compatibility":{"serverVersion":"0.1.0","protocolVersions":[{"protocol":"mcp","version":null}]}}}}