Residays

For Claude, ChatGPT and other AI apps

Ask your AI app about your days.

Ask Claude or ChatGPT in your own words. It reads your trips from Residays and gives you the numbers. With your OK, it can also add planned trips for you.

You: What’s the latest I can fly back to Malaysia this year and still be resident?

Assistant: Be back by 28 November 2026. You need 34 more days there to reach 182. This is an estimate, not tax advice.

Connect

Connect in 3 steps

You need a Residays account (the free plan works) and a Claude or ChatGPT account.

Claude ChatGPT
  1. Open connectors

    In Claude, open Settings, then Connectors, then Add custom connector.

  2. Paste the address

    Paste this address and save.

    https://tax.liongkj.com/mcp
  3. Sign in to Residays

    Sign in when asked. Choose if Claude may only read, or also add planned trips.

Using another AI app? Look for a way to add a custom connector and paste the same address.

Real answers

What you can ask

These are real answers. We asked a made-up traveller’s account on 22 November 2026.

You: How many days have I spent in Malaysia this year?

Assistant: You have 148 days in Malaysia so far in 2026. You aim for 182, so that is 34 to go, and your trips as logged fall short. In the UK you have 114 days this tax year. I need a few answers from you to say where you stand there.

You: Would going to London from 3 to 20 May 2027 put my UK status at risk?

Assistant: That trip adds up to 17 days in the UK in 2027-28. The closest test starts at 46, so you have 28 to spare. Malaysia stays on track too, at 349 days against 182. Nothing is saved.

You: Add my flight home on 26 November as a plan.

Assistant: Saved as a plan. With it, Malaysia comes to 184 days against 182, which is tight. Your UK stay drops from 248 days to 117. Confirm the trip in Residays after you fly.

You: Give me a day count report for 2026 for my accountant.

Assistant: Malaysia: 148 days counted, 184 with your planned flight home. UK: 114 days counted, 117 planned. Every trip is listed with its date and whether it is confirmed or still a plan.

Alex Sample is made up. Alex lives in Kuala Lumpur, wants to stay resident in Malaysia and out of UK residency, and is in the UK now.

New in ChatGPT

Let it keep watch

Ask ChatGPT to tell you a few days before you need to be back. When the day comes, Residays lets ChatGPT know, so it can remind you or help you plan the trip home. You don’t have to open a chat first.

  1. You ask, once

    You: Tell me 3 days before I need to be back in Malaysia.

  2. On 25 November, ChatGPT hears from Residays

    Be back in Malaysia

    The last day to arrive back in Malaysia and still reach the 182-day mark for 2026: you need 34 more days there.

    28 November 2026 · 3 days left

  • ChatGPT only, for now. It works in Work chats, on the web or in the desktop app with Cloud.
  • Reminders before a key date are on every plan, free included. Nothing to set up in Residays.
  • With Premium, ChatGPT can also hear at once when a trip puts a residency at risk.

Limits

What it can and can’t do

It can

  • Show your trips, your days in each country and where you stand.
  • Try a trip first, to see what it would do. Nothing is saved.
  • If you allowed it, add a trip as a plan, change or cancel a plan, and set a reminder (Premium).
  • Tell you straight away when a plan would cost you a residency you want to keep.

It can’t

  • Change trips you have confirmed. Do that in Residays.
  • Delete anything. A cancelled trip stays in your history.
  • Go past your plan. Like the app, the free plan covers 2 countries.

Your data and how to disconnect

The AI app sees the trips and results it asks for, and its own privacy policy covers what it does with them. It sees only your own travel, never what others share with you, and it can’t read your email. Our privacy policy and terms apply.

To disconnect, open Residays, then Settings, then Connected AI apps, and disconnect the app. It loses access at once. Deleting your account disconnects every app.

Something not working?

It says it can’t add trips.

You connected it for reading only. In Residays, open Settings, then Connected AI apps, and disconnect it. Connect it again and tick the box that lets it add and change planned trips.

It won’t change or cancel a trip.

AI apps can change only planned trips. Change a confirmed trip in Residays itself.

It won’t look at a country on the free plan.

The connector follows your plan like the app does. Add the country in Residays (the free plan covers 2 countries) or upgrade to Premium. Asking about a country’s rules works for any country.

The AI app says it is busy or limited.

Wait a minute and ask again.

Help

Questions or problems: email hello@tax.liongkj.com. Residays is run by EZBUDDY BOOKING TECHNOLOGY SERVICES, Malaysia.

For developers

Residays is an MCP server at https://tax.liongkj.com/mcp (remote, streamable HTTP, OAuth). Claude Code: claude mcp add --transport http residays https://tax.liongkj.com/mcp. Cursor, VS Code and others: add a remote MCP server of type HTTP with that address. Scopes are trips:read and, if the user allows it, trips:write.

