房哨兵 AI 接入中心:中国12城官方房产成交数据与进攻/防守市场信号 — MCP Server + REST API + Claude Skill | Housing Sentinel: official housing data & offense/defense market signals for 12 major Chinese cities, via MCP / REST / Claude Skill
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add housing-sentinel --env HOUSING_SENTINEL_API_KEY='<HOUSING_SENTINEL_API_KEY>' -- npx -y housing-sentinel-mcp~/.codex/config.toml
[mcp_servers.housing-sentinel]
command = "npx"
args = ["-y", "housing-sentinel-mcp"]
env = { HOUSING_SENTINEL_API_KEY = "<HOUSING_SENTINEL_API_KEY>" }
# codex mcp add housing-sentinel --env HOUSING_SENTINEL_API_KEY='<HOUSING_SENTINEL_API_KEY>' -- npx -y housing-sentinel-mcp~/.cursor/mcp.json
{
"mcpServers": {
"housing-sentinel": {
"command": "npx",
"args": [
"-y",
"housing-sentinel-mcp"
],
"env": {
"HOUSING_SENTINEL_API_KEY": "<HOUSING_SENTINEL_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"housing-sentinel": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"housing-sentinel-mcp"
],
"env": {
"HOUSING_SENTINEL_API_KEY": "<HOUSING_SENTINEL_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"housing-sentinel": {
"command": "npx",
"args": [
"-y",
"housing-sentinel-mcp"
],
"env": {
"HOUSING_SENTINEL_API_KEY": "<HOUSING_SENTINEL_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"housing-sentinel": {
"command": "npx",
"args": [
"-y",
"housing-sentinel-mcp"
],
"env": {
"HOUSING_SENTINEL_API_KEY": "<HOUSING_SENTINEL_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"housing-sentinel": {
"command": "npx",
"args": [
"-y",
"housing-sentinel-mcp"
],
"env": {
"HOUSING_SENTINEL_API_KEY": "<HOUSING_SENTINEL_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http housing-sentinel https://api.housingsentinel.cn/mcp --header 'Authorization: <AUTHORIZATION>'~/.codex/config.toml
[mcp_servers.housing-sentinel]
url = "https://api.housingsentinel.cn/mcp"
http_headers = { Authorization = "<AUTHORIZATION>" }
# codex mcp add housing-sentinel --url https://api.housingsentinel.cn/mcp~/.cursor/mcp.json
{
"mcpServers": {
"housing-sentinel": {
"url": "https://api.housingsentinel.cn/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"housing-sentinel": {
"type": "http",
"url": "https://api.housingsentinel.cn/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"housing-sentinel": {
"httpUrl": "https://api.housingsentinel.cn/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"housing-sentinel": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.housingsentinel.cn/mcp",
"--header",
"Authorization:<AUTHORIZATION>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"housing-sentinel": {
"url": "https://api.housingsentinel.cn/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}需要的环境变量
HOUSING_SENTINEL_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。