loading…
Search for a command to run...
loading…
Enables automated collection of apartment listing data from Naver Real Estate using Playwright browser automation with passive network response capture. Provide
Enables automated collection of apartment listing data from Naver Real Estate using Playwright browser automation with passive network response capture. Provides MCP tools to search complexes, resolve property identifiers, and extract normalized listing information including duplicate properties.
네이버 부동산 수집을 위한 Playwright + MCP 프로젝트.
jipxl의 확장프로그램 구조는 버리고, 재사용 가능한 타입/정규화 로직만 선별 이관packages/collector-corepackages/playwright-driverpackages/mcp-server현재 기본 수집은 실제 동작 확인 완료:
complexNo=113907) 기준 검증 완료404로 튕기던 문제 수정--disable-blink-features=AutomationControllednavigator.webdriver = falsenavigator.languages 보정/api/complexes/overview/{complexNo} 캡처 지원동일매물 묶기 체크 로직 수정/api/articles?representativeArticleNo=... 응답의 array payload 지원collectDuplicates는 옵션으로 둔다true: 중복매물까지 수집false: 대표매물 목록까지만 수집dateDesc) 으로 고정한다새 Playwright persistent Chrome 프로필로 실행한다.
cd /Users/hyunsu/.openclaw/workspace/naverestate-mcp
npm run build
node packages/mcp-server/dist/index.js
현재는 anti-detection 보정이 들어가 있어서, 기본 persistent 실행만으로도 네이버 부동산 상세 진입이 가능하다.
환경변수로 기존 Chrome 디버깅 엔드포인트를 넘기면, 새 Playwright 프로필 대신 기존 브라우저에 붙을 수 있다.
export NAVER_CDP_ENDPOINT_URL=http://127.0.0.1:9222
node packages/mcp-server/dist/index.js
권장 용도:
현재 stdio MCP 서버에서 제공하는 도구는 아래 4개다.
| Tool | 설명 |
|---|---|
naver_search_complex |
키워드로 단지 자동완성 후보 검색 |
naver_resolve_complex |
후보를 complexNo로 resolve하고 cache 저장 |
naver_collect_complex |
단지 상세에서 대표매물 + 중복매물 수집 |
naver_get_last_result |
마지막 수집 JSON 다시 가져오기 |
{
"name": "naver_search_complex",
"arguments": {
"keyword": "고덕그라시움"
}
}
{
"name": "naver_resolve_complex",
"arguments": {
"apartmentName": "고덕그라시움",
"fullLabel": "고덕동 고덕그라시움"
}
}
{
"name": "naver_collect_complex",
"arguments": {
"filter": {
"complexNo": "113907",
"tradeTypes": ["A1"]
},
"collectDuplicates": true
}
}
{
"name": "naver_get_last_result",
"arguments": {}
}
수집 결과 JSON은 아래 필드를 포함한다.
complex: 단지 개요articlePages: 대표매물 목록 원본 응답들duplicateResponses: 중복매물 원본 응답들articles: 대표매물 정규화 목록duplicateGroups: representativeArticleNo 기준 중복매물 묶음listingGroups: 대표매물 + duplicates 합친 최종 구조고덕그라시움(complexNo=113907) 기준 최근 검증 결과:
21289Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"naver-real-estate-mcp": {
"command": "npx",
"args": []
}
}
}