cityparity — Cost-of-Living & Quality-of-Life Comparison

com.cityparity由 cityparity.com 發布官方發布者v0.1.0更新於 Oct 24, 2026

Cost-of-living & quality-of-life comparison: take-home pay, equivalent salary, safety-net deltas.

已驗證Streamable HTTP可網頁執行位置與生活金融

概覽

AI 產生的概覽

託管型 MCP 伺服器,用來比較城市間的稅後收入、生活成本、等效薪資,以及假期、醫療等生活品質因素。

可以做什麼
比較兩個城市在特定家庭情境下的稅後收入、成本明細、目標城市等效薪資、非現金生活差異與品質評分。依國家列出支援的城市代稱,並取得單一城市的稅制、主要成本與保障網概況。依加權生活品質評分排序城市,可依國家、地區與全民健保篩選。批次查詢最多 20 個城市的育嬰假、法定假期、國定假日與全民健保。查詢針對外派員工的特殊入境稅務制度。
適用情境
適合在考慮搬遷或遠距工作移居時,需要比較薪資、成本與福利而非只估算房租的情境,也適合依生活品質因素篩選候選城市。
執行需求
遠端 Streamable HTTP 端點,不需帳號或 API 金鑰。僅支援 stdio 的用戶端可使用 npm 橋接套件,需要 Node.js 20 以上版本。需要能連線至該託管端點的網路。
安裝前請注意
皆為唯讀查詢,不需帳號或金鑰。查詢會傳送給第三方託管方,其保留標準 HTTP 伺服器日誌。結果為模型估算:RSU 收入不列為輸入,提供方表示對保留美國雇主的遠距工作者而言,結果僅供方向參考。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 cityparity — Cost-of-Living & Quality-of-Life Comparison,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.cityparity%2Fcityparity/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "cityparity-cost-of-living-quality-of-lif": {
      "type": "http",
      "url": "https://mcp.cityparity.com/mcp"
    }
  }
}

README

cityparity MCP server

Cost-of-living and quality-of-life comparison tools that AI agents can call. Point an agent at two cities and it returns take-home pay, a full cost breakdown, the equivalent salary you'd need in the target city, and the non-cash deltas people actually move for: vacation, parental leave, universal healthcare.

Hosted at https://mcp.cityparity.com/mcp. Free, no API key, rate-limited at the edge. Built on the Model Context Protocol (spec 2025-06-18, Streamable HTTP).

What it covers

About 165 cities across 69 countries. Most calculators stop at salary and rent. cityparity prices the social safety net (childcare subsidies, parental leave, statutory vacation, universal healthcare), so "the lower-salary city actually pays more" stops being a hand-wave and becomes a number.

Tools

ToolWhat it does
compare_citiesFull scenario comparison between two cities: take-home, cost breakdown, equivalent target salary, lifestyle deltas, quality score.
list_citiesDiscover supported city slugs, grouped by country.
get_city_summaryOne-city profile: tax shape, headline costs, safety-net values.
rank_citiesTop N cities by composite quality score, with custom weights and region/country filters.
get_safety_netParental leave, universal-healthcare flag, vacation, public holidays for 1 to 20 cities.
get_inbound_tax_regimeInbound-worker regimes: Italy impatriati, Portugal IFICI, Belgium expat, Poland B2B ryczałt, Greece inbound.

City slugs are kebab-case (san-francisco, hong-kong). Call list_cities first if you're unsure.

Connect

Most modern clients speak Streamable HTTP and need no install. Just point them at the URL.

Claude Code

bash
claude mcp add --transport http cityparity https://mcp.cityparity.com/mcp

Claude Desktop / ChatGPT Desktop

json
{  "mcpServers": {    "cityparity": {      "url": "https://mcp.cityparity.com/mcp"    }  }}

Claude Desktop config lives at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows). ChatGPT Desktop uses …/OpenAI/ChatGPT/mcp.json. Restart the app after editing.

Cursor

json
{  "name": "cityparity",  "url": "https://mcp.cityparity.com/mcp"}

Codex CLI

yaml
mcpServers:  cityparity:    url: https://mcp.cityparity.com/mcp

Stdio-only clients (this package)

If your client can't do HTTP MCP yet, the npm package in this repo bridges stdio → HTTP:

json
{  "mcpServers": {    "cityparity": {      "command": "npx",      "args": ["-y", "cityparity-mcp"]    }  }}

The bridge (this package)

cityparity-mcp is a ~150-line stdio→HTTP forwarder. It reads line-delimited JSON-RPC from stdin, POSTs each line to the MCP endpoint, and writes the responses back to stdout (streaming SSE line by line). That's the whole job: no data, no calc engine, no secrets. Read bin/cityparity-mcp.mjs if you want to verify.

bash
npm install -g cityparity-mcp   # or use npx, as above
Env varDefaultPurpose
CITYPARITY_MCP_URLhttps://mcp.cityparity.com/mcpOverride the upstream endpoint (local dev)
CITYPARITY_MCP_DEBUGunsetLog request/response framing to stderr

Run the tests (zero dependencies, Node ≥ 20):

bash
npm test

Methodology

The full methodology (how taxes, costs, childcare subsidies, and safety-net scoring work) is on the homepage. One thing worth flagging: RSU income is not an input. Grants are treated as source-only because they usually don't follow you across employers. If you're keeping a US employer remotely, treat the result as directional in that direction.

Privacy

Queries reach mcp.cityparity.com and nothing else. No accounts, no client-side telemetry, nothing personally identifiable logged beyond standard HTTP server logs.

