Realtystack Mcp

io.github.IsaiahDupree由 GitHub 账号 IsaiahDupree 发布v1.0.0更新于 Nov 2, 2026

U.S. real-estate data: property records, AVM value + rent estimates, sale/rental listings.

已验证Streamable HTTP可网页运行位置与生活金融

概览

AI 生成的概览

面向美国房产数据的远程 MCP 连接器:房产记录、自动估值(售价与租金)以及出售/出租房源。

可以做什么
  • 按地址、城市+州或经纬度加半径搜索并读取房产记录,支持结构属性筛选
  • 按 RentCast id 获取单条房产记录的完整详情
  • 估算售价与长期租金,返回点估计、价格区间及带评分和距离的可比案例
  • 列出出售与长期出租房源,含价格、状态、挂牌天数、MLS 及经纪人联系方式
适用场景
适合需要美国房产事实、估值或租金估算、以及当前房源数据的场景,例如调研、对比或生成面向客户的摘要,而无需自行对接底层 REST API。
运行要求
远程 streamable-HTTP 端点,无需安装软件包。MCP 客户端侧无需认证。服务端自身需配置上游代理密钥与基础地址,并按 IP 施加软性速率限制(默认每小时 30 次工具调用)。
安装前请注意
六个工具均为只读查询,但返回的是原样透传的第三方实时房产数据,准确性与时效性不作保证。免费层有速率限制,并被说明为发现渠道,而非付费上游服务的无限量替代。房源记录包含经纪人与办公室联系方式。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Realtystack Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.IsaiahDupree%2Frealtystack-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "realtystack": {
      "type": "http",
      "url": "https://realtystack-mcp.vercel.app/mcp"
    }
  }
}

README

realtystack-mcp

A remote MCP (Model Context Protocol) connector for the RealtyStack API — U.S. real-estate data built on RentCast: property records search + single-record lookup, AVM sale-value and long-term-rent estimates with comparables, and active sale/rental listings, all in one flat /v1 JSON contract.

Upstream: https://realestate-api-kappa.vercel.app (RealtyStack REST API) — 6 tools, one per /v1 endpoint. Since the upstream deployment is metered (RapidAPI/Apify, and itself layered over RentCast's metered quota), this connector authenticates its own outbound calls with a server-side RapidAPI proxy secret (REALTYSTACK_MCP_PROXY_SECRET, sent as the X-RapidAPI-Proxy-Secret header) and applies a soft per-IP rate limit (REALTYSTACK_MCP_RATE_LIMIT, default 30 tool-calls/hour, in-memory) so this free MCP tier stays a discovery channel rather than an unmetered bypass of the paid listing — see lib/ratelimit.js.

What this is, and why it's a separate connector

RealtyStack is a plain REST API. Any HTTP client can already call it directly. This repo exists because MCP clients (Claude, ChatGPT, and other MCP-aware agents) don't consume arbitrary REST APIs — they consume MCP tools. realtystack-mcp is a thin adapter layer that:

  • Exposes each RealtyStack /v1 endpoint as a discoverable, typed MCP tool (name, description, zod input schema, annotations) that an LLM can reason about and call directly, instead of having to be taught the REST surface out-of-band.
  • Speaks the MCP streamable-HTTP transport at a single /mcp endpoint, so it can be registered as a connector in Claude, ChatGPT, or any other MCP client with one URL.
  • Does nothing else. It has no business logic of its own — every tool call is a pass-through fetch to RealtyStack, and the JSON response RealtyStack returns is handed back verbatim as the tool result.

Authentication: none on the MCP caller side (deliberate)

RealtyStack's data has no per-user dimension — it's objective real-estate data (property records, valuation estimates, listings). There is nothing to gate per-caller, so this connector intentionally ships with:

  • No OAuth, no login, no bearer tokens from the MCP client
  • No Supabase / database
  • No demo-vs-real account split — every caller gets the same real, live data

api/mcp.js builds a fresh, stateless McpServer per request and serves it with zero MCP-caller auth checks.

Upstream auth (outbound)

