streamable-httpMITupdated 2mo ago
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.
What can you do with cityparity — Cost of Living & Quality of Life Comparison?
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).
- Site: https://cityparity.com
- Install docs (every client): https://cityparity.com/mcp
- Machine-readable docs: https://mcp.cityparity.com/llms.txt
- OpenAPI (REST mirror): https://mcp.cityparity.com/openapi.json
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
| Tool | What it does |
|---|---|
compare_cities |
Full scenario comparison between two cities: take-home, cost breakdown, equivalent target salary, lifestyle deltas, quality score. |
list_cities |
Discover supported city slugs, grouped by country. |
get_city_summary |
One-city profile: tax shape, headline costs, safety-net values. |
rank_cities |
Top N cities by composite quality score, with custom weights and region/country filters. |
get_safety_net |
Parental leave, universal-healthcare flag, vacation, public holidays for 1 to 20 cities. |
get_inbound_tax_regime |
Inbound-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 var | Default | Purpose |
|---|---|---|
CITYPARITY_MCP_URL |
https://mcp.cityparity.com/mcp |
Override the upstream endpoint (local dev) |
CITYPARITY_MCP_DEBUG |
unset | Log 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/
Install
Add cityparity — Cost of Living & Quality of Life Comparison to your client. Pick the one you use.
claude mcp add --transport http cityparity-cost-of-living-quality-of-lif https://mcp.cityparity.com/mcpcodex mcp add cityparity-cost-of-living-quality-of-lif --url https://mcp.cityparity.com/mcp{
"mcpServers": {
"cityparity-cost-of-living-quality-of-lif": {
"url": "https://mcp.cityparity.com/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"cityparity-cost-of-living-quality-of-lif": {
"type": "http",
"url": "https://mcp.cityparity.com/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"cityparity-cost-of-living-quality-of-lif": {
"url": "https://mcp.cityparity.com/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"cityparity-cost-of-living-quality-of-lif": {
"serverUrl": "https://mcp.cityparity.com/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
6 tools
cityparity — Cost of Living & Quality of Life Comparison exposes 6 tools to a connected agent.
- compare_cities
- Full scenario comparison between two cities: take-home, cost breakdown, equivalent target salary, lifestyle deltas, quality score.
- list_cities
- Discover supported city slugs, grouped by country.
- get_city_summary
- One-city profile: tax shape, headline costs, safety-net values.
- rank_cities
- Top N cities by composite quality score, with custom weights and region/country filters.
- get_safety_net
- Parental leave, universal-healthcare flag, vacation, public holidays for 1 to 20 cities.
- get_inbound_tax_regime
- Inbound-worker regimes: Italy impatriati, Portugal IFICI, Belgium expat, Poland B2B ryczałt, Greece inbound.
Score
72 / 100
Good
- Documentation25/25
- Maintenance16/25
- Trust13/20
- Capability6/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 67 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 6 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.1.0Latest | May 31, 2026 |