Loading...
Loading...
AI-assistant invocation surface
The WhereNext MCP server lets AI assistants — Claude Desktop, Cursor, OpenAI agents, Perplexity, any Model Context Protocol client — invoke our relocation intelligence directly: shortlist countries, compare destinations, score readiness, estimate first-year cost, look up sources, run natural-language queries, get a regulator-cited eligibility verdict, verify a relocation claim against our cited figures, check citizenship-by-descent eligibility, and — with explicit user consent — submit a partner-intro request. 16 tools total. Streamable HTTP transport at /api/mcp, plus an stdio entry for local installs.
POST https://getwherenext.com/api/mcpGET https://getwherenext.com/.well-known/mcp.jsonnpx tsx scripts/mcp-server.ts16 tools total. 15 are read-only and safe to call without confirmation. The 16th — request_provider_handoff — mutates state (creates a partner-intro lead) and requires explicit consent from the end user before invocation.
shortlistRead-onlyRank countries server-side from caller-supplied dimensional weights.
compareRead-onlySide-by-side scoring for 2–4 countries with per-dimension winners.
relocation_readinessRead-only0–100 readiness score, severity-tagged blockers, top next step.
first_year_costRead-onlyMove-in cash + monthly recurring + one-time cost for a destination + household.
advisor_packetRead-onlyDisclosure copy, required fields, questions, document checklist per provider category.
source_lookupRead-onlyFind canonical WhereNext sources (datasets + visa registry) by free-text query.
nl_queryRead-onlyFree-form question parsed into passport / household / budget / persona / dimension weights, then scored.
plan_relocationRead-onlyOne unified workflow: NL parse or case → shortlist → per-destination readiness + cost + recommendation.
eligibility_verdictRead-onlyDeterministic, regulator-cited verdict on whether an applicant meets a visa pathway's published financial threshold (income / savings / age). A $0-minimum programme is reported as 'near', never a confident pass; sources never fabricated.
claim_verifyRead-onlyVerify a structured relocation-threshold claim against WhereNext's cited figure: AGREES / DISAGREES_WITH_FIGURE / PARTIALLY / UNVERIFIED / UNMODELLED. A comparison to a named source, never a truth judgment; DISAGREES always carries a programme-specific citation.
descent_eligibilityRead-onlyConservative, primary-source-cited verdict on whether you can claim citizenship BY DESCENT through a given ancestor (Canada, Italy, Ireland, Poland): eligible / likely / not_eligible / needs_more_info with the exact rule, any 2024-2026 change (Bill C-3, Law 74/2025), the next step, and the named authority + primary source + verified date. Never a fabricated rule; never a confident verdict on a nuanced case.
tax_residencyRead-onlyConservative, authority-cited 183-day tax-residency verdict for 8 countries (PT/ES/DE/TH/CY/AE/GB/US): likely_resident / likely_not_resident / depends_tie_breaker / needs_professional with the tax-year basis, named tax authority + verified date, and the official statutory-test link. UK SRT + US SPT defer to the official test. Decision support, not tax advice.
pet_importRead-onlyConservative, authority-cited pet (dog/cat) import timeline for the EU/UK/AU/JP/CA/AE: ordered official steps + how far ahead to start (the rabies-titer wait adds 3 months EU/UK or 180 days AU/JP; the UAE gates the titer on MOCCAE's low-risk list), quarantine, named animal authority + verified date, official checker URL. Defaults to the longer path when origin is unsure. Decision support, not a customs guarantee.
golden_visa_matchRead-onlySource-cited matcher ranking the ACTIVE golden-visa (residency-by-investment) programmes for a budget + goals (Schengen / EU-citizenship / family) + presence tolerance: each returned eligible / borderline / over_budget with the verbatim minimum, presence days, years-to-citizenship, Schengen + EU flags, closure-risk, and the named official source + verified date. Closed programmes never shown; open-reforming flagged. Decision support, not legal advice.
corridor_readinessRead-onlyComposes one from→to view of which WhereNext primary-sourced checks (descent, tax-residency, pet-import, visa-eligibility) are modelled for a corridor — each ready_to_check or not_yet_modeled, deep-linked + cited. Honest by construction: an unsupported pair is not_yet_modeled, never fabricated. Maps coverage + provenance; computes no verdict itself.
request_provider_handoffMutating · requires consentSubmit a consented vetted-provider-intro on the user's behalf. REQUIRES consent record with the exact disclosure copy.
Add to claude_desktop_config.json or your client's MCP config:
{
"mcpServers": {
"wherenext": {
"command": "npx",
"args": [
"-y", "mcp-remote",
"https://getwherenext.com/api/mcp",
"--header", "Authorization: Bearer ${MCP_BEARER_TOKEN}"
],
"env": {
"MCP_BEARER_TOKEN": "your-token-here"
}
}
}
}MCP uses JSON-RPC 2.0 over Streamable HTTP. The endpoint is stateless: every request is built fresh and authenticated independently, so there is no session to carry between calls — each request just sends the bearer token plus the MCP-Protocol-Version header. (For a managed local bridge, use mcp-remote as shown above.)
curl -X POST https://getwherenext.com/api/mcp \
-H "Authorization: Bearer your-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2025-06-18" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": { "name": "curl-client", "version": "1.0.0" }
}
}'curl -X POST https://getwherenext.com/api/mcp \
-H "Authorization: Bearer your-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2025-06-18" \
-d '{ "jsonrpc": "2.0", "id": 2, "method": "tools/list" }'request_provider_handoffThis is the only tool that mutates state. It creates a row in public.partner_intros and triggers a human review at WhereNext (typically within 2 business days; not a guaranteed SLA). Agents calling it MUST:
advisor_packet tool, per category).consent.disclosure field. Every row's consent_trail is manually audited.Fabricating consent on a user's behalf is a serious safety violation and will lead to the bearer token being revoked. See /providers for the policy WhereNext applies after a lead lands.