Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Korea Real Estate

by hall7024version 0.1.2i★ 0iRuns on your computerRepository ↗
Registry nameio.github.hall7024/korea-realestate-mcp

How to install

What it does

국토교통부 실거래가 13종 조회와 시세·전세가율 분석 (공공데이터포털 키 필요)

  • Connects Runs on your computer
  • Account or key Needs DATA_GO_KR_SERVICE_KEY
  • Category Travel, maps & weather

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Korea Real Estate. Follow https://mcp.popnx.com/i/hall7024-korea-realestate-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 20, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Korea Real Estate key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Korea Real Estate for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "korea-realestate": { "command": "npx", "args": [ "-y", "korea-realestate-mcp" ], "env": { "DATA_GO_KR_SERVICE_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DATA_GO_KR_SERVICE_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Korea Real Estate tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Korea Real Estate key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "korea-realestate": {
          "command": "npx",
          "args": [
            "-y",
            "korea-realestate-mcp"
          ],
          "env": {
            "DATA_GO_KR_SERVICE_KEY": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Korea Real Estate and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Korea Real Estate or shows a Korea Real Estate tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Korea Real Estate yet

Korea Real Estate runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Korea Real Estate

  • You need a Korea Real Estate key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Korea Real Estate key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Korea Real Estate key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Korea Real Estate key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Travel, maps & weather that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Korea Real Estate key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Korea Real Estate for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user korea-realestate --env DATA_GO_KR_SERVICE_KEY=your-value -- npx -y korea-realestate-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DATA_GO_KR_SERVICE_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Korea Real Estate tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Korea Real Estate key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user korea-realestate --env DATA_GO_KR_SERVICE_KEY=your-value -- npx -y korea-realestate-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Korea Real Estate listed as connected

  6. Try it

    Use Korea Real Estate and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Korea Real Estate or shows a Korea Real Estate tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Korea Real Estate key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Korea Real Estate for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "korea-realestate": { "command": "npx", "args": [ "-y", "korea-realestate-mcp" ], "env": { "DATA_GO_KR_SERVICE_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DATA_GO_KR_SERVICE_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Korea Real Estate tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Korea Real Estate key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Korea Real Estate settings, DATA_GO_KR_SERVICE_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Korea Real Estate and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Korea Real Estate or shows a Korea Real Estate tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Korea Real Estate key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Korea Real Estate for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "korea-realestate": { "type": "stdio", "command": "npx", "args": [ "-y", "korea-realestate-mcp" ], "env": { "DATA_GO_KR_SERVICE_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DATA_GO_KR_SERVICE_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Korea Real Estate tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Korea Real Estate key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Korea Real Estate settings, DATA_GO_KR_SERVICE_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Korea Real Estate and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Korea Real Estate or shows a Korea Real Estate tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Korea Real Estate💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user korea-realestate --env DATA_GO_KR_SERVICE_KEY=your-value -- npx -y korea-realestate-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "korea-realestate": {
      "command": "npx",
      "args": [
        "-y",
        "korea-realestate-mcp"
      ],
      "env": {
        "DATA_GO_KR_SERVICE_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "korea-realestate": {
      "command": "npx",
      "args": [
        "-y",
        "korea-realestate-mcp"
      ],
      "env": {
        "DATA_GO_KR_SERVICE_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "korea-realestate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "korea-realestate-mcp"
      ],
      "env": {
        "DATA_GO_KR_SERVICE_KEY": "your-value"
      }
    }
  }
}

Values you fill in

  • DATA_GO_KR_SERVICE_KEY secret required env
    공공데이터포털 일반 인증키 (Encoding·Decoding 어느 쪽이든)

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
0.1.2
Published to registryi
Nov 12, 2026
Code last changedi
Nov 19, 2026
Maker
hall7024
Packages
npm: korea-realestate-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 21, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account hall7024, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for korea-realestate-mcp@0.1.2

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/hall7024-korea-realestate-mcp.svg)](https://mcp.popnx.com/en/servers/hall7024-korea-realestate-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Travel, maps & weatheri

  • More stars than 0% of the other 2083 servers in this category
  • Published to the registry more recently than 80% of the other 2083 servers in this category
  • Basic checks equal to or better than 99% of the other 2083 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Korea Real Estate safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: DATA_GO_KR_SERVICE_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 days ago, and the latest version (0.1.2) reached the registry 9 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Mu, Award Travel Finder, Killbottleneck, Gondola Award Travel Search, Whimsical

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Mu

News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint.

by microGrowing★ 441Updated 4 months ago

Runs in the cloud✓ micro.mu

Whimsical

Create and edit flowcharts, mind maps, wireframes, and docs in Whimsical, or search your workspace.

by WhimsicalCodeEarly★ 11Updated 2 months ago

Runs in the cloud✓ service owner · whimsical.com
Compared with similar ones
This one
Korea Real Estate
MuAward Travel FinderKillbottleneckGondola Award Travel SearchWhimsical
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoYesNoNo
Add with + in ClaudeNoNoNoNoNoYes
Basic checks3/34/43/33/34/44/4
LicenseMITAGPL-3.0MITMITMITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

korea-realestate-mcp

국토교통부 실거래가 공개자료로 아파트·빌라·오피스텔의 시세와 전세가율을 계산하는 MCP 서버, CLI, TypeScript 라이브러리입니다. Claude에게 "이 단지 84㎡ 시세가 어때?", "이 빌라 전세 4억이면 시세 대비 몇 %야?"라고 물으면 실거래 원자료로 근거 있는 숫자를 답할 수 있게 합니다.

English summary

> 세종 종촌동 가재마을4단지 75㎡ 전세 3억이면 어느 정도야?

세종특별자치시 종촌동 아파트 전세가율

단지: 가재마을4단지(센트레빌) (종촌동 640)

항목값
전세가율53.7%
㎡당 매매 중앙값 (사분위)559만원 (538만원 ~ 567만원)
㎡당 전세 중앙값 (사분위)300만원 (293만원 ~ 307만원)
표본매매 38건, 전세 36건
신뢰도높음
입력 보증금3억원
추정 전세가 (같은 면적)2억 2,506만원
보증금 ÷ 추정 전세가133.3%
비교 전세 중 위치㎡당 보증금이 입력값 이하인 계약 100%
추정 매매가 (같은 면적)4억 1,936만원
보증금 ÷ 추정 매매가71.5%

기준: 계약일 기준 최근 12개월 (2025-11-11 초과 ~ 2026-11-11) / 전용면적 75㎡ ±3% / 해제 거래 제외 (1건) / 직거래 제외 (3건) / … 제외: 해제 1건, 직거래 3건 (매매) / 월세 42건, 갱신 23건 (전세 표본에서) 참고 자료이며 계약·투자 판단의 근거가 아닙니다. 출처: 국토교통부 실거래가 공개자료(공공데이터포털), 조회 2026-11-11 23:12 KST

무엇이 다른가

  • 13종 전부: 아파트·연립다세대·단독다가구·오피스텔의 매매와 전월세, 분양·입주권, 상업업무용, 토지, 공장·창고.
  • 빠짐없이 받기: 모든 쪽을 받고, 받은 건수가 totalCount보다 적으면 다시 받거나 실패로 알립니다. 한 쪽만 받고 끝내지 않습니다.
  • 조용한 0건을 막기: 이 API는 잘못된 지역 코드·미래 달·옛 행정구역 코드에도 오류 없이 0건을 돌려줍니다. 호출 전에 코드표와 날짜로 먼저 검증합니다.
  • 2026-07 행정구역 개편 반영: "인천 중구", "광주광역시 북구", "화성시"를 새 코드(제물포구·영종구, 전남광주통합특별시 북구, 화성시 4개 구)로 바꿔 조회합니다. API가 과거 거래도 새 코드로만 돌려주는 것을 실측으로 확인했습니다.
  • 오류를 할 일로 바꾸기: 403 코드 30은 "키가 틀림"과 "그 서비스 미신청"이 바이트까지 같은 응답입니다. 같은 키로 다른 서비스가 성공했으면 미신청으로 좁히고, 신청할 데이터셋 번호와 링크를 알려 줍니다. doctor 명령으로 13종의 신청 상태를 한 번에 봅니다.
  • 분석 기준을 숨기지 않기: 해제·직거래 제외 건수, 면적 허용 오차, 신고 기한 때문에 덜 잡힌 최근 달, 표본 수와 신뢰도 기준을 결과에 함께 냅니다.
  • 키를 새지 않게: 인증키는 URL 쿼리에 실려 가므로, URL과 원본 예외를 오류·로그·도구 결과 어디에도 내보내지 않습니다. 테스트로 확인합니다. 보안 설계

시작하기

1. 인증키 발급과 활용신청
  1. 공공데이터포털에 가입하고 아래 데이터셋마다 활용신청을 합니다. 자동승인이며 반영까지 최대 1시간 걸릴 수 있습니다.
  2. 마이페이지에서 일반 인증키를 복사합니다. Encoding·Decoding 어느 쪽이든 됩니다.
용도데이터셋
아파트 시세·전세가율아파트 매매, 아파트 전월세
빌라(연립·다세대)매매, 전월세
오피스텔매매, 전월세
그 밖 (조회만)단독·다가구 매매·전월세, 분양·입주권, 상업업무용, 토지, 공장·창고, 아파트 매매 상세

신청 상태 확인:

DATA_GO_KR_SERVICE_KEY=발급받은키 npx -y korea-realestate-mcp@0.1 doctor
2. Claude에 연결

Claude Code

claude mcp add korea-realestate -e DATA_GO_KR_SERVICE_KEY=발급받은키 -- npx -y korea-realestate-mcp@0.1

Claude Desktop (claude_desktop_config.json)

{

"mcpServers": { "korea-realestate": { "command": "npx", "args": ["-y", "korea-realestate-mcp@0.1"], "env": { "DATA_GO_KR_SERVICE_KEY": "발급받은키" } } } }

설정 파일에 키가 평문으로 남습니다. 파일 권한을 확인하고, 키가 새면 포털에서 재발급하세요.

MCP 도구

도구하는 일
resolve_region지역 이름 → 시군구 코드·법정동. 이름이 겹치면 후보와 "region에 넣을 값"을 돌려줍니다
search_deals13종 실거래 원자료를 최신순으로 (최대 50건, 24개월)
market_summary매매 시세: 중앙값, 범위, 사분위, ㎡당·3.3㎡당 가격, 월별 추이, 최근 거래
jeonse_ratio전세가율. 보증금과 면적을 주면 추정 전세가·매매가 대비 비율과 비교 전세 중 위치

모든 도구는 읽기 전용이고, 결과 끝에 출처와 조회 시각을 붙입니다.

지역은 이렇게 넣을 수 있습니다:

  • 시군구: 강남구, 서울 강남구, 수원시 영통구, 세종
  • 법정동: 마포구 아현동, 아현동, 세종 조치원읍
  • 코드: 시군구 5자리, 법정동 10자리
  • 행정동·줄임말·옛 이름: 역삼1동, 강남, 인천 중구

CLI

export DATA_GO_KR_SERVICE_KEY=발급받은키

korea-realestate-mcp doctor korea-realestate-mcp region 신사동 korea-realestate-mcp deals --type apt --deal rent --region "마포구 아현동" --months 3 korea-realestate-mcp summary --type apt --region "마포구 아현동" --name 래미안푸르지오 --area 84 korea-realestate-mcp ratio --type rh --region "강서구 화곡동" --area 59 --deposit 4억 --json

인자 없이 터미널에서 실행하면 도움말이 나오고, 파이프로 실행하면(MCP 클라이언트가 띄울 때) stdio MCP 서버로 동작합니다.

라이브러리

import { createClient, summarize, resolveRegion } from "korea-realestate-mcp";

const client = createClient(); // DATA_GO_KR_SERVICE_KEY를 읽음. 또는 { serviceKey } const deals = await client.fetchMonth("apt-sale", "11440", "202610"); // 금액은 원 단위 const r = await summarize({ client }, { propertyType: "apt", region: "마포구 아현동", area: 84 });

fetch, 캐시(CacheStore), 시계를 주입할 수 있습니다. 라이브러리 진입점은 MCP SDK를 불러오지 않습니다.

계산 기준과 한계

  • 기간: "최근 12개월"은 KST 오늘 기준 계약일 12개월입니다. API 호출은 13개 달입니다.
  • 최근 두 달: 실거래 신고 기한이 30일이라 건수가 덜 잡힙니다. 월별 추이에 *로 표시합니다.
  • 제외: 해제 거래는 항상 빼고, 직거래는 기본으로 뺍니다(가족 간 거래 등이 시세를 끌어내릴 수 있음). 뺀 건수는 항상 표시합니다.
  • 전세 표본: 월세 0원이고 갱신 계약이 아닌 것입니다. 계약 구분이 비어 있는 계약은 포함합니다(실측상 많음).
  • 면적 허용 오차: 단지를 지정하면 ±3%, 아파트 지역 범위는 ±10%, 빌라·오피스텔은 ±15%입니다.
  • 전세가율 표본: 매매·전세 각 5건 이상일 때만 냅니다. 신뢰도 "높음"은 단지를 지정하고, 각 10건 이상이며, 최근 6개월에 각 3건 이상일 때입니다. 지역 범위는 최대 "보통"입니다.
  • 판단은 하지 않음: 숫자와 기준만 돌려줍니다. 결과는 공개 실거래 기반 참고 자료이며 계약·투자 판단의 근거가 아닙니다. 계약 전에는 등기부와 전문가 확인이 필요합니다.
  • 실측 범위: 13종 모두 실제 응답(세종 2026-10)으로 필드를 확인했습니다. 서비스별 자료 시작월은 확인하지 않았습니다.
  • 가려진 지번: 단독다가구·토지·공장창고 매매는 공개 자료에서 지번 일부가 2**처럼 가려져 옵니다. 단독다가구 전월세는 지번이 없습니다.
  • 호출 한도: 한 번의 조회는 API 호출 80건 안에서만 합니다. 개발계정은 하루 10,000건입니다. 구가 여러 개인 시 전체(예: 수원시 24개월 전세가율)는 한도를 넘으니 구로 좁혀 주세요.

보안 설계

  • 인증키는 환경변수 DATA_GO_KR_SERVICE_KEY로만 받습니다. 도구 입력에는 키 필드가 없습니다.
  • Encoding 키와 Decoding 키를 같은 원문으로 정규화한 뒤 한 번만 인코딩합니다. 이중 인코딩하면 403이 납니다.
  • 요청 URL에 키가 있으므로, URL·원본 예외(Failed to parse URL from … 등)·응답 본문을 오류에 담지 않습니다. 모든 출력은 키의 원문·인코딩형·+→공백형을 가리는 마스킹을 거칩니다.
  • 요청은 https://apis.data.go.kr로만, redirect: "error", 타임아웃 15초, 응답 16MB 상한, 동시 4건으로 보냅니다.
  • XML은 DOCTYPE을 거부하고 값을 문자열 그대로, 200자 제한으로 읽습니다. 업스트림 코드 값은 숫자일 때만 믿습니다.
  • 로그는 stderr로만, 서비스·지역·달·상태만 남깁니다.
  • 저장소는 gitleaks(serviceKey 규칙 포함)·Semgrep·zizmor·CodeQL·Dependabot을 쓰고, 액션은 SHA로 고정합니다. npm 배포는 GitHub Actions에서 provenance를 붙여 하고, 첫 배포 뒤에는 trusted publishing(OIDC)만 씁니다.

취약점은 SECURITY.md의 방법으로 알려 주세요.

개발

pnpm install

pnpm test # 단위·통합 테스트 (네트워크 없음) pnpm typecheck && pnpm lint && pnpm build LIVE=1 DATA_GO_KR_SERVICE_KEY=… pnpm vitest run test/live.test.ts # 실제 API 스모크 (약 3건 호출) pnpm gen:regions <법정동코드 전체자료.txt> # 지역 코드표 다시 만들기

설계 문서: docs/superpowers/specs/2026-11-11-v0.1-design.md

데이터 출처와 라이선스

  • 실거래가: 국토교통부 실거래가 공개 API(공공데이터포털). 이 패키지는 실거래 자료를 담지 않고, 사용자의 키로 직접 호출합니다.
  • 지역 코드표(data/regions.json): 행정안전부 행정표준코드관리시스템 법정동코드 전체자료 (공공누리 제1유형, 출처: 행정안전부).
  • 코드: MIT

English

korea-realestate-mcp is an MCP server, CLI, and TypeScript library for Korea's official real-estate transaction data (MOLIT, via data.go.kr).

  • Queries all 13 transaction datasets (apartments, row houses, detached houses, officetels, presale rights, commercial, land, industrial).
  • Computes market summaries (median, IQR, price per ㎡, monthly trend) and *jeonse* (lump-sum deposit lease) ratios, with every exclusion and threshold shown.
  • Resolves Korean region names, legal-dong codes, and pre-2026 administrative names to the codes the API actually accepts. The API returns an empty, error-free result for wrong or retired codes, so inputs are validated before calling.
  • Turns opaque gateway errors into actionable messages, including which dataset to subscribe to.
  • Keeps the API key out of every error, log, and tool result. The key travels in the URL query, so URLs and raw exceptions are never surfaced. Tests enforce this.

Requires a free data.go.kr service key in DATA_GO_KR_SERVICE_KEY. Results are reference data, not advice.