360 Secure SkillHub
360 安全技能中心

compass

面向 Compass 房产平台的 MCP 工具集,需安装 compass-mcp 并配合浏览器桥接扩展和已登录标签页,支持房源搜索、详情、照片、价格历史、同类租赁、经纪人房源、地址解析、批量对比及房贷/可负担性计算。

分类:生活
chrischall
chrischall
热度 24.46
最近更新 2026-11-05 00:41:55

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add chrischall/compass
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
compass
description
Look up real-estate listings, property details, photos, price history, and resolve addresses on Compass via MCP. Triggers on phrases like "find homes on compass in", "compass property details for", "compass photos for", "compass price history for", "resolve this address on compass", "compare these compass listings", "what does compass say about", or any request involving Compass properties, prices, or comparisons. Requires compass-mcp installed and the ContextMint Bridge extension active (see Setup below).

compass-mcp

MCP server for Compass — natural-language access to listings, property records, photos, price history, and address resolution. Routes every request through your signed-in compass.com tab via the ContextMint Bridge browser extension, so AWS WAF sees a real browser session instead of a Node process.

⚠️ Compass does not publish a public consumer API. Unlike portals with a JSON API surface, compass.com is a server-rendered React app — there are no /api/... data endpoints to call. Every tool extracts state from the inline scripts each page server-renders (global.uc.sharedReactAppProps.initialResults for search, window.__INITIAL_DATA__.props.listingRelation.listing for homedetails). Requests are dispatched through your own signed-in browser tab via the ContextMint Bridge extension. Use at your own discretion.

Setup

1. Install compass-mcp

.mcp.json (project) or ~/.claude/mcp.json (global):

{
  "mcpServers": {
    "compass": {
      "command": "npx",
      "args": ["-y", "compass-mcp"]
    }
  }
}

2. Install the ContextMint Bridge extension (one-time, shared across all fetchproxy-based MCPs)

Get it from the ContextMint Bridge releases:

  • Chrome: unzip the Chrome zip, then chrome://extensions → Developer mode → Load unpacked → pick the unzipped folder.
  • Safari: the bridge ships inside the ContextMint app; you enable it in Safari's settings. The ContextMint app has no public download yet, so there is no Safari install link to give — use Chrome for now.