Prompts offered as shortcuts: plan a trip, where do I stand, add a booking (changes only), catch up and year-end report. Apps that draw MCP Apps cards get a card with each result; others get text. Calls are limited per account each minute (30 on Free, 120 on Premium). ChatGPT can subscribe to the key_date.approaching and residency.warning events (webhook delivery); see docs/mcp.md.

Tool reference

Read tools are on every connection; change tools only when the user allowed changes.

ToolAccessWhat it returns
residency_status
Residency status
ReadEach tracked country (or one in full) for a tax year: goal state, days counted and projected, the rule measured against, the day plans reach it, the latest day to be back, open questions and warnings.
check_travel
Check travel
ReadA what-if for new legs, plans to cancel or plans to move, several options side by side: severity, a one-line verdict, and days before and after per country. Saves nothing.
trips
Trips
ReadSaved border crossings with status (planned, inferred, confirmed, cancelled) and source, for a year or between two dates.
country_rules
Country rules
ReadHow a country is covered; when published, how days are counted, each residency test in plain words with citation and official sources, and the questions it asks. Nothing about you.
set_goal
Set a residency goal
ChangeSaves whether you want to be resident in a country or stay out, and the rule you aim for. Returns that country’s status.
add_trips
Add planned trips
ChangeSaves crossings as planned trips; returns severity, verdict, days before and after, and what Residays does next.
change_trip
Change or cancel a planned trip
ChangeChanges or cancels one planned trip by id; same impact report as add_trips. Nothing is deleted.
answer_questions
Answer residency questions
ChangeSaves your answers to a country’s questions for a year and returns the updated assessment.
create_reminder
Create a reminder
ChangeAn email reminder at an exact time, once or repeating daily or weekly. Premium, with email reminders on.

Older names that still work: list_trips (use trips), assess_residency (use residency_status), travel_window (use residency_status), residency_overview (use residency_status), simulate_trips (use check_travel), get_day_count_report (use trips), update_trip (use change_trip), cancel_trip (use change_trip).

Sample calls and results

Real results from the made-up traveller above, captured on 2026-11-22, with parts cut out where you see …. Saved trips: 2026-03-01 GB→MY, 2026-06-02 MY→SG, 2026-06-09 SG→MY, 2026-08-01 MY→GB. Goals: stay resident in MY; stay out of residency in GB.

How many days have I spent in Malaysia this year, and where do I stand in the UK?

Reads every country you track for 2026 in one call.

Call residency_status with

{
  "year": 2026
}

Result (excerpt)

{
  "year": 2026,
  "countries": [
    {
      "country": "MY",
      "countryName": "Malaysia",
      "state": "off_track",
      "stateWords": "off track: the trips as logged fall short",
      "rule": {
        "label": "182-day test",
        "days": 182
      },
      "countedToday": 148,
      "projectedDays": 148,
      "toGo": 34,
      "arriveBackBy": "2026-11-28",
      …
    },
    {
      "country": "GB",
      "countryName": "United Kingdom",
      "state": "needs_answer",
      "stateWords": "waiting on an answer",
      "rule": {
        "label": "Sufficient ties test (UK resident before)",
        "days": 91
      },
      "countedToday": 114,
      "projectedDays": 248,
      …
    }
  ],
  …
}
What’s the latest I can fly back to Malaysia this year and still be resident?

Asks for Malaysia in full. The return date comes from Residays, not from the AI app.

Call residency_status with

{
  "year": 2026,
  "country": "MY"
}

Result (excerpt)

{
  "year": 2026,
  "countries": [
    {
      "country": "MY",
      "state": "off_track",
      "rule": {
        "label": "182-day test",
        "days": 182
      },
      "countedToday": 148,
      "toGo": 34,
      "moreDaysNeededFromToday": 34,
      "arriveBackBy": "2026-11-28",
      "warnings": [
        …
        {
          "kind": "return_by",
          "message": "To stay resident in Malaysia for 2026, be back by 28 Nov 2026: you need 34 more days there to reach the 182-day mark.",
          "returnBy": "2026-11-28"
        }
      ],
      …
    }
  ],
  …
}
Add my flight home on 26 November as a plan.

Needs a connection that allows changes. The trip is saved as planned.

Call add_trips with

{
  "label": "Flight home",
  "legs": [
    {
      "from": "GB",
      "to": "MY",
      "date": "2026-11-26",
      "time": "09:00",
      "offset": "+08:00"
    }
  ]
}

Result (excerpt)

