Skip to main content
Glama
coding-realtor

Korea Building Register MCP

README.md
# ๐Ÿข Korea Building Register MCP

[English](#english) | [ํ•œ๊ตญ์–ด](#ํ•œ๊ตญ์–ด)

---

## English

Ask Claude about Korean building register data โ€” powered by data.go.kr's Building Register API.

Provides **12 tools** for querying building register (๊ฑด์ถ•๋ฌผ๋Œ€์žฅ) information including title sheets, floor details, exclusive-use areas, house prices, zoning, and more.

### Supported Tools

| Tool | Description |
|------|-------------|
| `smart_building_lookup` | ๐Ÿข Smart lookup โ€” auto-detects general vs. collective buildings |
| `search_bjdong_code` | Search region codes (sigungu_cd, bjdong_cd) by name |
| `get_building_title_info` | Title sheet (ํ‘œ์ œ๋ถ€) โ€” area, structure, usage, etc. |
| `get_building_recap_title_info` | Summary title sheet (์ด๊ด„ํ‘œ์ œ๋ถ€) |
| `get_building_basis_ouln_info` | Basic outline (๊ธฐ๋ณธ๊ฐœ์š”) |
| `get_building_floor_ouln_info` | Floor outline (์ธต๋ณ„๊ฐœ์š”) |
| `get_building_expos_info` | Exclusive-use units (์ „์œ ๋ถ€) |
| `get_building_expos_pubuse_area_info` | Exclusive/common area details (์ „์œ ๊ณต์šฉ๋ฉด์ ) |
| `get_building_house_price_info` | Official house prices (์ฃผํƒ๊ฐ€๊ฒฉ) |
| `get_building_wclf_info` | Sewage treatment facilities (์˜ค์ˆ˜์ •ํ™”์‹œ์„ค) |
| `get_building_atch_jibun_info` | Attached land lots (๋ถ€์†์ง€๋ฒˆ) |
| `get_building_jijigu_info` | Zoning districts (์ง€์—ญ์ง€๊ตฌ๊ตฌ์—ญ) |

### Prerequisites

- [uv](https://docs.astral.sh/uv/getting-started/installation/)
- API key from [๊ณต๊ณต๋ฐ์ดํ„ฐํฌํ„ธ (data.go.kr)](https://www.data.go.kr)
  - Apply for: [๊ฑด์ถ•HUB ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ์ •๋ณด ์„œ๋น„์Šค](https://www.data.go.kr/data/15044713/openapi.do)

### Quick Start: Claude Desktop (stdio)

1. **Clone this repository**

```bash
git clone https://github.com/coding-realtor/building-register-mcp.git
cd building-register-mcp
```

2. **Open the Claude Desktop config file**

```bash
# macOS
open "$HOME/Library/Application Support/Claude/claude_desktop_config.json"

# Windows
notepad %APPDATA%\Claude\claude_desktop_config.json
```

3. **Add the entry below under `mcpServers`**

```json
{
  "mcpServers": {
    "building-register": {
      "command": "uv",
      "args": [
        "run",
        "--directory", "/path/to/building-register-mcp",
        "data-go-mcp-building-register"
      ],
      "env": {
        "BUILDING_REGISTER_API_KEY": "your_api_key_here"
      }
    }
  }
}
```

> Replace `/path/to/building-register-mcp` with the actual path where you cloned the repository.

4. **Restart Claude Desktop**

Setup is complete when you can see the `building-register` server in the tool list.

### Usage Example

```
Tell me about the building at ์„œ์šธ ์ข…๋กœ๊ตฌ ์ฒญ์šด๋™ 89-3
```

Claude will automatically:
1. Look up the region code via `search_bjdong_code`
2. Call `smart_building_lookup` to fetch building details
3. Present the results in a readable table

---

## ํ•œ๊ตญ์–ด

Claude์—๊ฒŒ ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ ์ •๋ณด๋ฅผ ๋ฌผ์–ด๋ณด์„ธ์š” โ€” ๊ณต๊ณต๋ฐ์ดํ„ฐํฌํ„ธ ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ์ •๋ณด API ๊ธฐ๋ฐ˜ MCP ์„œ๋ฒ„์ž…๋‹ˆ๋‹ค.

๊ฑด์ถ•๋ฌผ๋Œ€์žฅ **ํ‘œ์ œ๋ถ€, ์ธต๋ณ„๊ฐœ์š”, ์ „์œ ๋ถ€, ์ฃผํƒ๊ฐ€๊ฒฉ, ์ง€์—ญ์ง€๊ตฌ๊ตฌ์—ญ** ๋“ฑ์„ ์กฐํšŒํ•˜๋Š” **12๊ฐœ ๋„๊ตฌ**๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

### ์ œ๊ณต ๋„๊ตฌ (Tools)

| Tool ๋ช… | ์„ค๋ช… |
|---------|------|
| `smart_building_lookup` | ๐Ÿข ์Šค๋งˆํŠธ ์กฐํšŒ โ€” ์ผ๋ฐ˜/์ง‘ํ•ฉ๊ฑด์ถ•๋ฌผ ์ž๋™ ํŒ๋ณ„ |
| `search_bjdong_code` | ์ง€์—ญ๋ช…์œผ๋กœ ์‹œ๊ตฐ๊ตฌ์ฝ”๋“œยท๋ฒ•์ •๋™์ฝ”๋“œ ๊ฒ€์ƒ‰ |
| `get_building_title_info` | ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ **ํ‘œ์ œ๋ถ€** (๋Œ€์ง€๋ฉด์ , ๊ฑด์ถ•๋ฉด์ , ์šฉ์ ๋ฅ  ๋“ฑ) |
| `get_building_recap_title_info` | ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ **์ด๊ด„ํ‘œ์ œ๋ถ€** |
| `get_building_basis_ouln_info` | ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ **๊ธฐ๋ณธ๊ฐœ์š”** |
| `get_building_floor_ouln_info` | ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ **์ธต๋ณ„๊ฐœ์š”** |
| `get_building_expos_info` | ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ **์ „์œ ๋ถ€** (๋™/ํ˜ธ ์ •๋ณด) |
| `get_building_expos_pubuse_area_info` | ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ **์ „์œ ๊ณต์šฉ๋ฉด์ ** |
| `get_building_house_price_info` | ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ **์ฃผํƒ๊ฐ€๊ฒฉ** (๊ณต์‹œ๊ฐ€๊ฒฉ) |
| `get_building_wclf_info` | ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ **์˜ค์ˆ˜์ •ํ™”์‹œ์„ค** |
| `get_building_atch_jibun_info` | ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ **๋ถ€์†์ง€๋ฒˆ** |
| `get_building_jijigu_info` | ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ **์ง€์—ญ์ง€๊ตฌ๊ตฌ์—ญ** |

### ์‚ฌ์ „ ์ค€๋น„

- [uv](https://docs.astral.sh/uv/getting-started/installation/) ์„ค์น˜
- [๊ณต๊ณต๋ฐ์ดํ„ฐํฌํ„ธ](https://www.data.go.kr)์—์„œ API ํ‚ค ๋ฐœ๊ธ‰
  - ์‹ ์ฒญ ๋Œ€์ƒ: [๊ฑด์ถ•HUB ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ์ •๋ณด ์„œ๋น„์Šค](https://www.data.go.kr/data/15044713/openapi.do)

### ๋น ๋ฅธ ์‹œ์ž‘: Claude Desktop (stdio)

1. **๋ ˆํฌ์ง€ํ† ๋ฆฌ ํด๋ก **

```bash
git clone https://github.com/coding-realtor/building-register-mcp.git
cd building-register-mcp
```

2. **Claude Desktop ์„ค์ • ํŒŒ์ผ ์—ด๊ธฐ**

```bash
# macOS
open "$HOME/Library/Application Support/Claude/claude_desktop_config.json"

# Windows
notepad %APPDATA%\Claude\claude_desktop_config.json
```

3. **`mcpServers` ํ•ญ๋ชฉ์— ์•„๋ž˜ ๋‚ด์šฉ ์ถ”๊ฐ€**

```json
{
  "mcpServers": {
    "building-register": {
      "command": "uv",
      "args": [
        "run",
        "--directory", "C:\\path\\to\\building-register-mcp",
        "data-go-mcp-building-register"
      ],
      "env": {
        "BUILDING_REGISTER_API_KEY": "์—ฌ๊ธฐ์—_API_ํ‚ค_์ž…๋ ฅ"
      }
    }
  }
}
```

> `C:\\path\\to\\building-register-mcp` ๋ถ€๋ถ„์„ ์‹ค์ œ ํด๋ก ํ•œ ๊ฒฝ๋กœ๋กœ ๋ณ€๊ฒฝํ•˜์„ธ์š”.

4. **Claude Desktop ์žฌ์‹œ์ž‘**

๋„๊ตฌ ๋ชฉ๋ก์— `building-register` ์„œ๋ฒ„๊ฐ€ ํ‘œ์‹œ๋˜๋ฉด ์„ค์ • ์™„๋ฃŒ์ž…๋‹ˆ๋‹ค.

### ์‚ฌ์šฉ ์˜ˆ์‹œ (Claude์—์„œ)

```
์„œ์šธ ์ข…๋กœ๊ตฌ ์ฒญ์šด๋™ 89-3 ๊ฑด๋ฌผ์˜ ๊ฑด์ถ•๋ฌผ๋Œ€์žฅ ์กฐํšŒํ•ด์ค˜
```

```
๊ฐ•๋‚จ๊ตฌ ์—ญ์‚ผ๋™ 736๋ฒˆ์ง€ ๊ฑด๋ฌผ์˜ ์ฃผํƒ ๊ณต์‹œ๊ฐ€๊ฒฉ์„ ์•Œ๋ ค์ค˜
```

```
์†กํŒŒ๊ตฌ ์ž ์‹ค๋™ 40๋ฒˆ์ง€ ์•„ํŒŒํŠธ์˜ ๋™/ํ˜ธ ๋ชฉ๋ก์„ ๋ณด์—ฌ์ค˜
```

Claude๊ฐ€ ์ž๋™์œผ๋กœ:
1. `search_bjdong_code`๋กœ ์‹œ๊ตฐ๊ตฌ/๋ฒ•์ •๋™ ์ฝ”๋“œ๋ฅผ ๊ฒ€์ƒ‰
2. `smart_building_lookup`์œผ๋กœ ๊ฑด์ถ•๋ฌผ ์ •๋ณด๋ฅผ ์กฐํšŒ
3. ๊ฒฐ๊ณผ๋ฅผ ๋ณด๊ธฐ ์ข‹์€ ํ‘œ๋กœ ์ •๋ฆฌํ•˜์—ฌ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค

### Gemini CLI / ๊ธฐํƒ€ MCP ํด๋ผ์ด์–ธํŠธ

Gemini CLI ๋“ฑ ๋‹ค๋ฅธ MCP ํด๋ผ์ด์–ธํŠธ์—์„œ๋„ ๋™์ผํ•˜๊ฒŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
์„ค์ • ํŒŒ์ผ์˜ MCP ์„œ๋ฒ„ ํ•ญ๋ชฉ์— ์œ„์™€ ๊ฐ™์€ ํ˜•์‹์œผ๋กœ ์ถ”๊ฐ€ํ•˜์„ธ์š”.

### ๋กœ์ปฌ ํ…Œ์ŠคํŠธ

```bash
# ์„œ๋ฒ„ ์ง์ ‘ ์‹คํ–‰
uv run data-go-mcp-building-register
```

## ๋ผ์ด์„ผ์Šค

Apache-2.0 โ€” ์ž์„ธํ•œ ๋‚ด์šฉ์€ [LICENSE](LICENSE) ํŒŒ์ผ์„ ์ฐธ๊ณ ํ•˜์„ธ์š”.

TDQS

A4.3/5.0

Scored across 12 tools

Disambiguation5/5

Each tool has a clearly distinct purpose targeting specific aspects of building registry data (e.g., basic overview, floor details, ownership information, sewage facilities). The descriptions clearly differentiate what each tool retrieves, with no apparent overlap in functionality. An agent can easily distinguish between tools like get_building_floor_ouln_info for floor-level data and get_building_expos_info for ownership unit details.

Naming Consistency5/5

All tools follow a consistent snake_case naming pattern with a clear 'get_' or 'search_' prefix followed by a descriptive noun phrase. The naming convention is uniform across all 12 tools, making them predictable and easy to parse. Even the two non-get tools (search_bjdong_code and smart_building_lookup) maintain the same structural consistency.

Tool Count5/5

With 12 tools, the server is well-scoped for its domain of building registry data in Korea. Each tool serves a specific, necessary function (e.g., retrieving different sections of the building registry, searching for codes, smart lookups). The count is neither too sparse nor excessive, covering various data aspects without redundancy.

Completeness5/5

The toolset provides comprehensive coverage for building registry queries, including code search (search_bjdong_code), smart overview (smart_building_lookup), and detailed retrievals for all major registry sections (title, floor, ownership, area, price, etc.). There are no obvious gaps; agents can navigate from address lookup to detailed data retrieval seamlessly, with tools like smart_building_lookup guiding workflows effectively.

Maintenance

ActivityInactive
ResponsivenessNo issues