ContextMint Bridge is the fetchproxy extension renamed, from the same maintainer (fetchproxy's README points to it); its source is public, so build it yourself or verify a release zip with shasum -a 256 -c contextmint-bridge-chrome-<version>.zip.sha256.

3. Open compass.com and sign in.

That's it. No API keys, no env vars.

Tools

Listing data (public)

  • compass_search_properties — Search by location + filters (price band, beds/baths min, home type). Slugifies free-text into Compass's /homes-for-sale/<slug>/<filters>/ URL routing and extracts the SSR listings array. Returns matching listings with price, beds/baths, sqft, address, and the Compass home URL.
  • compass_get_property — Full record by url (a Compass homedetails URL or path) or listing_id_sha alone. When only the sha is supplied, the tool resolves the canonical path internally via the WAF-immune omnisuggest typeahead, then fetches the /homedetails/<slug>/<sha>_lid/ page. Returns address, neighborhood, beds/baths, sqft, lot size, price + $/sqft, monthly charges, MLS status, amenities, schools, parcel number, listing agent, and extracted_features parsed from the description.
  • compass_get_property_photos — Full photo gallery from listing.media[] — original + thumbnail URLs and pixel dimensions. Floorplans/other media gated behind include_all_categories.
  • compass_get_price_history — Listing-history events (Listed / Sold / Pending / Price Change / Delisted) with date, price, status, MLS attribution. Returns both this-listing and prior-listing aggregates.
  • compass_get_comparable_rentals — Nearby rental listings for a property: lifts the target's city/state/zip, then searches rentals in the same locality. Returns rentals: [] (with target context) when none come back.
  • compass_get_agent_listings — Other listings by the same agent, from /agents/<slug>/ (active by default; closed deals via include_closed).

Resolution & batch

  • compass_get_by_address — Resolve a free-text street address to the canonical Compass URL, listing_id_sha, and pid. Walks the structured typeahead first (WAF-immune), then SSR fallbacks; verifies each candidate against the query before accepting. Returns { resolved: false, error } rather than leaking a wrong URL.
  • compass_resolve_addresses — Bulk version of get_by_address — concurrent server-side resolution of many addresses in one round trip, sharing the same rung walker and per-row error contract.
  • compass_bulk_get — Unbounded structured fetch (up to 200 targets) by url or listing_id_sha. One row per target; per-target errors captured per-row. No summary table.
  • compass_compare_properties — Fetch and align up to 25 properties side-by-side. Per-target errors captured per-row; an opt-in pivoted summary table via include_summary.
  • All three batch tools share an overall deadline (~45s). A row still unsettled when it fires comes back status: "pending", retryable: true with a top-level pending count — not a miss; re-run just those rows.

Local math (no network)

  • compass_calculate_mortgage — PITI calculator. Provide home price, interest rate, optional down payment / taxes / insurance / HOA / PMI; returns a full monthly breakdown + total interest over the term.
  • compass_calculate_affordability — Max purchase price under the 28/36 DTI rule from income, debts, down payment, and rates.

Diagnostics & session

  • compass_healthcheck — Round-trips a no-op request (/robots.txt) through the full bridge to confirm the WebSocket bridge is up, the extension is connected, and the signed-in tab is responsive — in one call.
  • compass_register_session — Registers (or refreshes) a logical session keyed by account identity, so several signed-in accounts can be switched between.
  • compass_get_session_context — Lists every registered session and the active one.
  • compass_set_active_session — Flips which registered session answers future requests.

Not yet supported

  • compass_get_saved_homes / compass_get_saved_searches — Compass renders /overview/favorites and saved searches via an auth-scoped GraphQL endpoint that isn't reachable from a one-shot fetch. Both throw a clear "not yet supported" error today.

Trigger examples

  • "Find me 2-bedroom condos under $1.5M in Brooklyn on Compass" → compass_search_properties
  • "What does Compass say about 42 Monroe St in Brooklyn?" → compass_get_by_address → compass_get_property
  • "Show me the photos for that Compass listing" → compass_get_property_photos
  • "Price history for this Compass home" → compass_get_price_history
  • "Compare these three Compass listings" → compass_compare_properties
  • "Monthly payment on a $500k home, 20% down, 6.5% rate" → compass_calculate_mortgage

In context groups

compass-mcp joins the home group. Every tool except compass_healthcheck carries a _meta.mint hint with domain: home; every read is a lookup (the session-registry writes are other).

  • No canonical reads. Compass is a listings search: every read needs a location, address or listing the person names, so it answers no "what's new / due / on at home?" question by itself, and it declares no subject (there is no listable set of the person's homes or accounts).
  • Compound asks reach it by name, not by intent: "anything new at home, and what's 12 Elm St listed at on Compass?" — the group answers the first half from its canonical members and routes the second to compass_get_by_address → compass_get_property.
  • Browser-bridged. Every network call rides the signed-in compass.com tab through the ContextMint Bridge, so when the browser is closed the group answers "Compass needs your browser open" for it rather than failing the whole ask. The calculators (compass_calculate_mortgage / compass_calculate_affordability) are local and still answer.

Gotchas

  • Sign-in required. If the user isn't signed into compass.com in the bridged Chrome tab, network tools fail with SessionNotAuthenticatedError. Local-math tools work either way.
  • AWS WAF challenge. Compass serves a WAF challenge to fresh sessions and 403s some SSR free-text paths. The address resolver routes through the WAF-immune omnisuggest typeahead to avoid it, and sha-only lookups use the WAF-immune /listing/<sha>/view redirect; solving a challenge in the Chrome tab once unblocks the SSR pages.
  • No write surface. All tools are read-only — no saving homes/searches or submitting contact forms.
  • No market-report / Zestimate-history tool. Compass doesn't expose region-level market data or a historical estimate series in its SSR blob, so there's no equivalent to a market-report tool.
  • Saved homes/searches are stubs. See "Not yet supported" above.