onehome-mcp

v1.2.1
io.github.chrischall/onehome-mcp Checked 12 hours ago Published 27 days ago

OneHome (CoreLogic) real-estate access for Claude — search, property details, photos, saved homes

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

onehome_get_user Get the signed-in OneHome user profile

Returns the OneHome user profile + the consumer-share groups attached. Share member e-mails and the agent's e-mail/phones are omitted unless `include_contacts: true`. For full agent / registered users, queries the GraphQL `user` endpoint. For magic-link consumer-share sessions (where `user { }` is access-denied), falls back to the data captured during the `checkToken` exchange — email, contact id, group/savedSearch ids, and the agent who shared with you.

ParameterTypeDescription
include_contactsbooleanInclude contact details: the share's member e-mail addresses and the agent's e-mail, phone and office phone. Default false — the agent's name, office and team are always returned.
viewstringResponse shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact strips image/avatar URLs from the response; "full"…

onehome_get_groups List my OneHome agent groups

List the OneHome groups your agent has shared with you. Share member e-mails and the agent's e-mail/phones are omitted unless `include_contacts: true`. For full agent / registered users, returns the GraphQL `user.groups` list. For magic-link consumer-share sessions (a single shared group), synthesizes a one-entry list from the `checkToken` session context.

ParameterTypeDescription
include_contactsbooleanInclude contact details: the share's member e-mail addresses and the agent's e-mail, phone and office phone. Default false — the agent's name, office and team are always returned.

onehome_get_session_context Inspect every registered OneHome session

Returns one entry per registered session — its `session_id`, auth_mode, token expiry, and session scope (group_id / saved_search_id / agent_id / contact_id / mls_id) the MCP bootstrapped from each checkToken exchange. `active_session_id` flags which session answers by default; per-listing routing uses the active session when its `mls_id` matches the listing's `~MLS` suffix, else the one session that matches (several matches error — pick one with `onehome_set_active_session`). Tools default unspecified `group_id` / `saved_search_id` arguments from the active session's context, so this is th…

onehome_get_saved_search_with_listings Fetch a saved search and inflate its listings in one call

Combo tool: the "show me my saved homes" flow in a single round trip. Internally runs `GetSavedSearchBySearchId` to fetch the saved search (name, filters, polygon, listingIds) and then `GetSavedListings` to inflate those listingIds into full property records — the same two-call sequence as calling `onehome_get_saved_search` followed by `onehome_search_properties(saved_search_id=...)`, but exposed as one tool so the magic-link-to-listings consumer flow is a single MCP call. Returns `{ saved_search, listings, count, page_info }`. Both `saved_search_id` and `group_id` default to the magic-link…

ParameterTypeDescription
group_idstring
include_dislikesboolean
page_numinteger
page_sizeinteger
saved_search_idstring
sort_fieldstringGraphQL dotted-path, e.g. property.MajorChangeTimestamp or property.ListPrice
sort_orderstring
viewstring"full" (default) returns the saved search and its listing records; "brief" returns one line per listing: address · price — date of its last change (or "no date") — status, change — in the untru…

onehome_search_properties Search listings inside a OneHome group / saved share

Fetch listings inside a OneHome consumer-share. Two modes: - With `saved_search_id`: fetch the agent-curated collection (the standard 'Homes at <name>' view). The MCP first resolves the saved search's listingIds and then inflates them via listingsBySavedSearchId — this is the only mode that works for non-agent consumer accounts. - With just `group_id` and no `saved_search_id`: try the raw `listings(groupId, browseParameter)` endpoint. If page 0 comes back empty with no reported results (the access-restricted shape consumer-shares hit) AND the session context has a `savedSearchId` for th…

ParameterTypeDescription
group_idstring
include_dislikesboolean
page_numinteger
page_sizeinteger
saved_search_idstring
sort_fieldstringGraphQL dotted-path, e.g. property.MajorChangeTimestamp or property.ListPrice
sort_orderstring

onehome_search_suggestions Free-text suggestion search across MLS feeds

Cross-feed suggestion search by address, MLS number, or partial query. Bypasses the group/saved-search structure and hits the global suggestion endpoint — useful for "find an address" or "look up by MLS number". Returns id, address parts, beds/baths, list price, thumbnail per match. Inflate any result with `onehome_get_property`. Optional `group_id` scopes suggestions to one OneHome market.

ParameterTypeDescription
query *string
group_idstring

onehome_get_property Fetch full details for a OneHome listing

Fetch full details for a single OneHome listing by id or portal URL. Returns address, list / close / previous price, $/sqft, beds/baths/sqft, lot size (raw `lot_size` {area, units} plus the derived `lot_size_acres` — null, never 0, for condos / lotless listings), year built, lat/lng, status, HOA fee, annual tax, virtual-tour URL, the primary photo, and an `extracted_features` block (lake_front, hot_tub, basement, furnished, dock, community) keyword-parsed from the description. The raw `description` (PublicRemarks) is omitted by default — pass `include_description: true` to keep it; in most…

