# Mcp Taiwan Zoning

> MCP Server: Taiwan Urban Planning & Zoning Data (都市計畫/分區)

- **Type:** MCP server
- **Install:** `agentstack add mcp-mackinhung-mcp-taiwan-zoning`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [MackinHung](https://agentstack.voostack.com/s/mackinhung)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [MackinHung](https://github.com/MackinHung)
- **Source:** https://github.com/MackinHung/mcp-taiwan-zoning

## Install

```sh
agentstack add mcp-mackinhung-mcp-taiwan-zoning
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# MCP Taiwan Zoning

> MCP Server：台灣都市計畫與土地使用分區

提供台灣都市計畫分區、土地使用分類、公共設施用地、都市更新等資料查詢功能。

## 工具清單

| 工具名稱 | 說明 |
|----------|------|
| `query_zoning_by_location` | 查詢指定座標的都市計畫使用分區（住宅/商業/工業等） |
| `list_urban_zones` | 列出城市內所有都市計畫分區類型與統計資料 |
| `query_public_facilities` | 查詢附近公共設施用地（公園/學校/道路等） |
| `query_urban_renewal_areas` | 查詢都市更新與重劃區資訊 |
| `query_land_use_classification` | 查詢國土利用現況分類（103 種分類） |

## 安全徽章

- **資料敏感度**: public
- **權限**: readonly
- **外部 API**: historygis.udd.taipei.gov.tw, maps.nlsc.gov.tw, datacenter.taichung.gov.tw
- **開源**: 是

## 安裝

```bash
npm install
```

## 使用方式

### Cloudflare Workers 部署

```bash
npx wrangler deploy
```

### MCP 協定

標準 MCP 協定流程：

1. **initialize** → 取得 server 資訊與能力宣告
2. **tools/list** → 列出所有可用工具
3. **tools/call** → 呼叫指定工具

### 工具參數範例

#### query_zoning_by_location
```json
{
  "latitude": 25.0330,
  "longitude": 121.5654,
  "city": "台北市"
}
```

#### list_urban_zones
```json
{
  "city": "台北市",
  "zone_type": "residential"
}
```

#### query_public_facilities
```json
{
  "latitude": 25.0330,
  "longitude": 121.5654,
  "radius_meters": 500,
  "facility_type": "park"
}
```

#### query_urban_renewal_areas
```json
{
  "city": "台北市",
  "status": "approved"
}
```

#### query_land_use_classification
```json
{
  "latitude": 25.0330,
  "longitude": 121.5654
}
```

## 技術棧

- **框架**: Hono + Cloudflare Workers
- **語言**: TypeScript (strict mode)
- **測試**: Vitest (102 tests, 100% pass rate)
- **協定**: MCP 2024-11-05

## 開發

### 本地測試

```bash
npm test
```

### 型別檢查

```bash
npx tsc --noEmit
```

### 本地開發

```bash
npm run dev
```

## License

MIT

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [MackinHung](https://github.com/MackinHung)
- **Source:** [MackinHung/mcp-taiwan-zoning](https://github.com/MackinHung/mcp-taiwan-zoning)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-mackinhung-mcp-taiwan-zoning
- Seller: https://agentstack.voostack.com/s/mackinhung
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
