Zillow API MCP Server (ZilloData)
# Zillow API MCP Server: property data, Zestimates and listings for AI agents
An open-source MCP server for U.S. residential property data. Ask Claude, Cursor, VS Code, Windsurf, Gemini CLI, Codex or any MCP client for a home's price, Zestimate, rent Zestimate, facts, price and tax history, schools, photos and listing agent, or search for-sale, rental and sold homes on a map.
The server runs on your machine over stdio. Each of its 13 tools is defined in [`index.js`](index.js) and calls the [ZilloData REST API](https://zillodata.com/quickstart/?utm_source=github-mcp) with your key. It has no dependencies and needs Node.js 18 or newer. It also ships 3 ready-made prompts and 4 reference resources.
New accounts get **100 free credits, no card**. One credit returns one record.
[Website](https://zillodata.com/?utm_source=github-mcp) · [Get a key](https://zillodata.com/signup?utm_source=github-mcp) · [REST quickstart](https://zillodata.com/quickstart/?utm_source=github-mcp) · [OpenAPI](https://zillodata.com/openapi.json) · [Pricing](https://zillodata.com/pricing/?utm_source=github-mcp) · [Is there a Zillow API?](https://zillodata.com/zillow-api/?utm_source=github-mcp)
> ZilloData is an independent service. It is not affiliated with, endorsed by, or sponsored by Zillow Group, Inc. "Zillow" and "Zestimate" are trademarks of Zillow Group, Inc., used here only to describe the data.
## Contents
- [Quick start](#quick-start)
- [Client setup](#client-setup)
- [No install: the hosted server](#no-install-the-hosted-server)
- [Prompts to try](#prompts-to-try)
- [Tools](#tools)
- [MCP prompts and resources](#mcp-prompts-and-resources)
- [Which tool to use](#which-tool-to-use)
- [Errors and edge cases](#errors-and-edge-cases)
- [Credits, plans and limits](#credits-plans-and-limits)
- [Use the same data from code (REST API)](#use-the-same-data-from-code-rest-api)
- [How this compares to Zillow's own APIs](#how-this-compares-to-zillows-own-apis)
- [FAQ](#faq)
- [Development](#development)
- [Support](#support)
## Quick start
1. Create a free key at [zillodata.com/signup](https://zillodata.com/signup?utm_source=github-mcp). Keys start with `zdk_`.
2. Add the server to your client with the key in its environment:
```json
{
"mcpServers": {
"zillodata": {
"command": "npx",
"args": ["-y", "github:zillodata/zillow-api-mcp"],
"env": { "ZILLODATA_KEY": "zdk_YOUR_KEY" }
}
}
}
```
3. Restart the client and ask: *"What's the Zestimate for 2300 S 5th St APT E, Austin, TX 78704?"*
| Setting | Value |
|---|---|
| Command | `npx -y github:zillodata/zillow-api-mcp` |
| Transport | stdio |
| Environment | `ZILLODATA_KEY` (required for tool calls), `ZILLODATA_API_URL` (optional, defaults to `https://api.zillodata.com`) |
| Protocol versions | 2025-11-25, 2025-06-18, 2025-03-26 |
Without a key the server still starts, lists its tools, prompts and resources, and answers each tool call with a message explaining how to get a key.
## Client setup
### Claude Desktop
`claude_desktop_config.json` (Settings → Developer → Edit Config). Use the JSON from [Quick start](#quick-start) or [examples/claude-desktop.json](examples/claude-desktop.json).
### Claude Code
```bash
claude mcp add zillodata -e ZILLODATA_KEY=zdk_YOUR_KEY -- npx -y github:zillodata/zillow-api-mcp
```
### Cursor
`~/.cursor/mcp.json` for every project, or `.cursor/mcp.json` for one ([example](examples/cursor.json)):
```json
{
"mcpServers": {
"zillodata": {
"command": "npx",
"args": ["-y", "github:zillodata/zillow-api-mcp"],
"env": { "ZILLODATA_KEY": "zdk_YOUR_KEY" }
}
}
}
```
### VS Code (GitHub Copilot agent mode)
`.vscode/mcp.json` in the workspace. VS Code asks for the key once and stores it ([example](examples/vscode.json)):
```json
{
"inputs": [
{ "id": "zillodata-key", "type": "promptString", "description": "ZilloData API key (zdk_...)", "password": true }
],
"servers": {
"zillodata": {
"type": "stdio",
"command": "npx",
"args": ["-y", "github:zillodata/zillow-api-mcp"],
"env": { "ZILLODATA_KEY": "${input:zillodata-key}" }
}
}
}
```
### Windsurf
`~/.codeium/windsurf/mcp_config.json` ([example](examples/windsurf.json)), same shape as Cursor.
### Gemini CLI
`~/.gemini/settings.json` ([example](examples/gemini-settings.json)):
```json
{
"mcpServers": {
"zillodata": {
"command": "npx",
"args": ["-y", "github:zillodata/zillow-api-mcp"],
"env": { "ZILLODATA_KEY": "zdk_YOUR_KEY" }
}
}
}
```
### Codex
`~/.codex/config.toml` ([example](examples/codex-config.toml)):
```toml
[mcp_servers.zillodata]
command = "npx"
args = ["-y", "github:zillodata/zillow-api-mcp"]
env = { ZILLODATA_KEY = "zdk_YOUR_KEY" }
```
### From a clone, or Docker
```bash
git clone https://github.com/zillodata/zillow-api-mcp
ZILLODATA_KEY=zdk_YOUR_KEY node zillow-api-mcp/index.js
```
```bash
docker build -t zillow-api-mcp https://github.com/zillodata/zillow-api-mcp.git
docker run -i --rm -e ZILLODATA_KEY=zdk_YOUR_KEY zillow-api-mcp
```
## No install: the hosted server
If your client supports remote servers, you can skip the install and connect to the hosted version at `https://api.zillodata.com/mcp` (Streamable HTTP). It signs you in with OAuth, so there's no key to paste. It offers four core tools: lookup by address, lookup by zpid, home value and map search.
- **Claude, Claude Desktop, mobile:** Settings → Connectors → Add custom connector → paste the URL.
- **Claude Code:** `claude mcp add --transport http zillodata https://api.zillodata.com/mcp`
- **Cursor:** `{ "mcpServers": { "zillodata": { "url": "https://api.zillodata.com/mcp" } } }`, or the [one-click install link](https://cursor.com/en/install-mcp?name=zillodata&config=eyJ1cmwiOiJodHRwczovL2FwaS56aWxsb2RhdGEuY29tL21jcCJ9).
- **VS Code:** `{ "servers": { "zillodata": { "type": "http", "url": "https://api.zillodata.com/mcp" } } }`
- **ChatGPT:** add a custom connector with the URL and choose OAuth (depends on your plan and workspace settings).
- **Claude Code plugin** with this server plus REST skills: [zillodata/zillow-mcp-server](https://github.com/zillodata/zillow-mcp-server).
## Prompts to try
Paste one into your client. The agent picks the tools. Each prompt shows the calls it makes and what it costs.
**"What's the Zestimate and rent Zestimate for zpid 124840695?"**
One `get_home_value` call, 1 credit.
**"Here's a listing: https://www.zillow.com/homedetails/3524-Gonzales-St-1B-Austin-TX-78702/465901896_zpid/. How long has it been listed and what's the price per square foot?"**
One `get_property_by_url` call, 1 credit.
**"Find up to 10 three-bedroom homes for sale in south Austin under $700k, then pull the price history for the two cheapest."**
One `search_listings` call with `max_results: 10` (up to 10 credits), then two `get_price_history` calls (2 credits). About 12 credits.
**"Show me condos that sold in the last 90 days near downtown Austin and compare each one's Zestimate with its tax assessed value."**
One `search_listings` call with `status: "sold"`, `home_types: ["condo"]` and `days_on_zillow: "90"`. Search rows already include the Zestimate and assessed value, so there are no follow-up calls.
**"Which schools serve 3524 Gonzales St #1B, Austin, TX 78702, and how are they rated?"**
One `get_property_by_address` call (3 credits) to find the zpid, then `get_schools` (1 credit).
**"How many credits do I have left?"**
One `get_account` call, free.
## Tools
| Tool | What it returns | Credits |
|---|---|---|
| `get_property_by_address` | A home's details from a street address | 3 |
| `get_property_by_zpid` | A home's details from a Zillow property id | 1 |
| `get_property_by_url` | A home's details from a zillow.com link | 1 |
| `get_home_value` | Zestimate, rent Zestimate, tax assessed value, last sold price | 1 |
| `get_price_history` | Every listing, price cut, sale and rental event, with dates | 1 |
| `get_tax_history` | Yearly tax paid and assessed value | 1 |
| `get_schools` | Nearby schools with grades, distance and rating | 1 |
| `get_nearby_homes` | Homes near this one | 1 |
| `get_photos` | Photo URLs, with counts and 3D tour or video flags | 1 |
| `get_listing_agent` | Listing agent, broker and MLS attribution | 1 |
| `get_open_houses` | Upcoming open houses and tour options | 1 |
| `search_listings` | For-sale, for-rent or sold homes in a map area, with filters | 1 per home |
| `get_account` | Your plan, credit balance and rate limit | 0 |
All tools are read-only and say so through MCP tool hints, so clients that respect them can run the tools without asking every time. Results come back as `structuredContent` and as a JSON text block. Successful calls also carry `credits.charged` and `credits.remaining_estimate`.
The samples below are trimmed from real API calls on 2026-12-01. Prices and estimates change with the market.
### get_property_by_address, get_property_by_zpid, get_property_by_url
| Parameter | Type | Required | Notes |
|---|---|---|---|
| `address` / `zpid` / `url` | string | yes | Street, city, state and ZIP; or a numeric zpid; or a zillow.com `/homedetails/` link |
| `status` | string | no | `FOR_SALE` (default), `RECENTLY_SOLD` or `FOR_RENT`. Address and URL lookups only |
| `fields` | string | no | Omit for the summary. `all` for the full record. Or a comma-separated list of paths such as `zpid,price,address.city,schools` |
```json
{
"data": {
"zpid": 465901896,
"address": {
"streetAddress": "3524 Gonzales St #1B",
"city": "Austin",
"state": "TX",
"zipcode": "78702",
"neighborhood": "Govalle",
"county": "Travis County"
},
"homeStatus": "FOR_SALE",
"homeType": "TOWNHOUSE",
"price": 270200,
"bedrooms": 4,
"bathrooms": 4,
"livingArea": 1925,
"yearBuilt": 2026,
"pricePerSquareFoot": 140,
"daysOnZillow": 51,
"propertyTaxRate": 1.46,
"latitude": 30.257547,
"longitude": -97.70137,
"photoCount": 21
},
"request_id": "65311c31-8ae6-44a9-b6ef-4853e6892096",
"credits": { "charged": 1, "remaining_estimate": 998 }
}
```
Fields with no value are left out. This new townhouse has no Zestimate or sale history yet, so those keys are missing. The `credits` figures here are illustrative.
### get_home_value
```json
{
"data": {
"zestimate": 572300,
"rent_zestimate": 5444,
"tax_assessed_value": null,
"last_sold_price": null,
"currency": "USD"
},
"request_id": "9fd548e5-14b0-4be0-b8cf-ef9ee50450d8"
}
```
This tool always returns all four values, with `null` where Zillow shows none. A Zestimate is Zillow's automated estimate, not an appraisal.
### get_schools
```json
{
"data": [
{ "name": "Govalle Elementary School", "grades": "PK-6", "rating": 2, "distance": 0.5, "link": "https://www.greatschools.org/texas/austin/543-Govalle-Elementary-School/" },
{ "name": "Eastside Memorial High School", "grades": "9-12", "rating": 2, "distance": 1, "link": "https://www.greatschools.org/texas/austin/18848-Eastside-Memorial-High-School/" }
]
}
```
Distance is in miles. Ratings are GreatSchools ratings from 1 to 10.
### search_listings
| Parameter | Type | Required | Notes |
|---|---|---|---|
| `bbox` | string | yes | `west,south,east,north` in decimal degrees, e.g. `-97.80,30.22,-97.70,30.30` |
| `status` | string | no | `for_sale` (default), `for_rent` or `sold` |
| `price_min`, `price_max` | integer | no | USD. Monthly rent for `for_rent` |
| `beds_min`, `beds_max`, `baths_min` | number | no | |
| `sqft_min`, `sqft_max`, `year_built_min` | integer | no | |
| `home_types` | array | no | `house`, `condo`, `townhouse`, `multi_family`, `manufactured`, `lot`, `apartment` |
| `days_on_zillow` | string | no | `1`, `7`, `14`, `30`, `90`, `6m`, `12m`, `24m`, `36m` |
| `max_results` | integer | no | 1 to 200, default 20. Each home returned costs 1 credit |
| `fields` | string | no | Omit for compact rows. `all` keeps everything, including photos |
```json
{
"data": [
{
"zpid": "124840695",
"address": { "streetAddress": "2300 S 5th St APT E", "city": "Austin", "state": "TX", "zipcode": "78704" },
"homeStatus": "SOLD",
"homeType": "CONDO",
"bedrooms": 2,
"bathrooms": 2.5,
"livingArea": 1859,
"daysOnZillow": 7,
"zestimate": 572300,
"rentZestimate": 5444,
"taxAssessedValue": 557521,
"hdpUrl": "https://www.zillow.com/homedetails/2300-S-5th-St-APT-E-Austin-TX-78704/124840695_zpid/",
"latitude": 30.244759,
"longitude": -97.76451
}
],
"meta": { "count": 1 },
"request_id": "bc23269d-d277-4ce3-9d08-b9426d3a29a6"
}
```
Search rows carry `zpid` as a string, while property records carry it as a number. Compare them as strings. Need a bounding box for a city? Each page under [zillodata.com/markets](https://zillodata.com/markets/?utm_source=github-mcp) lists one.
## MCP prompts and resources
**Prompts** are ready-made workflows your client can offer as slash commands or menu items:
| Prompt | Arguments | What it does |
|---|---|---|
| `value_a_home` | `home` (address, zpid or link) | Looks the home up, then reports its value, rent estimate and recent price changes |
| `find_homes` | `area`, optional `budget`, `beds`, `status` | Searches the area and shortlists the five best matches in a table |
| `compare_homes` | `homes` (two to five) | Compares price, value, size, taxes and schools side by side |
**Resources** are reference data the agent can read for free, even without a key:
| URI | Contents |
|---|---|
| `zillodata://reference/search-filters` | Accepted values for `status`, `home_types`, `days_on_zillow` and `max_results` |
| `zillodata://reference/property-fields` | Fields in a property summary, and how to ask for more |
| `zillodata://reference/credit-costs` | Credits per tool and the plans |
| `zillodata://reference/error-codes` | Error codes and what to do about each |
## Which tool to use
- **You have a zpid:** `get_property_by_zpid` (1 credit). Don't pay 3 credits to look it up by address again.
- **A user pasted a Zillow link:** `get_property_by_url` (1 credit).
- **You only need the value:** `get_home_value`. It's the smallest response.
- **You need one part of a record:** the matching tool (`get_price_history`, `get_schools`, `get_tax_history`, `get_photos`, `get_listing_agent`) instead of `fields: "all"`.
- **You want candidates in an area:** `search_listings`, then follow up on the few that matter. Search rows already include price, beds, baths, size and, for sold homes, the Zestimate.
## Errors and edge cases
Tool failures come back as a normal MCP result with `isError: true` and the text `<code>: <message>`, so the agent can read it and react.
| What happened | What the agent sees | Credits |
|---|---|---|
| `ZILLODATA_KEY` not set | A message with the signup link. No request is sent | 0 |
| Wrong or revoked key | `invalid_api_key: Key not found or revoked (request_id ...)` | 0 |
| Missing or malformed argument (e.g. a non-numeric zpid, a bbox without four numbers) | A message naming the argument. No request is sent | 0 |
| Address, URL or zpid not found | `property_not_found: ...` | 1 |
| Search with no results | A normal result with an empty `data` array and a `meta.hint` on how to widen the search | 1 |
| Out of credits | `out_of_credits: ...` plus a link to buy credits or a plan, no login needed. Show it to the user | 0 |
| Too many requests | `rate_limited: ...`. Wait and retry | 0 |
| Upstream lookup failed or timed out | `property_lookup_failed` or `lookup_timeout`. Retry once | 0 |
| Unknown tool | JSON-RPC error `-32602` | 0 |
The same codes are listed in `zillodata://reference/error-codes` and the [OpenAPI spec](https://zillodata.com/openapi.json).
## Credits, plans and limits
| Plan | Price | Credits | Requests per minute |
|---|---|---|---|
| Free | $0 | 100, once | 20 |
| Monthly | $5 a month | 1,000 a month | 200 |
| Annual | $49 a year | 12,000 up front | 300 |
- 1 credit per record returned. A lookup by street address costs 3, because the address is resolved first.
- Paid credits roll over while the plan is active, and you can buy extra credit packs.
- Rejected requests, rate-limited calls, timeouts and upstream errors are free.
- The same key and credits work for this server, the hosted server and the REST API.
Current prices are on the [pricing page](https://zillodata.com/pricing/?utm_source=github-mcp).
## Use the same data from code (REST API)
The tools are thin wrappers over `https://api.zillodata.com/v1`, which also offers batch jobs for up to 500 homes, multi-unit buildings, CSV and NDJSON output, and signed webhooks.
```bash
curl -G https://api.zillodata.com/v1/properties/by-address \
-H "Authorization: Bearer $ZILLODATA_KEY" \
--data-urlencode "address=3524 Gonzales St #1B, Austin, TX 78702"
```
```python
import os, requests
r = requests.get(
"https://api.zillodata.com/v1/properties/124840695/zestimate",
headers={"Authorization": f"Bearer {os.environ['ZILLODATA_KEY']}"},
timeout=30,
)
r.raise_for_status()
print(r.json()["data"]["zestimate"])
```
```javascript
const res = await fetch(
"https://api.zillodata.com/v1/listings?" +
new URLSearchParams({ bbox: "-97.80,30.22,-97.70,30.30", status: "for_sale", beds_min: "3", max_items: "10" }),
{ headers: { Authorization: `Bearer ${process.env.ZILLODATA_KEY}` } },
);
const { data } = await res.json();
console.log(data.map((h) => `${h.address.streetAddress}: $${h.price}`));
```
More languages and no-code tools: [code guides](https://zillodata.com/guides/?utm_source=github-mcp) for Python, JavaScript, Google Sheets, n8n and more.
## How this compares to Zillow's own APIs
| | Zillow's original public API | Zillow Group APIs today | ZilloData |
|---|---|---|---|
| Status | Retired on 30 September 2021 | Active | Active |
| Who can use it | Anyone with a ZWSID key | Approved businesses and MLS partners, by request or invitation | Anyone. Sign up and get a key |
| MCP server for agents | No | No developer MCP server | Yes, open source and hosted |
| Cost to start | Was free | Contract | 100 free credits, no card |
Zillow's connector inside ChatGPT, Claude and Gemini is a consumer app, not a developer API. If you were using the old ZWSID endpoints, the [migration guide](https://zillodata.com/blog/migrate-from-zillow-api/?utm_source=github-mcp) maps each old call and XML field to a ZilloData endpoint and JSON field.
## FAQ
**Is there an official Zillow API?**
Zillow retired its original public API in 2021. Its current APIs are for approved partners. ZilloData is an independent, self-serve way to get the same kind of U.S. home data. More detail: [Is there a Zillow API?](https://zillodata.com/zillow-api/?utm_source=github-mcp)
**Should I run this server or use the hosted one?**
Run this one if your client only supports local servers, if you want all 13 tools, prompts and resources, or if you want to read and change the code. Use the hosted one for a no-install OAuth setup in Claude, ChatGPT or Cursor.
**Does it cover homes that aren't for sale?**
Yes. Any U.S. home with a Zillow page can be looked up by address, zpid or link, listed or not.
**Can it get Zestimates in bulk?**
Through the REST API, yes. Send up to 500 Zillow URLs or addresses to `POST /v1/properties/batch` and collect the results by polling the job or with a signed webhook.
**What isn't covered?**
Non-U.S. property, commercial real estate, MLS-licensed IDX display and owner contact details.
**Where does my key go?**
Only to `api.zillodata.com`, in the `Authorization` header of each tool call. The server stores nothing and has no other network access.
## Development
```bash
git clone https://github.com/zillodata/zillow-api-mcp
cd zillow-api-mcp
node --test # 14 tests, no network or key needed
ZILLODATA_KEY=zdk_... node index.js
```
- [`index.js`](index.js): the whole server. Tool definitions, REST calls, prompts, resources and the JSON-RPC loop.
- [`test/server.test.mjs`](test/server.test.mjs): tests against a fake API, plus an end-to-end stdio test.
- `ZILLODATA_API_URL` points the server at another API base URL, for testing.
Issues and pull requests are welcome.
## Support
- Email: support@zillodata.com
- Docs: [zillodata.com/ai-agents](https://zillodata.com/ai-agents/?utm_source=github-mcp)
- Machine-readable docs for agents: [llms.txt](https://zillodata.com/llms.txt) · [agents.md](https://zillodata.com/agents.md)
## License
MIT for the code and documentation in this repository. Using the ZilloData API is subject to the [ZilloData terms](https://zillodata.com/legal/terms/).
TDQS
Scored across 13 tools
Most tools map to a single distinct data facet (taxes, photos, schools, open houses, price history), and the three lookup variants explicitly state when to use each based on input type and credit cost. The only mild overlap is get_home_value versus get_property_by_zpid, whose default output already includes Zestimate and rent Zestimate, and get_nearby_homes versus search_listings, though descriptions differentiate both pairs adequately.
Every tool follows a strict snake_case verb_noun pattern (get_property_by_address, get_price_history, search_listings, get_account). Suffixes like _by_address/_by_zpid/_by_url form a coherent, predictable family rather than ad-hoc naming.
13 tools is well within a healthy range for a property-data API, and each one targets a separable slice of a listing record or a distinct search mode. The three lookup entry points are justified by input type (address, zpid, URL) and differ in credit cost, so none feel padded.
The surface covers lookup, valuation, price history, tax history, schools, photos, agent, open houses, map search, and account status — enough to run end-to-end property research. Minor gaps remain around market/neighborhood trends and comparable-sales or Zestimate history, which an agent could only partially approximate via get_nearby_homes.