Guide
MCP
Each tool matches a REST route, and each successful call spends the same allowance.
get_neighborhood
https://data.dreamneighborhood.com/mcpNeighborhood facts for one US location. Pass a street address, or lat and lng. sections limits the payload. History is a separate tool. The result includes notes: which number to quote, and a Redfin credit when housing figures are present.
{
"mcpServers": {
"dream-neighborhood": {
"url": "https://data.dreamneighborhood.com/mcp",
"headers": {
"Authorization": "Api-Key YOUR_KEY"
}
}
}
}
{
"name": "get_neighborhood",
"arguments": {
"address": "1600 Pennsylvania Avenue NW, Washington, DC",
"sections": [
"census",
"housing",
"schools"
]
}
}
A successful tool call counts toward the monthly allowance. Put the key in the client config, not in the tool arguments.
compare_neighborhoods
Tract features for two to five street addresses, in the order given. The body matches GET /api/v1/neighborhoods/compare/. A higher risk, crime, supply, or days-on-market percentile means more of that thing.
search_neighborhoods
Tracts in one metro that meet the bounds you set. Pass an address or a five-digit CBSA code. The body matches GET /api/v1/neighborhoods/search/. A missing value does not pass a bound. The default sort is year-over-year price change, not a quality score.
similar_neighborhoods
Other tracts closest in percentile groups first. Pass an address, coordinates, or an 11-digit tract id. Omit nationwide and cbsa to stay in that tract's metro. Set nationwide to compare every loaded tract, or pass a CBSA code to compare that metro. Both use national percentiles. max_miles only decides who is eligible. Groups named in focus count twice. The body matches GET /api/v1/neighborhoods/similar/. A smaller distance is more similar, not a better neighborhood.
get_crime
Tract estimate, city record, and ZIP rollup for one location. Pass a street address, or lat and lng. The body matches GET /api/v1/crime/. Tract and ZIP rates are per 1,000 people. The city record is per 100,000. notes says which field to quote. Include the city record's attribution when you quote it.
get_city_history
History for the city containing a point, or the nearest city within 25 miles. Pass a street address, or lat and lng. The body matches GET /api/v1/city-history/. attribution is the credit for the article the history text came from. notes tells the model to include that credit when it repeats the history. A single fact does not need it. area-county and nearby-place describe the surrounding area.
get_census
Census tract profile for one location. Pass a street address, or lat and lng. vintage pins a year. Omit it for the newest year loaded. The neighborhood tool always returns the newest census profile. The body matches GET /api/v1/census/. Figures are ACS 5-year tract estimates, not a count of the people at the address.
get_climate
National Risk Index scores for the tract and county at one location. Pass a street address, or lat and lng. vintage pins a year. Omit it for the newest year loaded. The body matches GET /api/v1/climate/. A higher score means more relative risk. It is not a flood map, a forecast, or an insurance quote.
get_schools
Schools near one location, with assessment, graduation, and safety, plus the district. Omit miles for the nearest schools with no radius cap. level is all, public, or private. lea_id limits the list to one district. The schools block on get_neighborhood is a fixed 5-mile list of 15 schools. The body matches GET /api/v1/schools/. A vintage of 2022 is school year 2021-22. Proficiency is not a ranking. in_district false means this is the nearest school's district.
get_school
One school by id, including a private-school id that starts with PSS. The body matches GET /api/v1/schools/{nces_id}/.
get_school_district
One attendance district by NCES district id. Counts are open campuses inside the boundary. boundary adds a simplified GeoJSON polygon. The body matches GET /api/v1/schools/districts/{lea_id}/.
get_school_benchmarks
National and per-state public-school benchmarks. No location is required. A metric is null when fewer than 25 schools contribute a value. The body matches GET /api/v1/schools/benchmarks/.
suggest_addresses
Suggestions for a partial address, city, or ZIP. Each result's query is a string the location tools can geocode. Optional state and zip_code narrow street matches. Optional coordinates bias the order. The body matches GET /api/v1/addresses/suggest/.
Arguments
address— US street address. A city name alone often fails.latandlng— decimal degrees. Send both, or send an address.sections— optional list onget_neighborhood. Choose from the pills above. Omit it for every section.addresses— two to five street addresses oncompare_neighborhoods.cbsa— five-digit metro code onsearch_neighborhoods. Send this or an address.tract— 11-digit census tract id onsimilar_neighborhoods. Send this, an address, or lat and lng.nationwide— optional onsimilar_neighborhoods. Compares every loaded tract on national percentiles.cbsaonsimilar_neighborhoods— optional five-digit metro to compare, on national percentiles. Send this ornationwide, not both.max_miles— optional onsimilar_neighborhoods. From 0.1 to 3000 miles around the anchor tract. The rank stays percentile distance.focus— optional group names onsimilar_neighborhoods, such asschoolsorcrime. Each named group counts twice.limitandsort— optional on search and similar. Sort is a feature name, prefixed with-for high to low.vintage— optional year onget_censusandget_climate. From 2000 to 2100. Omit it for the newest loaded year.miles,level, andlea_id— optional onget_schools. Omit miles for no radius cap. Level isall,public, orprivate.nces_id— school id onget_school. A private-school id may start withPSS.lea_idandboundary— district id onget_school_district. Boundary adds a polygon.q— partial address, city, or ZIP onsuggest_addresses.stateandzip_codeare optional.
OAuth
Clients that discover protected-resource metadata can sign in through the browser instead of a pasted key. The scope is neighborhood:read. The server advertises itself at /.well-known/oauth-protected-resource. An API key is the direct path, and it is what the Cursor config above uses.
An OAuth sign-in uses the account’s data mode, which starts at compliant. Change it on the API keys page after accepting the full-data agreement. A pasted key uses that key’s mode instead. See Fair housing.