
Housing Sentinel
cn.housingsentinelPublished by housingsentinel.cnOfficial publisherv1.3.0Updated Oct 24, 2026
中国12城官方房产成交数据与进攻/防守买卖信号 MCP。3天全城市免费试用,深圳信号永久免费。Housing data & signals for 12 Chinese cities.
Overview
Housing Sentinel gives an assistant official daily housing transaction data and buy/defend market signals for 12 major Chinese cities.
- What you can do
- List the cities available to the account and their signal thresholds
- Read a city's current market phase and its second-hand and first-hand inventory cycle metrics
- Pull daily metric time series and raw daily transaction and inventory history for trend analysis
- Run built-in prompts for a daily market brief and multi-city comparison, and read threshold resources
- When to use it
- Useful when someone wants an AI assistant to track Chinese residential property timing — checking whether a city is in a defend, watch or buy phase, comparing cities, or following absorption-cycle trends over time.
- Requirements
- A Housing Sentinel account and an API key generated on the provider's site, passed as a Bearer token in the Authorization header (or as HOUSING_SENTINEL_API_KEY for the npm stdio package). Remote MCP endpoint by default; the npm package needs Node.js and npx. A mainland-China proxy endpoint can be set via HOUSING_SENTINEL_URL.
Installation
In SourceWeft
- Open Housing Sentinel in the dashboard and add it to a workspace.
- Connect Authorization token credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/cn.housingsentinel%2Fhousing-sentinel/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"housing-sentinel": {
"type": "http",
"url": "https://api.housingsentinel.cn/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
🏠 房哨兵 Housing Sentinel — AI 接入中心
把中国 12 城官方房产成交数据与进攻/防守市场信号,接入你的 AI Agent 和自动化工作流
Connect official daily housing-transaction data & market signals for 12 major Chinese cities
to your AI agents and workflows.
[官网] [MCP] [smithery badge] [REST API] [Claude Skill] [城市]
中文 | English
目录
- 这是什么
- 覆盖城市与数据
- 核心概念:进攻/防守市场信号
- 快速开始(3 步)
- API 一览
- 变化驱动:since / ETag 与 Webhook
- MCP Prompts 与 Resources
- npm stdio 包
- 接入配方 recipes/
- 示例与模板
- 使用规则与限制
- FAQ
- English Summary
这是什么
房哨兵是一个房产市场数据监控 SaaS:每日自动抓取各市住建局/房管局官方发布的住宅成交与库存数据,计算库存去化周期,输出"防守 / 观察 / 进攻 / 快速进攻"四档市场信号,帮助购房者和投资者把握交易时机。
本仓库是它的 AI 接入中心——通过 MCP、REST API 或 Claude Skill,把这些数据和信号接进 Claude、Cursor、扣子、Dify、n8n 或任何自建 Agent 工作流。新用户免费试用:登录生成密钥后,首次调用起 3 天内可查询全部 12 城;试用结束后深圳当前信号永久免费;点数包 ¥39/1000 次或订阅解锁全量。无需密钥的公开端点 GET /api/v1/cities/{city}/card 可直接拿到任一城市当日成交与市场档位。
📌 本仓库只包含公开接入文档与示例,不包含房哨兵实现代码。
覆盖城市与数据
12 城:深圳 · 上海 · 北京 · 广州 · 杭州 · 南京 · 苏州 · 无锡 · 成都 · 重庆 · 东莞 · 厦门
数据每日更新一次(北京时间 07:00–23:59 各城市不同)。
核心概念:进攻/防守市场信号
判断框架以二手住宅库存去化周期为核心:
无去化周期数据的城市降级为月成交量判断(荣枯线/暴涨线,各城市阈值不同,见 GET /api/v1/cities)。一手与二手信号矛盾时,以二手为准。
快速开始(3 步)
- 登录:在 housingsentinel.cn 或微信小程序"房哨兵"登录(不订阅也有 3 天全 12 城免费试用,之后深圳当前信号永久免费;点数包 ¥39/1000 次/30 天;订阅单城市或全国套餐解锁完整历史与更高限额)
- 取密钥:登录后进入 我的 → 接入 AI Agent,生成 API Key(
hs_live_...) - 接入(任选其一):
方式 A:MCP 接入(Claude / Cursor 等,推荐)
零安装——房哨兵 MCP 是远程服务,填 URL + 密钥即用。
Claude Code 一条命令:
Claude Desktop / Cursor 配置文件:
然后直接问你的 AI:
"厦门现在是什么市场阶段?该进攻还是防守?" "对比一下我订阅的所有城市,哪个最接近买入期?" "分析深圳近90天二手去化周期趋势"
MCP 工具:list_cities · get_market_signal · get_metrics · get_history
方式 B:REST API(任意语言 / n8n / 扣子 / Dify)
OpenAPI 3.0 描述文件:openapi.yaml —— 可直接导入扣子(Coze)插件、Dify 自定义工具、n8n、Custom GPT Actions。
方式 C:Claude Skill(方法论 + 工具,一键安装)
skills/housing-sentinel/SKILL.md 让你的 Claude 掌握完整的"库存去化周期进攻/防守判断框架"——不只是会调 API,还知道怎么解读:二手优先原则、趋势重于水平、各城市口径差异、回答规范。
API 一览
城市代码用拼音全拼(xiamen、shenzhen…)。完整字段定义见 openapi.yaml。
信号响应示例(节选):
变化驱动:since / ETag 与 Webhook
数据每天更新一次,没必要每次都解析全量。
轮询(所有层级可用):首次调 GET /api/v1/signals,之后带上次响应的 nextSince:
- 带
since时只返回该时间后有数据变动的城市,响应多出since、changedSince(变动城市代码数组)、nextSince(下次用);每个城市对象带updatedAt。非法 since 返回 400BAD_SINCE。 /signals与/cities/{city}/signal返回弱ETag,带If-None-Match且没变化时返回 304。- 完整脚本:recipes/polling-etag.sh、recipes/n8n-signals-since.json。
Webhook(试用/点数包/订阅/机构版;免费层与演示密钥返回 403):
- 事件:
data.updated(城市有新数据)、phase.changed(市场阶段变化,额外带previousPhase/phase);服务端每 5 分钟检测一次。 - 请求体
{ id, event, createdAt, cityCode, signal },signal与/cities/{city}/signal响应相同。 - 请求头
X-HS-Event、X-HS-Delivery、X-HS-Signature: t=<unix秒>,v1=<hex>,v1 = HMAC-SHA256(secret, "<t>.<原始请求体>")。 - 要求:url 必须 https(拒绝内网/回环地址);5 秒内返回 2xx,不跟随重定向;连续失败 10 次自动停用(
POST /webhooks/{id}/test成功可重新激活);每账号最多 5 个;订阅/试用过期后停推。 - 验签示例:Node.js / Python。
MCP Prompts 与 Resources
MCP server 1.3.0 在 4 个工具之外提供:
npm stdio 包
只支持 stdio 的 MCP 客户端可以用 housing-sentinel-mcp,它把 stdio 消息原样转发到远程 MCP:
中国大陆网络可在 env 中加 "HOUSING_SENTINEL_URL": "https://housingpi-proxy-anirmyfaea.cn-shanghai.fcapp.run/mcp"。
接入配方 recipes/
recipes/ 里每个文件都可以直接复制:Claude Code 每日 08:00 简报、Claude Desktop/Cursor 配置、n8n since+ETag 轮询、扣子工作流、Dify OpenAPI 导入、OpenAI Agents SDK、Webhook 验签(Node/Python)、curl 轮询脚本。
示例与模板
使用规则与限制
本仓库的文档与示例代码可自由用于接入房哨兵服务;房哨兵名称、判断框架内容与数据服务的权利由 housingsentinel.cn 保留。
FAQ
Q:不订阅能试用吗?
可以。登录后生成 API Key,首次调用起 3 天内可免费查询全部 12 城(含信号、指标序列与最近 30 天原始数据,限 10 次/分、100 次/天);试用结束后深圳当前信号永久免费。不想登录也可以直接调公开端点 GET /api/v1/cities/{city}/card。需要更多:点数包 ¥39 / 1000 次 / 30 天(全城市,历史 90 天),或订阅(单城市 ¥299/年,全国 12 城 ¥1888/年,完整历史与更高限额)。
Q:密钥泄露了怎么办? 登录后到"我的 → 接入 AI Agent"点"重置密钥",旧密钥立即失效,把新密钥更新到 Agent 配置即可。
Q:为什么成都/重庆的一手去化周期是 null? 这两城的一手官方口径为周度成交 + 当月批准上市套数(并非累计可售库存),计算去化周期会产生误导,故诚实地返回 null;判断请看二手指标与成交量。
Q:数据来源可靠吗? 全部来自各市住建局/房管局官方发布渠道,每日自动抓取,多重兜底校验(详见产品内说明)。
Q:想要的城市不在列表里? 到官网提交城市需求,订阅需求量是我们开新城的首要依据。
English Summary
Housing Sentinel provides official daily housing-transaction data and offense/defense market signals for 12 major Chinese cities (Shenzhen, Shanghai, Beijing, Guangzhou, Hangzhou, Nanjing, Suzhou, Wuxi, Chengdu, Chongqing, Dongguan, Xiamen). Signals are derived from second-hand inventory absorption cycles: ≥18 months = defense, 12–18 = watch, 8–12 = buy, <8 = strong buy.
Getting started: log in at housingsentinel.cn → generate an API key under My → AI Agent → connect via the remote MCP server (https://api.housingsentinel.cn/mcp, Bearer auth; or npx -y housing-sentinel-mcp for stdio clients) or REST (/api/v1/signals, spec in openapi.yaml). New users get a free 3-day trial of all 12 cities starting from the first API call, and Shenzhen’s current signal stays free forever afterwards — no subscription required. A public no-key endpoint GET /api/v1/cities/{city}/card returns any city’s latest transactions and market phase. A ready-made Claude Skill teaches your agent both the API and the decision framework. Change-driven access: /signals?since= + ETag/304, and HMAC-signed webhooks (data.updated / phase.changed). Copy-paste integrations live in recipes/.
Data updates daily; rate limits 60 req/min & 2,000 req/day for subscribers (credit pack ¥39 / 1,000 calls / 30 days; 10 req/min & 100 req/day during trial; 10 req/min & 50 req/day on the free tier); data is licensed for the subscriber's/trial user's own use only — redistribution as a data service is prohibited.
Source: README.md at commit 701dc2c
Tools
0Version history
3- v1.3.0LatestOct 1, 2026
- v1.2.0Sep 18, 2026
- v1.1.0Sep 16, 2026
Score
75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.
Other Housingsentinel integrations

Stock Sentinel
Published by GitHub account SheldonZhuang
Stock Sentinel exposes a US-stock attack/defense macro signal system, its history, AI-supply-chain data and SEC-based company research notes to an assistant.

Spacesentinel Mcp
Published by GitHub account SheldonZhuang
Local MCP server for SpaceSentinel that lets an assistant scan and clean whitelisted Windows junk files and give device cleanup guides.