HomeHarvest MCP server
The HomeHarvest MCP server lets AI assistants like Claude and Cursor query US property data with SQL: homes for sale, sold, pending and for rent, listing agents, open houses, price history and tax history. You ask in plain words, the assistant writes one query, and the server fetches only what that query needs. It's free, open source and runs on your machine.
How do I install it in Claude Code?
You need uv installed. Then run:
claude mcp add homeharvest -- uvx --from git+https://github.com/ZacharyHampton/homeharvest-mcp homeharvest-mcp
Start a new Claude Code session and ask a property question.
How do I install it in Claude Desktop?
Open Settings, then Developer, then Edit Config, and add this to claude_desktop_config.json. Restart Claude Desktop.
{
"mcpServers": {
"homeharvest": {
"command": "uvx",
"args": ["--from", "git+https://github.com/ZacharyHampton/homeharvest-mcp", "homeharvest-mcp"]
}
}
}
If Claude Desktop can't find uvx, use its full path (run which uvx).
How do I install it in Cursor?
Add the same mcpServers entry to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json in one project. Then turn it on under Cursor Settings, MCP.
What can I ask it?
- "What did homes sell for by ZIP code in Phoenix since October 1?"
- "List open houses in Austin from today on, with the listing agent's email."
- "Which agents have the most homes for sale in Denver?"
- "Show the price history and tax history for homes that sold in 92107 this month."
- "Median rent by bedroom count for Chicago rentals listed in the last two weeks."
Which tools does it have?
| Tool | What it does |
|---|---|
describe(table?) | Lists the tables and columns, which filters are sent to the source and what they cost, plus example queries. The assistant calls it first |
query(sql, max_rows=50) | Runs one read-only SELECT (DuckDB SQL) and returns rows as NDJSON, then a line with truncated, total_rows, fetched_pages, cache and complete. Up to 1,000 rows |
health | Server and HomeHarvest versions, cache size and fetch settings |
Anything other than a SELECT is refused.
Which tables and columns are there?
| Table | One row per | Main columns |
|---|---|---|
properties | Home in one status | property_id, status (for_sale, pending, sold, for_rent), location, list_price, list_date, pending_date, sold_price, sold_date, estimated_value, beds, baths, sqft, lot_sqft, year_built, property_type, has_open_house, address, city, state, zip, lat, lon, agent_name, office_name, tags, url |
agents | Agent on one listing | agent_id, property_id, role, name, email, phone, office_name, broker_name, state_license |
offices | Office and status | office_id, name, email, phone, listings |
open_houses | Scheduled open house | property_id, start_time, end_time, time_zone, methods |
price_history | Listing or sale event | property_id, date, event (Listed, Price Changed, Pending, Sold...), price |
tax_history | Tax year | property_id, year, tax, assessed_total, assessed_land, assessed_building |
Join on property_id. Agents and open houses come with the listings at no extra cost. Price and tax history cost 1 extra request per 50 homes the first time, then they're cached. describe('properties') gives every column with a description.
What does a query look like?
Every query needs a place: location = 'Phoenix, AZ', zip = '85004', or city plus state.
SELECT zip, count(*) AS sales, median(sold_price) AS median_price
FROM properties
WHERE location = 'Phoenix, AZ'
AND status = 'sold'
AND sold_date > '2026-10-01'
GROUP BY zip
ORDER BY sales DESC
LIMIT 5
Our run on 2026-11-23 returned 5 rows from 2,338 sales in 15 seconds. The same question again came from the cache in under a second:
{"zip":"85254","sales":149,"median_price":940000}
{"zip":"85018","sales":101,"median_price":1500000}
...
{"truncated":false,"total_rows":5,"fetched_pages":12,"cache":"miss","complete":true,"source_rows":2338,"elapsed_s":15.17}
Open houses with the listing agent, using joins:
SELECT p.address, p.list_price, o.start_time, a.name, a.email
FROM open_houses o
JOIN properties p USING (property_id)
JOIN agents a USING (property_id)
WHERE p.location = 'Austin, TX' AND p.status = 'for_sale'
AND o.start_time >= current_date
ORDER BY o.start_time
Price history for recent sales in one ZIP:
SELECT p.address, h.date, h.event, h.price
FROM price_history h JOIN properties p USING (property_id)
WHERE p.zip = '92107' AND p.status = 'sold' AND p.sold_date > '2026-11-01'
ORDER BY p.address, h.date
How does it work?
- It parses your SQL and pulls out the filters the source can apply: place, status, dates, price, beds, sqft, year built and property type.
- It fetches only those homes through HomeHarvest, 200 per page, up to 25 pages per call.
- It stores them in a local DuckDB cache, sliced by place, status and month, for 24 hours.
- It runs your full SQL on the cache and returns the rows.
If a query needs more than 25 pages, the result says "complete": false. Narrow the dates or the area, or raise the page cap.
Can I change the settings or use a proxy?
Yes, with environment variables. In Claude Code, add -e NAME=value before the --. In Claude Desktop or Cursor, add an "env" object next to "args".
| Variable | Default | What it does |
|---|---|---|
HOMEHARVEST_PROXY | none | Proxy, like http://user:pass@host:port |
HOMEHARVEST_MCP_MAX_PAGES | 25 | Max 200-row pages fetched per query |
HOMEHARVEST_MCP_TTL_HOURS | 24 | Hours to reuse cached rows |
HOMEHARVEST_MCP_MAX_HISTORY | 500 | Max homes per call to fetch price or tax history for |
HOMEHARVEST_MCP_CACHE_DIR | ~/.cache/homeharvest-mcp | Where cache.duckdb lives (several clients can share it) |
What are the limits?
- The same as the library: unofficial, US only, and it can break when the source changes.
- Sold prices are blank in non-disclosure states such as Texas and Utah.
- Big first-time pulls take 15 to 35 seconds. Repeats are fast.
- Some listings post daily self-tour windows (for example 8 AM to 7 PM) as open houses. Filter on
start_timeandend_timeif you only want hosted ones.
Is it free?
Yes. It's open source (MIT), needs no key, and runs on your machine. The code is on GitHub.
Last updated 2026-11-23. Report a problem.