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 或更高版本。需能访问托管端点。
安装前请注意
均为只读查询,不要求账号或密钥。结果为基于提供方方法论的估算;股权收入不作为输入项,因此股权占比高的薪酬方案只能作方向性参考。查询会发送至提供方服务器,并受边缘限流约束。

AI 概览如何生成和校验

安装

在 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

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

Claude Desktop / ChatGPT Desktop

{
  "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

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

Codex CLI

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:

{
  "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.

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):

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.…

输入参数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…

输入参数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…

输入参数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…

输入参数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…

输入参数city必填

版本历史

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

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

这个评分如何计算