ParameterTypeDescription
group_idstring
include_descriptionbooleanInclude the raw `description` (PublicRemarks) in the response. Defaults to `false` — `extracted_features` is always populated and usually sufficient.
listing_idstring
saved_search_idstring
urlstring

onehome_get_property_photos Full photo gallery for a OneHome listing

Fetch the full media gallery for a OneHome listing. Returns one entry per image with Thumbnail / Medium / Large CDN URLs, dimensions, the listing-room description (LongDescription), and display order. Pass either `listing_id` or a portal URL.

ParameterTypeDescription
group_idstring
listing_idstring
urlstring

onehome_compare_properties Compare OneHome listings side-by-side

Fetch 2 or more OneHome listings and align their facts side-by-side. Each target may supply `listing_id` (preferred) or `url` (a portal URL). Returns the full per-property record (with `extracted_features` populated) per row. Per-target errors are captured per-row — one bad target will not fail the whole call. Calls are concurrent. The raw `description` is omitted from each row by default (`include_description: true` to keep it). The redundant `summary` table is also opt-in via `include_summary: true` — by default only `rows[]` is returned, which already carries every fact.

ParameterTypeDescription
targets *array
group_idstring
include_descriptionbooleanInclude the raw `description` (PublicRemarks) on each row. Defaults to `false`.
include_summarybooleanInclude the pivoted `summary` table (one row per compared field, one column per listing). Defaults to `false` because `rows[].property.*` already carries everything — the summary is roughly 30% of t…
viewstringResponse shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact strips image/avatar URLs from the response; "full"…

onehome_bulk_get Bulk-fetch OneHome listings by id

Fetch up to 200 OneHome listings in a single call. Returns one structured row per input id (no side-by-side summary table — use `onehome_compare_properties` for that). Each row is either `{ listing_id, status: "ok", property }` on success or `{ listing_id, status, error_kind, retryable, error }` on failure (`status` = `error_kind`: `timeout` / `bridge_down` / `pending` are retryable, `protocol` / `other` are real misses) — one bad id never fails the whole call. Calls fan out concurrently against `ListingById`, capped at 6 in flight to avoid swamping the bridge; transient timeouts are retri…

ParameterTypeDescription
listing_ids *arrayListing OSK ids to fetch. 1..200. For higher counts, batch into multiple calls.
group_idstring
include_descriptionbooleanInclude the raw `description` (PublicRemarks) on each row. Defaults to `false`.
saved_search_idstring

onehome_get_schools Local-Logic primary + high schools near a lat/lng

Fetch the Local-Logic school data for a coordinate — separate primary and high-school lists, each entry with name, attributes (types/grades/programs/levels), and proximity (walking distance + straight-line distance). Returns an `error` field with HTTP details if the consumer session does not have access (the schools endpoint is sometimes agent-only). lat/lng usually come from `onehome_get_property` (`latitude` / `longitude`).

ParameterTypeDescription
lat *number
lng *number
languagestring

onehome_get_walk_score Local-Logic location scores near a lat/lng

Local-Logic location scores for a coordinate — pedestrian / car / cycling / transit friendliness, plus proximity summaries for groceries, restaurants, parks, primary + high schools. Each score is a `{ value, text }` pair (value 0-5, text a one-line description). Returns an `error` field with HTTP details if the upstream rejected the request.

ParameterTypeDescription
lat *number
lng *number
languagestring

onehome_graphql Send a raw GraphQL document to services.onehome.com

Power-user escape hatch — send a raw GraphQL document with variables. Returns the whole `{ data, errors, status, url }` envelope, unprojected, so you can read upstream schema errors directly. Note the default: `view` is `compact`, which strips image/avatar URLs out of `data` (every envelope key and every non-media field is kept). Pass `view: 'full'` when you need the envelope byte for byte — worth doing if you are here because a payload is not what you expected, so a missing field is never this server's doing. Operation names live in the portal bundle; common ones include `GetOneHomeUser`,…

ParameterTypeDescription
operation_name *string
query *string
variablesobject
viewstringResponse shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact strips image/avatar URLs from the response; "full"…

onehome_calculate_mortgage Calculate mortgage payment (local)

Local-only mortgage payment calculator. Returns a full PITI breakdown (principal + interest, property tax, insurance, HOA, PMI) and total interest over the life of the loan. No network call — fully deterministic, safe to use for scenario comparison without burning a fetch. Provide either `down_payment` OR `down_payment_percent`; defaults to 20%. Property tax can be given as `property_tax_annual` or `property_tax_rate` (% of home price). PMI applies automatically when LTV > 80% and `pmi_rate` is provided.

ParameterTypeDescription
home_price *number
interest_rate *numberAnnual %, e.g. 6.5
down_paymentnumber
down_payment_percentnumber
hoa_monthlynumber
insurance_annualnumber
loan_term_yearsintegerDefault 30, max 50
pmi_ratenumberAnnual %, applied when LTV > 80%
property_tax_annualnumber
property_tax_ratenumberAnnual % of home price

