買屋快搜
by tonywang0122
README.md
# 買屋快搜
房屋物件搜尋 MCP Server — 讓 AI 幫你找房子。
支援 Claude Desktop / Codex CLI,以及所有相容 MCP 的 AI 工具。
## 一鍵安裝
**macOS / Linux:**
```bash
curl -LsSf https://raw.githubusercontent.com/tonywang0122/house-search-mcp/main/install.sh | bash
```
**Windows (PowerShell):**
```powershell
irm https://raw.githubusercontent.com/tonywang0122/house-search-mcp/main/install.ps1 | iex
```
> 如果遇到 ExecutionPolicy 錯誤:
> ```powershell
> # 方法 A:只對這次生效(推薦)
> powershell -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/tonywang0122/house-search-mcp/main/install.ps1 | iex"
>
> # 方法 B:永久放行(需管理員權限)
> Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
> # 然後重跑安裝指令
> ```
安裝腳本自動偵測並設定:
- **Claude Desktop**(macOS / Windows 一般版 / Store 版)
- **Codex CLI**(macOS / Windows 一般版 / Store 版)
安裝完成後,重啟應用即可使用。
## 升級
開啟終端機(macOS: Terminal / Windows: PowerShell),貼上:
```bash
uv cache clean house-search-mcp
```
然後重啟 Claude Desktop / Codex CLI,會自動下載最新版。
## 功能
- **house_search** — 搜尋物件列表(城市、行政區、房數、價格、坪數、屋齡等篩選)
- **house_get_detail** — 查詢單一物件完整明細(座向、建築結構、生活圈步行距離、管理費等)
## 使用方式
在 AI 對話中直接說:
- 「幫我找板橋三房 預算一千八」
- 「台中西屯有什麼降價的三房大樓嗎」
- 「查一下這間物件的明細:1083GN」
## 手動安裝
如果一鍵安裝失敗,可以手動設定:
1. 安裝 [uv](https://docs.astral.sh/uv/)
2. **Claude Desktop** — 編輯設定檔:
- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`(Store 版路徑不同,安裝腳本會自動偵測)
```json
{
"mcpServers": {
"買屋快搜": {
"command": "uvx",
"args": ["house-search-mcp"]
}
}
}
```
3. **Codex CLI** — 執行指令:
```bash
codex mcp add house-search -- uvx house-search-mcp
```
4. 重啟應用
TDQS
A4.6/5.0
Scored across 2 tools
Disambiguation5/5
兩個工具功能明確區分:house_search 用於列表搜尋,house_get_detail 用於單一物件詳細資料。彼此沒有重疊,代理可清楚選擇。
Naming Consistency5/5
兩個工具皆以 house_ 前綴開頭,後接動詞(search、get_detail),命名模式一致且易於預測。
Tool Count4/5
工具數量僅 2 個,略少於典型 3-15 個的範圍,但對於僅需搜尋與查看詳情的房屋查詢服務而言,已足夠且合理。
Completeness5/5
涵蓋房屋查詢的主要流程:先透過 house_search 取得物件列表與篩選條件,再透過 house_get_detail 取得完整細節。此為唯讀服務,沒有明顯缺漏的操作。
Maintenance
ActivityInactive
ResponsivenessNo issues