The upstream RealtyStack deployment gates every /v1/* route behind a RapidAPI proxy secret (see realestate-api/src/guard.js). This connector reaches real data by sending that same secret as the X-RapidAPI-Proxy-Secret header on its outbound fetch calls, read from the REALTYSTACK_MCP_PROXY_SECRET env var. Verified behavior: sending X-RapidAPI-Proxy-Secret passes the guard and returns real data; sending nothing returns 403 "This API is served through RapidAPI.". This is an upstream monetization detail — it does not add any auth to this connector, which still has zero MCP-caller auth by design.

Tool list

One tool per RealtyStack /v1 endpoint (from realestate-api/openapi.yaml; /api/health is intentionally not wrapped):

ToolRealtyStack endpointDescription
search_propertiesGET /v1/propertiesSearch property records by address, city/state/zip, or lat/long radius, with structural filters.
get_propertyGET /v1/properties/{id}Full detail for one property record by its RentCast id.
avm_valueGET /v1/avm/valueAVM sale-value estimate (point + range) with scored comparable sales.
avm_rentGET /v1/avm/rentAVM long-term-rent estimate (point + range) with scored comparable rentals.
search_sale_listingsGET /v1/listings/saleActive (or inactive) for-sale listings with MLS + agent/office contact.
search_rental_listingsGET /v1/listings/rentalActive (or inactive) long-term rental listings.

All 6 tools are read-only GETs, annotated { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true } — none of them write anything, and all of them reflect live, externally-changing real-estate data.

How it wraps realestate-api

Each tool handler does a plain fetch(\${REALTYSTACK_MCP_API_BASE_URL}${path}`, ...)against the real RealtyStack REST API (adding theX-RapidAPI-Proxy-Secret` header when configured) and returns the parsed JSON as MCP tool-result content:

js
{ content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }

Upstream HTTP errors (4xx/5xx) are caught and surfaced as a typed MCP error result via an asError helper rather than crashing the request.

Environment variables

VarPurposeDefault
REALTYSTACK_MCP_API_BASE_URLUpstream RealtyStack base URLhttps://realestate-api-kappa.vercel.app
REALTYSTACK_MCP_PROXY_SECRETSent as X-RapidAPI-Proxy-Secret to pass the upstream guard(unset — 403 from guarded upstream)
REALTYSTACK_MCP_RATE_LIMITSoft per-IP tools/call cap per hour30

Project layout

api/mcp.js       MCP endpoint (StreamableHTTPServerTransport, stateless, no caller auth)api/health.js    GET /api/healthlib/tools.js     All 6 tool definitions (zod schemas + fetch-and-forward handlers)lib/ratelimit.js Soft in-memory per-IP tools/call caplocal-server.js  Plain-Node http server for local dev / smoke testing (not deployed)test/smoke.mjs   Real end-to-end smoke test (initialize, tools/list, tools/call)vercel.json      Routes /mcp -> api/mcp.js, /health -> api/health.jsserver.json      MCP registry metadata

Local development

bash
npm installnpm run dev          # starts local-server.js on http://localhost:3900

Endpoints locally: POST http://localhost:3900/mcp, GET http://localhost:3900/health.

To hit real upstream data locally, set the proxy secret:

bash
REALTYSTACK_MCP_PROXY_SECRET=<secret> npm run dev

Smoke test

bash
npm run dev &                 # terminal 1npm run smoke                 # terminal 2

test/smoke.mjs drives the running server over real HTTP/JSON-RPC and verifies:

  1. GET /health returns { ok: true, ... }
  2. initialize succeeds and reports serverInfo.name === "realtystack"
  3. tools/list returns all 6 tools with their zod-derived JSON schemas
  4. tools/call for search_properties exercises the tool end-to-end (when REALTYSTACK_MCP_PROXY_SECRET is set it asserts a real upstream result; without it, the tool-calling mechanics are still proven and the upstream's honest 403 guard response is accepted)

Deploy

Not deployed by this build (verify first). Once verified:

bash
cd /Users/isaiahdupree/Software/realtystack-mcpnpx vercel --yes --prod

After deploy, the MCP connector URL to register in Claude/ChatGPT/any MCP client is:

https://<deployment-domain>/mcp

来源:README.md,提交 ef76c23

工具

6

search_properties

Search property records

Search normalized U.S. property records (owner, structural attributes, tax assessments, tax + sale history) by location. Pin a location one of three ways: a full address, a city+state(+zipCode), or a latitude+longitude point with a radius (miles). All other parameters narrow the result set. Records are cached 24h upstream, so meta.cached may be true on repeat queries.

输入参数citylimitstateoffsetradiusaddresslotSizezipCodebedroomslatitudebathroomslongitude另有 5 个

get_property

Get one property record by id

Full detail for a single property record, keyed by its RentCast id (the same id returned on every search_properties, avm_value, avm_rent, and listings record). Returns 404 if no property matches the id. Cached 24h upstream.

输入参数id必填

avm_value

AVM sale-value estimate with comparables

Run RentCast's automated valuation model for a subject property and return a point price estimate, a priceRangeLow/priceRangeHigh band, the resolved subjectProperty, and comparables[] — recent comparable sales each scored with a distance (miles) and correlation (0-1 similarity). Pin the subject with either address or latitude+longitude; when subject attributes are unknown, supply propertyType/bedrooms/bathrooms/squareFootage (or leave lookupSubjectAttributes true to have RentCast fill them). Cached 6h upstream.

输入参数addressdaysOldbedroomslatitudebathroomscompCountlongitudemaxRadiuspropertyTypesquareFootagelookupSubjectAttributes

avm_rent

AVM long-term-rent estimate with comparables

Run RentCast's automated model for long-term (12-month lease) rent and return a point rent estimate, a rentRangeLow/rentRangeHigh band, the resolved subjectProperty, and comparables[] — recent comparable rentals each scored with distance and correlation. Same subject-pinning rules as avm_value (address or latitude+longitude, plus optional subject attributes). Cached 6h upstream.

输入参数addressdaysOldbedroomslatitudebathroomscompCountlongitudemaxRadiuspropertyTypesquareFootagelookupSubjectAttributes

search_sale_listings

Search active (or inactive) sale listings

Return a page of for-sale listings (list price, status, days on market, MLS name/number, listing agent + office contact, and price/status history) for a location. Same location-pinning rules as search_properties (address, city+state(+zipCode), or latitude+longitude+radius). Each record is tagged listingKind:"sale". Listings move faster than records, so these are cached only 30 minutes upstream.

输入参数citylimitpricestateoffsetradiusstatusaddressdaysOldlotSizezipCodebedrooms另有 7 个

search_rental_listings

Search active (or inactive) long-term rental listings

Return a page of long-term (12-month lease) rental listings — same record shape as search_sale_listings (monthly price is the asking rent), but each record is tagged listingKind:"rental-long-term". Same location-pinning rules and 30-minute upstream cache as the sale-listings endpoint.

输入参数citylimitpricestateoffsetradiusstatusaddressdaysOldlotSizezipCodebedrooms另有 7 个

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。