onehome_calculate_affordability Calculate max affordable home price

Solve for the maximum home price you can afford under the standard 28/36 DTI rule. Inputs: monthly income, recurring monthly debts (car loans, student loans, etc.), down payment, interest rate, and optional property-tax rate / insurance / HOA / loan term. Output: max home price, the binding constraint (front-end vs back-end), and the full PITI breakdown at that price. Same math across the realty MCP cohort (@chrischall/realty-core). No network — pure local math.

ParameterTypeDescription
down_payment *number
interest_rate *numberAnnual %, e.g. 6.5
monthly_income *number
back_end_dtinumberBack-end DTI cap as decimal, default 0.36
front_end_dtinumberFront-end DTI cap as decimal, default 0.28
hoa_monthlynumber
insurance_annualnumber
loan_term_yearsintegerDefault 30, max 50
monthly_debtsnumberSum of monthly debt payments (car, student loans, etc.)
property_tax_ratenumberAnnual % of home price, default 1.1

onehome_healthcheck Verify OneHome auth + GraphQL reachability

Round-trip a minimal authenticated query through the configured transport. Picks `GetSavedSearchBySearchId` for magic-link consumer-shares (works for them) or `GetOneHomeUser` for agent/registered sessions. Returns the auth mode, token expiry, fetchproxy bridge role (when applicable), elapsed time, and any error detail. Run this first when a tool fails — it isolates "is auth wired up?" from "is the API itself misbehaving?".

onehome_get_by_address Resolve a OneHome listing by street address

Resolve a free-text street address (with optional city/state/zip) to a OneHome listing's canonical portal URL and id in one call. Walks a 2-rung ladder: (1) `ListingSuggestionsSearch` against the magic-link saved-search scope; (2) when that misses, search-fallback — page-walks the broader saved-search (or raw `listings(groupId)`) pool bounded by the same `groupId` and fuzzy-matches input address tokens. Returns `{ url, listing_id, address, resolved, matched_via }` where `matched_via: "suggestions" | "search_fallback"` reports which rung produced the hit. When no listing matches, returns `{ r…

ParameterTypeDescription
address *stringStreet address line, e.g. "126 Sleeping Bear Ln".
citystringe.g. "Lake Lure"
group_idstringOptional OneHome group id to scope the suggestion search. Defaults to the magic-link session context when present.
statestringTwo-letter state abbreviation, e.g. "NC"
viewstringResponse shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands. compact strips image/avatar URLs from the response; "full"…
zipstringZIP code, e.g. "28746"

onehome_resolve_addresses Bulk-resolve street addresses to OneHome URLs + listing_ids

Resolve up to 100 structured addresses to OneHome canonical portal URLs + listing OSK ids in one call. Each input is a `{address, city?, state?, zip?}` object. Output preserves input order; one row per input, either `{resolved: true, url, listing_id, address}` or `{resolved: false, error, query}`; a row that failed (rather than genuinely missed) also carries `status` = `error_kind` and `retryable` — `timeout` / `bridge_down` / `pending` mean retry it, not "no listing". The whole call is bounded by an overall deadline; unsettled rows come back `status: "pending"` with a top-level `pending` co…

ParameterTypeDescription
addresses *arrayUp to 100 address inputs. For higher counts, batch into multiple calls.
group_idstringOneHome group id to scope every row. Defaults to magic-link session context.

onehome_set_auth Register an additional OneHome session at runtime

Provide a magic-link URL, a raw JWT bearer, or an email-token to ADD another authenticated session to the MCP — useful when a buyer holds shares across multiple agents/MLSes (one magic link per share). The MCP detects the input shape (URL → extract `?token=`; 3-segment JWT → use directly; otherwise → treat as email-token and exchange via `/api/authentication/checkToken`), registers a new direct-bearer transport, and marks it active. Previously-registered sessions stay registered — switch back with `onehome_set_active_session(session_id)`, or let MLS-suffix routing (`~CANOPY`, `~HCAOR…

ParameterTypeDescription
input *stringMagic-link URL (https://portal.onehome.com/...?token=eyJ...), JWT bearer (3 dot-separated segments), or raw email-token (single base64 segment).

onehome_set_active_session Switch which registered OneHome session is active

Force a specific registered session to be the active one. Useful when MLS-suffix routing picks the wrong session (e.g. two shares in the same MLS, a free-text search across multiple MLSes, or a listing without a `~MLS` suffix). Pass a `session_id` previously returned by `onehome_set_auth` or surfaced in `onehome_get_session_context`. The active session answers any request without a `~MLS`-suffixed listing id AND any `~MLS` request whose MLS matches its own; a `~MLS` id matching several other sessions errors until you pick one here.

ParameterTypeDescription
session_id *stringSession id from a previous `onehome_set_auth` response, or one of the ids listed by `onehome_get_session_context`.