Screen one company's declared financial values under four pinned Shariah equity screening methodologies: the long-form ratios against total assets, the average month-end market-cap variant with its widened receivables row, the daily-average screens with a fallback to total assets, and the conservative screen with imputed returns. Each authority keeps its own thresholds, denominators and verdict, and the verdict groups are never merged. Dividend purification runs per profile where a rule is pinned. Every threshold comparison is exact integer arithmetic; equality is compliant on every row. The node outputs verdict rows and purification amounts only: it is never a ruling, certification or opinion.
🔒 All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data — use synthetic or anonymised inputs only.
Inputs
Keys: methodologies (JSON list of authority keys), is_current_constituent and country_code (required together when an MSCI profile is requested), shariah_compliant_debt_minor (required only when the declared country is in the carve-out set), the ten amount fields in integer minor units, optional dividend_minor, and market_cap_series_minor plus market_cap_series_period (required for the average-cap and daily-average profiles). Which amounts are mandatory depends on the requested profiles; the node refuses each missing required field by name. Blank means the key is absent. All values are caller-asserted: the node looks up no company, filing or price.
Result
Execution Hash (SHA-256)
execution_hash,
Basis and declarations
The node screens values you supply under four pinned authority profiles, each as its own verdict group that is never merged with another. A company is compliant under a profile only when every ratio row of that profile is compliant; one profile failing says nothing about another. Which amounts are mandatory follows from the profiles you request, and each missing required field is refused by name.
Pinned thresholds. Long-form (MSCI Islamic Index Series methodology, October 2024 edition): total debt, cash plus interest-bearing securities, and receivables plus cash, each at one third of total assets (33.33 percent) for a current constituent and 30 percent for a new inclusion. Average month-end market-cap variant (same edition): the same three rows against the mean of the last 36 month-end market capitalizations, shorter windows averaged as-is, with the receivables-and-cash row widened to 49 percent retention and 46 percent entry; the mean is reported floored to the minor unit while the verdict uses the exact unfloored mean. A daily series refuses under this profile rather than being mis-averaged. Daily-average screens (FTSE IdealRatings Islamic indexes screening guide v1.4, March 2026 edition): business activity at 5 percent of total revenue; conventional debt and cash each at 33 percent of the mean market capitalization over the whole supplied window, falling back to total assets when that mean falls below the asset value (flagged); non-permissible income, interest plus non-permissible revenue, at 5 percent of total income; a month-end series raises a flag that the average was taken from monthly averages. Conservative screen (NSE NIFTY Shariah index methodology, February 2022 circular): interest-based debt at 25 percent of total assets; interest income plus 7.5 percent imputed returns on interest-based investments at 3 percent of total income; receivables plus cash and bank balances at 90 percent of total assets.
Exactness. Every threshold comparison cross-multiplies integers: numerator times 10000 against threshold times denominator, so a verdict flips exactly at the printed threshold and never on floating-point rounding. Equality is compliant on every row: each pinned exclusion reads exceeds the threshold, so a figure exactly at the threshold passes and one minor unit over fails. Averages are reported floored to the minor unit with a denominator_rounding annotation while the verdict uses the exact mean, so the reported figure and the verdict can never disagree; the conservative imputed-income numerator is reported floored with a numerator_rounding annotation for the same reason.
Compliant-debt carve-out. For eleven declared country codes (BH, KW, OM, QA, AE, BD, EG, ID, MY, PK, TR) the node subtracts a caller-declared Shariah-compliant debt figure from the total-debt numerator of the two MSCI profiles and flags that it did so. The figure must not exceed total debt, is used for the MSCI profiles only, and is asserted by you: the node carries no country debt data of its own.
Dividend purification runs per profile only when a dividend is declared. Long-form and average-cap: the dividend adjustment factor, purified portion equal to the dividend times non-permissible income (non-permissible revenue plus interest income) over total income, floored to the minor unit, with the named remainder so the floored amount plus remainder over the factor denominator reconstructs the exact share. Conservative: the income purification ratio, the dividend times interest income over total income, floored, remainder named. The daily-average profile pins no purification rule and says so with a flag. An income leg larger than total income is inconsistent with any purification factor, so the purification leg refuses with a flag while the screening verdicts stand. Purification arithmetic is not a fatwa, a scholar's opinion, or a settlement instruction: it is the division the pinned rule states.
Scope and honesty. This node implements the four pinned profiles and no others. S&P Shariah screenings, the Dow Jones Islamic Market Index methodology, Malaysia Securities Commission Shariah Advisory Council screening and AAOIFI Shariah Standard 21 are not implemented: a request naming one refuses by name rather than approximating it with a pinned profile. The node reads no clock, fetches no price, and looks up no company: every figure is yours. Amounts are bounded at 1e15 minor units, series at 600 elements of at most 1e13, and nothing is coerced: a float where an integer is declared, a negative amount, an unsafe integer or an unpinned authority name all refuse with named errors.
Known limitations, stated rather than hidden. The conservative profile pins financial ratios only and carries no business-activity screen. Exemptions some methodologies grant to Islamic financial institutions are not modeled. The cash row counts interest-bearing securities inside the cash figure as the pinned tables define it, a convention that can over-include when your cash figure is a conventional cash proxy. Purification factors are computed from the income figures supplied in the same call, with no freshness tracking across periods. Amounts are single-currency minor units: no exchange rates exist here.
Every payload carries not_a_shariah_ruling: the node outputs verdict rows and purification arithmetic only, and never a ruling, certification, opinion or investment advice. Shariah compliance determinations belong to qualified scholars and supervisory boards.
Copy this paragraph into Claude, OpenClaw, or any MCP-aware agent to run this exact tool, with this sample, and verify the artifact.
Run the AINumbers MCP tool `screen_shariah_equity`. Task: Screen one company's caller-supplied financial values under four pinned Shariah screening methodologies (MSCI long-form and average-cap, FTSE daily-average, NIFTY TASIS conservative), each verdict reported separately, never merged, with exact integer threshold comparisons on integer minor units.
Call it with arguments: {"policy_parameters":{"methodologies":["msci_islamic","nifty_tasis"],"is_current_constituent":true,"country_code":"US","total_assets_minor":100000000,"total_debt_minor":28000000,"cash_and_interest_bearing_securities_minor":5000000,"receivables_minor":5000000,"non_permissible_revenue_minor":1000000,"interest_income_minor":2000000,"total_income_minor":100000000,"interest_based_investments_minor":0,"dividend_minor":10000000}}
Verify before trusting: call `verify_execution_hash` on mcp.ainumbers.co (https://mcp.ainumbers.co/mcp) with the parameter `claimed_hash` set to the returned `execution_hash`, passing the full artifact the run returned (the object containing `policy_parameters` + `output_payload` + `execution_hash`; equivalently `policy_parameters` + `output_payload` with `claimed_hash`), not the bare hash string.
Return the ledger link https://ledger.ainumbers.co/ so a human can re-verify without contacting us.
PII rule: All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data — use synthetic or anonymised inputs only.
Over MCP, the run happens on the AINumbers worker. No AINumbers server stores your inputs.
Open the tool with the sample prefilled: https://ainumbers.co/chaingraph/art-850-shariah-equity-purification.html#p=v1.H4sIAAAAAAAA_wGUAWv-eyJtZXRob2RvbG9naWVzIjpbIm1zY2lfaXNsYW1pYyIsIm5pZnR5X3Rhc2lzIl0sImlzX2N1cnJlbnRfY29uc3RpdHVlbnQiOnRydWUsImNvdW50cnlfY29kZSI6IlVTIiwidG90YWxfYXNzZXRzX21pbm9yIjoxMDAwMDAwMDAsInRvdGFsX2RlYnRfbWlub3IiOjI4MDAwMDAwLCJjYXNoX2FuZF9pbnRlcmVzdF9iZWFyaW5nX3NlY3VyaXRpZXNfbWlub3IiOjUwMDAwMDAsInJlY2VpdmFibGVzX21pbm9yIjo1MDAwMDAwLCJub25fcGVybWlzc2libGVfcmV2ZW51ZV9taW5vciI6MTAwMDAwMCwiaW50ZXJlc3RfaW5jb21lX21pbm9yIjoyMDAwMDAwLCJ0b3RhbF9pbmNvbWVfbWlub3IiOjEwMDAwMDAwMCwiaW50ZXJlc3RfYmFzZWRfaW52ZXN0bWVudHNfbWlub3IiOjAsImRpdmlkZW5kX21pbm9yIjoxMDAwMDAwMH0gyQ7wlAEAAA