Skip to content
For ChatGPT

Day-count rules, inside ChatGPT

The iReside connector gives ChatGPT our residency and visa calculators and guides, so answers about Schengen days, visa stay limits and state 183-day rules come with the rule, the math and the sources.

Add it to ChatGPT

  1. In ChatGPT, turn on developer mode in the connector settings. The menu names change, and custom connectors are only offered on some plans.
  2. Add a custom connector (a custom MCP server).
  3. Name it iReside and paste this URL: https://www.ireside.ai/api/mcp
  4. No sign-in is needed. Ask ChatGPT a question like the ones below.

Questions to try

What the connector can do

All tools are read-only. None of them changes anything or needs your account.

Schengen 90/180 day check
Counts days used under the Schengen short-stay rule (90 days in any rolling 180-day period, all 29 Schengen countries combined; entry and exit days both count). Use it for trip-planning questions such as how many Schengen days remain, whether a planned trip would overstay, or when a traveller can return. Optionally pass planned_entry to get the longest stay that could start that day. Answers questions like 'Schengen calculator', 'how many days do I have left in Europe' or 'when can I go back to the Schengen area'. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
US Substantial Presence Test
Runs the IRS Substantial Presence Test (IRC 7701(b)) for a non-US citizen: current-year days + 1/3 of last year's + 1/6 of the year before, against 183, with the 31-day minimum, green-card status and the student/teacher/government visa exemptions. Use it when someone asks whether their US days make them a US tax resident, or how many more days they can spend in the US this year ('how many days can I stay in the US without becoming a tax resident'). Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
UK Statutory Residence Test
Applies the UK Statutory Residence Test (Finance Act 2013 Sch. 45) in its legal order: automatic overseas tests, automatic UK tests, then the sufficient ties table (stricter for people UK resident in any of the previous 3 tax years). Use it when someone asks whether their UK days and ties make them UK tax resident for a tax year (6 April to 5 April). Split-year treatment and exceptional-circumstances days are not modelled. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
US state tax residency rule
Returns one US state's tax residency rule: the day-count test (e.g. New York's more-than-183 days with a permanent place of abode), whether part days count, city taxes, safe harbors, audit reputation and the statute. Pass days to see whether that count crosses the state's line and how many days remain. Use it for questions like 'how many days can I spend in New York', 'does California have a 183-day rule' or 'what is the 183-day rule in my state'. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
US multi-state day counter
Totals the days spent in each US state in one calendar year from a list of stays, then checks each total against that state's residency day test (for example New York's more-than-183 days with a permanent place of abode). A travel day spent in two states counts for both (any part of a day counts, the conservative reading where a statute is silent). Use it when someone lists where they were across several states and asks where they stand, for example a snowbird splitting the year between New York and Florida. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
Visa stay limit or residency rule
Looks up a reviewed guide to a day-limit rule outside US state tax: visa-free and visitor stay limits (e.g. UK Standard Visitor, US ESTA, Thailand, Japan, India e-Visa), country tax-residency day tests (e.g. Spain, Portugal, UAE 183 or 90 days), and citizenship or permanent-residence presence rules (e.g. Canada PR, UK ILR). Pass a rule name or country; with no rule it lists every guide. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
Country tax residency rule
Returns a country's or territory's tax-residency day rule (about 240 jurisdictions): the day threshold and when it trips, how days are counted, the period (calendar year, tax year or rolling 365 days), other routes to residency (home, centre of interests, lower thresholds), the statute, and how well the entry has been verified. Pass days to see whether that count crosses the line. Use it for questions like 'how many days can I spend in Portugal before I become tax resident'. Also fits digital nomads and expats asking when a country's 183-day rule makes them resident. For US states use get_us_state_residency_rule. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
Canada PR / US naturalization presence check
Checks a multi-year physical-presence requirement from a list of absences: Canada permanent residence (730 days in Canada in the last 5 years, IRPA s.28) or US naturalization (913 days of 5 years, or 548 days of 3 years for spouses of US citizens, INA 316). Use it when someone asks whether their time abroad puts their PR status or citizenship application at risk. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
FEIE physical presence test (330 days)
Finds the 12-month window with the most full days abroad for the Foreign Earned Income Exclusion physical presence test (330 full days in a foreign country within 12 consecutive months, IRC 911) from the days spent in the US. Use it when a US citizen or resident abroad asks whether they qualify for the FEIE or how many more US days they can afford. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
Moving-state residency checklist
Builds the residency checklist for a move between two US places (states, DC, territories, and cities with their own resident income tax such as New York City): the steps shared by every move, what to wind down in the place being left and what to set up in the new one. Each step has its phase (`phase`; `when` is the older before_move / within_30 / within_90 / before_filing / ongoing grouping), `priority` (1 = required, 2 = strong proof of the move but not required, 3 = everything else), deadline, whether it is required or only applies in some situations, what to keep as proof, and its official source. `about_state_left` and `about_new_state` summarise what each side looks at. Use it when someone is moving and asks how to establish the new residency or prove they left the old one. The same checklist is on the website (learn_more), free to read and print. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
Residency audit: what is checked and what proves it
Explains what a US state residency audit looks at (day counts and domicile factors), who carries the burden of proof, which records prove where you were and how strongly (a log made at the time, card, phone and toll records, travel records, passport stamps), and, for 18 states including New York, California, Massachusetts and Florida, what that state checks, how far back it can look and what to do when leaving. Use it for questions like 'how do I prove I left New York', 'what records does a residency audit accept' or 'is a spreadsheet enough proof of my days'. From iReside's published guides; each answer links its sources. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
Search residency and visa guides
Searches iReside's published articles and guides on US state and international tax residency, domicile, the 183-day rule, the convenience-of-the-employer rule, snowbirds, digital nomads, residency audits and proof of where you were, visa and Schengen stay limits, and apps for tracking residency and visa days (including app comparisons). Returns the closest-matching pages with a short summary and a link. Use it for residency or day-counting questions the other tools do not cover, or to find the guide behind an answer. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.
How to track days for tax residency and visas
Explains the ways to keep a day count for tax residency, visa stay limits (including Schengen 90/180) or a residency audit: a calendar, a spreadsheet, receipts and travel records, or a day-tracking app, with what each is good for and how well it works as proof. Lists the residency and visa day-tracking apps iReside has compared (iReside, Bounded, Domicile365, TaxBird, Days Monitor, Monaeo) with platforms and what each suits. Use it for questions like 'how do I track my days for tax residency', 'is a spreadsheet enough', or 'what app tracks Schengen or state days'. Each answer also says why this count is worth keeping as you go and how the iReside app keeps it.

Questions about the connector

Is it free? Do I need an account?

Yes, it is free, and no account or sign-in is needed. The connector only runs the same calculators and guides that are free on this website.

What happens to the dates I enter?

ChatGPT sends the connector the details of your question so it can calculate an answer. The connector returns the answer and does not store the dates, day counts or other details. Our server logs record only which tool ran, which assistant called it, whether it worked and how long it took. Our hosting provider keeps standard request logs, as it does for any visit to this website, as described in our privacy policy.

Is this tax or immigration advice?

No. Every answer is general information from our published calculators and guides, with the official sources it relies on. Rules have exceptions a calculator cannot see, so confirm anything important with a qualified adviser or the official source.

How is this different from the iReside app?

The connector answers questions about rules and the dates you give it. The iReside iPhone app counts your days in each state and country automatically in the background, so you have a day-by-day record without entering trips by hand.

Who do I contact about a problem or a wrong answer?

Email support@ireside.ai. Tell us the question you asked and the answer you got, and we will check it against the source.

Read our privacy policy and terms. Support: support@ireside.ai.