Housing Intel

v0.2.1
io.github.pipeworx-io/housing-intel Checked 2 days ago Published 1 month ago

Housing Intel MCP — Meta-pack that chains FRED, BLS, ATTOM, and HUD APIs into higher-level housing…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

case_shiller_metro_compare

Compare Case-Shiller home price indices across multiple US metros in one call (the 20-city composite). For each metro returns latest level, 3-month change, 12-month change, all-time peak, drawdown from peak, and a softening flag. Output also ranks metros softest → strongest. Use for "which metros are softening", "Case-Shiller for [list of cities]", "compare housing prices in X, Y, Z" queries — picks the right per-metro FRED series IDs (DNXRSA, PHXRSA, TPXRSA, etc.) so callers don't have to. Available metros: Atlanta, Boston, Charlotte, Chicago, Cleveland, Dallas, Denver, Detroit, Las Vegas…

ParameterTypeDescription
metros *arrayMetro names, case-insensitive. Example: ["Denver", "Phoenix", "Tampa", "Charlotte"]. Pass any subset of the 20-city composite.
_fredKeystringFRED API key (https://fred.stlouisfed.org/docs/api/api_key.html). Platform key used if omitted.

housing_market_snapshot

Get national housing market overview: mortgage rates, housing starts, Case-Shiller index, unemployment, construction employment. Optionally add metro-level prices (e.g., "Denver", "Atlanta"). For comparing Case-Shiller across multiple metros use case_shiller_metro_compare instead. THE COMPONENTS DO NOT SHARE A DATE — they are weekly, monthly and quarterly official statistics, each published on its own lag, so one call can span months of vintages. `freshness` states the span in days and names the oldest component; read it before comparing components against each other.

ParameterTypeDescription
_blsKeystringBLS registration key (optional — raises the shared quota; https://data.bls.gov/registrationEngine/)
_fredKeystringFRED API key (https://fred.stlouisfed.org/docs/api/api_key.html)
metro_namestringMetro area name for metro-level FHFA HPI (e.g., "Denver", "Atlanta"). Supports top 50 US metros. National data is always included.

housing_property_report

Analyze a property by address and zip code. Returns valuation estimate, sales history, tax assessment, and detailed characteristics.

ParameterTypeDescription
_attomKey *stringATTOM API key (https://api.gateway.attomdata.com)
address1 *stringStreet address (e.g., "4529 Winona Court")
address2 *stringCity, state ZIP (e.g., "Denver, CO 80212")

housing_rental_analysis

Evaluate rental investment potential by address and zip code. Returns estimated rent, fair market rents, and CPI rent trends.

ParameterTypeDescription
_attomKey *stringATTOM API key
address1 *stringStreet address (e.g., "4529 Winona Court")
address2 *stringCity, state ZIP (e.g., "Denver, CO 80212")
state_code *stringTwo-letter state code for HUD FMR lookup (e.g., "CO")
_blsKeystringBLS registration key (optional — raises the shared quota; https://data.bls.gov/registrationEngine/)
_hudKeystringHUD API token (optional — needed for fair market rents)

housing_affordability_check

Check housing affordability in a market. Returns mortgage rate, median price, monthly payment, required income, and HUD limits. Optionally specify metro (e.g., "Denver"). The inputs are official statistics on DIFFERENT cadences — a weekly mortgage rate against a quarterly median price — so the monthly payment is an illustrative ratio of published figures, not a live quote. `freshness` states the span and the age of each input.

ParameterTypeDescription
_blsKeystringBLS registration key (optional — raises the shared quota; https://data.bls.gov/registrationEngine/)
_fredKeystringFRED API key
_hudKeystringHUD API token (optional — needed for income limits)
metro_namestringMetro name for metro-level FHFA HPI (e.g., "Denver", "Savannah"). Optional.
statestringState name or two-letter code (e.g., "California" or "CA"). Resolved for you — pass this rather than state_code. Optional: without it you still get the national mortgage rate, median price and affor…
state_codestringTwo-letter state code for HUD income limits (e.g., "CO"). `state` is preferred and accepts either form.

housing_employment_outlook

Assess labor market health for housing demand. Returns employment, construction jobs, residential building employment, unemployment rate, and job openings. All BLS monthly releases; each series carries its own `observation_date` and `cadence` (JOLTS runs an extra month behind CES/LAUS), and `freshness` states the span. `snapshot_date` is the call date, not the data date.

ParameterTypeDescription
_blsKeystringBLS registration key (optional — raises the shared quota; https://data.bls.gov/registrationEngine/)
_fredKeystringFRED API key (accepted for consistency but not used — BLS is free)

housing_signal_scan

Scan 45+ housing indicators for anomalies and reversals. Flags unusual moves across rates, starts, sales, prices, wages, unemployment, and rent. Each signal carries its own `observation_date` and `cadence` — series here span weekly (mortgage rate) to quarterly (median sales price), and Case-Shiller is additionally a 3-month moving average, so "turned negative" does not mean "this month" for every series. `freshness` states the full span and the oldest component.

ParameterTypeDescription
_blsKeystringBLS registration key (optional — raises the shared quota; https://data.bls.gov/registrationEngine/)
_fredKeystringFRED API key (gateway-injected; only needed outside the gateway)

housing_mortgage_history

Freddie Mac Primary Mortgage Market Survey — the weekly US mortgage INTEREST rate (the annual percentage borrowers pay on a home loan, e.g. 6.5%), back to 1971. This is the borrowing cost paid by home buyers. Returns the latest snapshot, a time series for the requested window, and min/max/avg stats. Sourced from Freddie Mac directly (not FRED), ingested weekly by the Pipeworx data pipeline.

ParameterTypeDescription
as_ofstringOptional YYYY-MM-DD — returns the rate for the closest observation on or before that date instead of the latest.
windowstring1m | 3m | 6m | 1y | 5y | all (default 1y)

housing_market_screen

Rank US metros for rental cash flow in ONE call — the "which markets are best for a landlord" view. Returns metros sorted by gross rent yield = (Zillow median monthly rent × 12) ÷ Zillow typical home value. No per-metro orchestration and no API key. Use for "best/worst rental markets", "highest-yield metros", "where does rent go furthest vs. home prices". Tune with direction (top = highest yield / best cash flow, bottom = lowest), limit, and optional home-value bounds. rent_as_of and home_value_as_of are two independent Zillow queries and can land on different months; `freshness` says whet…

ParameterTypeDescription
directionstringtop = highest gross yield (best cash flow), bottom = lowest. Default top.
limitnumberMetros to return (default 25, max 100).
max_home_valuenumberOptional: only metros with typical home value ≤ this (USD).
min_home_valuenumberOptional: only metros with typical home value ≥ this (USD).

housing_metro_demand

Demand + rent-durability signals for a shortlist of US metros in ONE call — population & 5-year growth, renter share, median household income, and unemployment, straight from Census ACS. Deterministic by metro (CBSA-keyed) — NO FRED series-ID guessing. Pass `metros` ("City, ST", e.g. the top results from housing_market_screen). This is the Stage-2 "is the demand real?" filter on a yield shortlist — high yield in a shrinking metro is a trap. No API key needed. HIGHEST-LAG SOURCE IN THIS PACK: figures are a Census ACS 5-YEAR rolling average (currently 2018-2022, released Dec 2023) — for…

ParameterTypeDescription
metros *arrayMetro names to enrich, "City, ST" form, e.g. ["Lubbock, TX","Pittsburgh, PA"] — match the housing_market_screen output. Required.
limitnumberMax metros to enrich (default 25, max 100).