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?

Which tools does it have?

ToolWhat 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
healthServer and HomeHarvest versions, cache size and fetch settings

Anything other than a SELECT is refused.

Which tables and columns are there?

TableOne row perMain columns
propertiesHome in one statusproperty_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
agentsAgent on one listingagent_id, property_id, role, name, email, phone, office_name, broker_name, state_license
officesOffice and statusoffice_id, name, email, phone, listings
open_housesScheduled open houseproperty_id, start_time, end_time, time_zone, methods
price_historyListing or sale eventproperty_id, date, event (Listed, Price Changed, Pending, Sold...), price
tax_historyTax yearproperty_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?

  1. It parses your SQL and pulls out the filters the source can apply: place, status, dates, price, beds, sqft, year built and property type.
  2. It fetches only those homes through HomeHarvest, 200 per page, up to 25 pages per call.
  3. It stores them in a local DuckDB cache, sliced by place, status and month, for 24 hours.
  4. 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".

VariableDefaultWhat it does
HOMEHARVEST_PROXYnoneProxy, like http://user:pass@host:port
HOMEHARVEST_MCP_MAX_PAGES25Max 200-row pages fetched per query
HOMEHARVEST_MCP_TTL_HOURS24Hours to reuse cached rows
HOMEHARVEST_MCP_MAX_HISTORY500Max homes per call to fetch price or tax history for
HOMEHARVEST_MCP_CACHE_DIR~/.cache/homeharvest-mcpWhere cache.duckdb lives (several clients can share it)

What are the limits?

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.