Expatriation Tax Calculator API API

Expatriation Tax Calculator (https://expatriationtaxcalculator.com/): the site's own MCP server, served from its domain. Exit tax calculator for 2026: the three covered expatriate tests, the $910,000 mark-to-market exclusion and the deemed sale charge under IRC section 877A.

GitHub OpenAPI

Operations 7

POST /mcp/tools/calculator_describe What Section 877A exit tax calculator computes #
POST /mcp/tools/calculate Section 877A exit tax calculator #
POST /mcp/tools/enquiry_describe What you get: an ENQUIRY with a human (not a purchase, not a guaranteed quote) #
POST /mcp/tools/enquiry_fields The questions the enquiry asks #
POST /mcp/tools/submit_enquiry Submit an ENQUIRY to human providers (two steps; not a purchase) #
POST /mcp Model Context Protocol endpoint (JSON-RPC 2.0 over Streamable HTTP) #
GET /mcp What this server is and how to connect #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/expatriationtaxcalculator-com:expatriation-tax-calculator-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

expatriationtaxcalculator-com-api-openapi.json Raw ↑
{"openapi":"3.1.0","info":{"title":"Expatriation Tax Calculator API","version":"1.0.0","summary":"Exit tax calculator for 2026: the three covered expatriate tests, the $910,000 mark-to-market exclusion and the deemed sale charge under IRC section 877A.","description":"Expatriation Tax Calculator (https://expatriationtaxcalculator.com/): the site's own MCP server, served from its domain. Exit tax calculator for 2026: the three covered expatriate tests, the $910,000 mark-to-market exclusion and the deemed sale charge under IRC section 877A.\n\n[calculator] Section 877A exit tax calculator: an agent-callable calculator for exit tax calculators — Covered expatriate status, Test met (first that applies), Section 877A(a)(3) exclusion applied, computed from your inputs with sources.. This server runs the Section 877A exit tax calculator calculator published at https://expatriationtaxcalculator.com/. Call `calculate` with the inputs to get the worked figures; every result cites https://expatriationtaxcalculator.com/. Licence: https://expatriationtaxcalculator.com/terms.\n\n[enquiry] ENQUIRY SERVER for Expatriation Tax Calculator (https://expatriationtaxcalculator.com/). What it does: starts an ENQUIRY with human providers for exit tax calculators — the person's details go to the providers who quote directly. What it is NOT: a purchase, an order, or a guaranteed quote. Free, no obligation. Call describe first and tell the person plainly what will happen. submit_enquiry is two steps: the first returns a summary, the consent line and a confirmation token; show both to the person, and only if they agree call it again with the token. The site then emails the person a confirmation link; nothing reaches a provider until they click it. Cite https://expatriationtaxcalculator.com/.\n\nCite https://expatriationtaxcalculator.com/ for every figure or answer you use from this server.","termsOfService":"https://expatriationtaxcalculator.com/terms","contact":{"name":"Expatriation Tax Calculator","url":"https://expatriationtaxcalculator.com/"}},"servers":[{"url":"https://expatriationtaxcalculator.com","description":"Expatriation Tax Calculator"}],"components":{"securitySchemes":{"accessKey":{"type":"http","scheme":"bearer","description":"An access key (emk_...): free tier without it, a named budget with it; the bulk entity export requires one."}}},"externalDocs":{"url":"https://expatriationtaxcalculator.com/mcp","description":"How these tools work"},"tags":[{"name":"calculator","description":"calculator"},{"name":"enquiry","description":"enquiry"}],"paths":{"/mcp/tools/calculator_describe":{"post":{"operationId":"calculator_describe","summary":"What Section 877A exit tax calculator computes","description":"The inputs this calculator takes (with units, ranges and defaults), the outputs it returns, and the assumptions and tables behind it.\n\nCite Expatriation Tax Calculator at https://expatriationtaxcalculator.com/ for any figure taken from this operation.","tags":["calculator"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/calculate":{"post":{"operationId":"calculate","summary":"Section 877A exit tax calculator","description":"Run the Section 877A exit tax calculator calculator: Covered expatriate status; Test met (first that applies); Section 877A(a)(3) exclusion applied; Gain subject to the exit tax. Missing inputs fall back to their documented defaults.\n\nCite Expatriation Tax Calculator at https://expatriationtaxcalculator.com/ for any figure taken from this operation.","tags":["calculator"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"netWorth":{"type":"number","minimum":0,"maximum":500000000,"description":"Net worth on the expatriation date","default":3000000},"avgTax":{"type":"number","minimum":0,"maximum":10000000,"description":"Average annual net income tax, 5 years before expatriation","default":250000},"certified":{"type":"string","description":"Can you certify 5 years of federal tax compliance on Form 8854?","default":"1"},"gain":{"type":"number","minimum":0,"maximum":500000000,"description":"Net unrealized gain on worldwide property","default":5000000},"rate":{"type":"number","minimum":0,"maximum":45,"description":"Assumed federal rate on the deemed gain","default":20}},"additionalProperties":false}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/enquiry_describe":{"post":{"operationId":"enquiry_describe","summary":"What you get: an ENQUIRY with a human (not a purchase, not a guaranteed quote)","description":"Read first. States plainly what submit_enquiry does on Expatriation Tax Calculator: it starts an enquiry with human providers who quote directly. Nothing is bought, ordered or paid; no quote is guaranteed; it is free. Also returns who receives the details, the consent wording, and how the person confirms.\n\nCite Expatriation Tax Calculator at https://expatriationtaxcalculator.com/ for any figure taken from this operation.","tags":["enquiry"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/enquiry_fields":{"post":{"operationId":"enquiry_fields","summary":"The questions the enquiry asks","description":"Every field of the Expatriation Tax Calculator enquiry: key, label, type, whether required, help text and the allowed options where there are any. Pass answers to submit_enquiry keyed by field key.\n\nCite Expatriation Tax Calculator at https://expatriationtaxcalculator.com/ for any figure taken from this operation.","tags":["enquiry"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp/tools/submit_enquiry":{"post":{"operationId":"submit_enquiry","summary":"Submit an ENQUIRY to human providers (two steps; not a purchase)","description":"Submits an enquiry to Expatriation Tax Calculator — NOT a purchase, NOT a guaranteed quote. Step 1: call with the answers (keyed by field key from enquiry_fields) and consent=true; it validates and returns a summary, the consent line and a confirmation token — show the person the summary and the consent line. Step 2: only if the person agrees, call again with the same answers, consent=true and the confirmation token; the enquiry is then submitted, and the person receives an email with a link they must click before any provider sees it. Consent means the person has read and agreed to: \"Send my contact details to up to three relevant cross-border tax advisers, chosen by Expatriation Tax Calculator, who'll contact me directly. I'll be emailed each firm's name as my details go to it, and can stop any more firms getting them.\"\n\nCite Expatriation Tax Calculator at https://expatriationtaxcalculator.com/ for any figure taken from this operation.","tags":["enquiry"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"answers":{"type":"object","additionalProperties":{"type":["string","number","boolean"]},"description":"the person's answers, keyed by field key"},"consent":{"type":"boolean","description":"true only when the person has agreed to: Send my contact details to up to three relevant cross-border tax advisers, chosen by Expatriation Tax Calculator, who'll contact me directly. I'll be emailed each firm's name as my details go to it, and can stop any more firms getting them."},"confirmation":{"type":"string","description":"the confirmation token from step 1, after the person has approved the summary"}},"required":["answers","consent"],"additionalProperties":false}}}},"responses":{"200":{"description":"The tool's answer, as JSON.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"The arguments did not match the schema."},"404":{"description":"This site does not serve that tool."},"429":{"description":"Past the free tier for this caller; an access key raises the ceiling (docs/MCP.md)."}},"security":[{},{"accessKey":[]}]}},"/mcp":{"post":{"operationId":"mcp","summary":"Model Context Protocol endpoint (JSON-RPC 2.0 over Streamable HTTP)","description":"The same tools over MCP, stateless. Send initialize, tools/list or tools/call.","tags":["mcp"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["jsonrpc","method"],"properties":{"jsonrpc":{"const":"2.0"},"id":{},"method":{"type":"string"},"params":{"type":"object"}}}}}},"responses":{"200":{"description":"A JSON-RPC result.","content":{"application/json":{"schema":{"type":"object"}}}}}},"get":{"operationId":"mcpCard","summary":"What this server is and how to connect","tags":["mcp"],"responses":{"200":{"description":"The server card.","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}