License

MIT. cityparity's underlying data and calculation engine are not part of this package. This repo is the public MCP surface plus the open-source stdio bridge.


Found a bug or want a city added? https://cityparity.com/contact/

來源:README.md,提交 b933764

工具

6

compare_cities

Compare two cities for a household

Compare two cities for one household: take-home pay, full cost breakdown, the equivalent target salary needed to match source net cash, non-cash lifestyle deltas (vacation, parental leave, healthcare), and a 0-100 quality score on five weighted dimensions. Use this for a head-to-head between two named cities; for a single city call get_city_summary, and to rank many cities call rank_cities. Read-only, no side effects; returns a text summary plus structured JSON. RSU income is NOT a parameter; RSU is treated as source-only because grants typically do not follow you across employers.

輸入參數livingadvancedhouseholdsource_city必填target_city必填gross_salary必填score_weights

list_cities

List supported cities by country

List all city slugs supported by cityparity, grouped by country. Call this first to discover valid slugs before any other tool; the optional country filter narrows to one country. Read-only, no side effects; returns a text summary plus structured JSON.

輸入參數country

get_city_summary

Get a one-city profile

Concise profile of one city: currency, tax shape (bracket count + top rate + payroll/national insurance), headline costs (rent / groceries / transit / childcare), safety-net values (parental leave, vacation, universal healthcare), and data freshness. Lighter than compare_cities; use when the user is asking about one place rather than a comparison. On parental leave, quote safety_net.parental_leave_summary rather than building your own sentence: some countries (Ireland, Australia, the UK, Czechia, part of Sweden) pay a flat weekly cash sum instead of a share of salary, so parental_leave_paid_pct is 0 or partial for them and stating it alone would wrongly call their leave unpaid. safety_net.avg_commute_minutes is a ONE-WAY commute, a single leg rather than a daily round trip: report it as "about N minutes each way", and double it yourself if the user asked what they spend commuting per day. It is door to door, averaged over every commuter regardless of mode, for the metro area, and excludes people who work from home. Childcare monthly fields are raw rates before modeled help. When childcare_income_tested or child_benefits_income_tested is present, use compare_cities with household income and child ages to price the rules; a flat subsidy or allowance alone is incomplete. Read-only, no side effects; returns a text summary plus structured JSON.

輸入參數city必填

rank_cities

Rank cities by composite quality score

Rank supported cities by composite quality-of-life score across five weighted dimensions (financial, healthcare, vacation, childcare, safety_net). Returns top N (default 10), with filters for country, countries, region (europe/asia/north_america/south_america/oceania), has_universal_healthcare, include_cities, and exclude_cities. Use this to shortlist across many cities; for a head-to-head between two named cities use compare_cities. The same scenario is applied to every city so scores are directly comparable (default: single person, 2BR rent, $100k USD-equivalent gross). Read-only, no side effects; returns a text summary plus structured JSON.

輸入參數limitfilterweightsscenario

get_safety_net

Look up family safety net for several cities

Batch lookup of safety-net values for 1 to 20 cities at once: parental leave weeks + how it is paid, universal healthcare flag, vacation days, public holidays (public_holidays is the count the statute lists; public_holidays_effective is how many of those fall on a working day once you account for whether the country replaces a weekend holiday, so quote the effective figure whenever you compare two places on time off), plus each city's safety_net dimension score (0-100) for relative strength. This is the only tool that accepts many cities in one call: use it to line several places up on family / leave / healthcare benefits. On parental leave, quote parental_leave_summary rather than composing your own line from parental_leave_paid_pct: Ireland, Australia, the UK, Czechia and part of Sweden pay a flat weekly cash sum instead of a share of salary, so their headline percentage is 0 or partial and reading it alone would wrongly call their leave unpaid; Germany pays a percentage up to a monthly cap (parental_leave_capped) and pays nothing at all above a household-income ceiling. Check parental_leave_basis (percentage / flat / capped / mixed / unpaid) before making any claim about pay. On sick pay, quote sick_leave_policy rather than composing your own line from sick_leave.phases: it is the STATUTORY FLOOR for someone in their first year of service, phases run one AFTER another rather than stacking, and the durations carry units that differ by country (Slovenia counts working days, Denmark counts calendar days), so sick_leave.paid_weeks is deliberately null wherever the phases are measured against different reference periods and no single total exists. For one city's full profile (tax shape + costs + safety net together) call get_city_summary instead; for a two-city head-to-head that includes cost-of-living use compare_cities. Read-only, no side effects; returns a text summary plus structured JSON.

輸入參數cities必填

get_inbound_tax_regime

Look up inbound-worker tax regime for a city

Look up a city's inbound-worker tax regime, the special reduced-tax schemes for relocating workers that general cost-of-living tools do not surface. Returns regime=null when the country has no modeled regime, which is most cities. Modeled across 13 regimes in Belgium, Denmark, Germany, Greece, Ireland, Italy, Netherlands, Norway, Poland, Portugal, Spain, Sweden and the UK. Roughly half grant an actual reduction (a reduction_pct or a flat_rate) and the rest are note-only: the regime exists but grants a relocating employee nothing, so reduction_pct and flat_rate are null and the take-home is computed on ordinary tax. Each entry returns the mechanic, duration, income cap if any, and a note stating the salary floor where one exists and which eligibility conditions we do not test. Read-only, no side effects; returns a text summary plus structured JSON.

輸入參數city必填

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分