{
  "severity": "note",
  "verdict": "Malaysia 2026: tight for the 182-day test (was off track: the trips as logged fall short); 148 to 184 projected days against 182. United Kingdom 2026: waiting on an answer for the sufficient ties test (UK resident before); 248 to 117 projected days against 91.",
  "state": "saved",
  "trips": [
    {
      "id": "trp_…",
      "fromCountry": "GB",
      "toCountry": "MY",
      "arriveAt": "2026-11-26T09:00:00+08:00",
      "status": "planned",
      "label": "Flight home",
      …
    }
  ],
  "followUp": [
    "Residays asks the user to confirm each trip in the app once its date has passed; until then it counts as a plan."
  ],
  …
}
Would going to London from 3 to 20 May 2027 put my UK status at risk?

A what-if. Nothing is saved, and the AI app can show it before you decide.

Call check_travel with

{
  "label": "London in May",
  "year": 2027,
  "legs": [
    {
      "from": "MY",
      "to": "GB",
      "date": "2027-05-03"
    },
    {
      "from": "GB",
      "to": "MY",
      "date": "2027-05-20"
    }
  ]
}

Result (excerpt)

{
  "state": "preview",
  "severity": "note",
  "verdict": "Malaysia 2027: on track for the 182-day test; 365 to 349 projected days against 182. United Kingdom 2027: on track to stay out for the sufficient ties test (not UK resident before); 0 to 17 projected days against 46.",
  "residencyImpact": {
    "countries": [
      {
        "country": "MY",
        "year": 2027,
        "projectedExisting": 365,
        "projectedWithScenario": 349,
        "threshold": 182,
        …
      },
      {
        "country": "GB",
        "year": 2027,
        "projectedExisting": 0,
        "projectedWithScenario": 17,
        "threshold": 46,
        "daysToSpare": 28,
        "after": {
          "state": "on_track",
          "rule": {
            "label": "Sufficient ties test (not UK resident before)",
            "days": 46
          },
          …
        },
        …
      }
    ],
    …
  },
  …
}
Give me a day count report for 2026 for my accountant.

Two reads: the saved trips, then each country’s days and outcome.

Call trips with

{
  "year": 2026
}

Result (excerpt)

{
  "year": 2026,
  "generatedAt": "2026-11-22T10:00:00.000Z",
  "trips": [
    {
      "id": "trp_…",
      "fromCountry": "GB",
      "toCountry": "MY",
      "arriveAt": "2026-11-26T09:00:00+08:00",
      "status": "planned",
      "source": "manual",
      "label": "Flight home",
      …
    },
    {
      "id": "trp_…",
      "fromCountry": "MY",
      "toCountry": "GB",
      "arriveAt": "2026-08-01T09:00:00+08:00",
      "status": "confirmed",
      "source": "manual",
      "label": null,
      …
    },
    …
  ],
  …
}

Call residency_status with

{
  "year": 2026
}

Result (excerpt)

{
  "year": 2026,
  "countries": [
    {
      "country": "MY",
      "countedToday": 148,
      "projectedDays": 184,
      "state": "tight",
      "toGo": 34,
      …
    },
    {
      "country": "GB",
      "countedToday": 114,
      "projectedDays": 117,
      …
    }
  ],
  …
}
What are the UK’s residency rules?

Public coverage data. It works for any country, and nothing in it is about you.

Call country_rules with

{
  "country": "GB"
}

Result (excerpt)

{
  "country": "GB",
  "countryName": "United Kingdom",
  "status": "published",
  "dayCounting": "Present at midnight",
  "headlineThreshold": 183,
  "taxYearStarts": {
    "startMonth": 4,
    "startDay": 6
  },
  "tests": [
    …
    {
      "id": "gb-aut-1",
      "label": "183-day test",
      "outcome": "resident",
      "citation": "FA 2013 Sch 45 para 7; RDR3 section 3.1",
      "summary": "You are UK resident if you spend 183 days or more in the UK in the tax year (6 April to 5 April).",
      "sources": [
        {
          "title": "RDR3: Statutory Residence Test (SRT) guidance note",
          "publisher": "HMRC",
          "url": "https://www.gov.uk/government/publications/rdr3-statutory-residence-test-srt/guidance-note-for-statutory-residence-test-srt-rdr3"
        },
        …
      ]
    },
    …
  ],
  …
}
I want to stay tax resident in Malaysia.

Needs a connection that allows changes. The goal and the rule to aim for are saved, so later answers measure against them.

Call set_goal with

{
  "country": "MY",
  "want": "resident",
  "rule": "my-7-1-a"
}

Result (excerpt)

{
  "country": "MY",
  "want": "resident",
  "direction": "resident",
  "rule": "my-7-1-a",
  …
}

Errors

add_trips replies:

add_trips is not available to this connection.

change_trip replies:

Trip trp_… is confirmed. Outside apps can only change planned trips; change it in the Residays app.

residency_status replies:

The free plan assesses the countries it tracks (MY, up to 2). Premium assesses any country.