timesfm
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Indonesian regions (provinsi to desa) with Kemendagri codes: search, details, children, validate.
作者提供的原文
教 AI 做这类工作的 Skill,可与本项一起使用
TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.
Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…
scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 0/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 12/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 12/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 Wilayah Indonesia。按照 https://mcp.popnx.com/i/ezkielynagroup-mcp-wilayah-indonesia.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server Wilayah Indonesia,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "wilayah-indonesia": { "command": "npx", "args": [ "-y", "mcp-wilayah-indonesia" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Wilayah Indonesia 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
SettingsDeveloperEdit Config
{
"mcpServers": {
"wilayah-indonesia": {
"command": "npx",
"args": [
"-y",
"mcp-wilayah-indonesia"
]
}
}
}用 Wilayah Indonesia 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Wilayah Indonesia,或回答中出现 Wilayah Indonesia 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
WILAYAH_DATA_FILE 另一个数据文件的可选路径(.json 或 .json.gz,结构与随附文件相同) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Wilayah Indonesia
Wilayah Indonesia 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server Wilayah Indonesia,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user wilayah-indonesia -- npx -y mcp-wilayah-indonesia 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Wilayah Indonesia 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user wilayah-indonesia -- npx -y mcp-wilayah-indonesia应能看到 Wilayah Indonesia 在列表中并显示已连接
用 Wilayah Indonesia 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Wilayah Indonesia,或回答中出现 Wilayah Indonesia 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
WILAYAH_DATA_FILE 另一个数据文件的可选路径(.json 或 .json.gz,结构与随附文件相同) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server Wilayah Indonesia,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "wilayah-indonesia": { "command": "npx", "args": [ "-y", "mcp-wilayah-indonesia" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Wilayah Indonesia 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
用 Wilayah Indonesia 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Wilayah Indonesia,或回答中出现 Wilayah Indonesia 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
WILAYAH_DATA_FILE 另一个数据文件的可选路径(.json 或 .json.gz,结构与随附文件相同) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server Wilayah Indonesia,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "wilayah-indonesia": { "type": "stdio", "command": "npx", "args": [ "-y", "mcp-wilayah-indonesia" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Wilayah Indonesia 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
用 Wilayah Indonesia 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Wilayah Indonesia,或回答中出现 Wilayah Indonesia 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
WILAYAH_DATA_FILE 另一个数据文件的可选路径(.json 或 .json.gz,结构与随附文件相同) 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user wilayah-indonesia -- npx -y mcp-wilayah-indonesiaClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"wilayah-indonesia": {
"command": "npx",
"args": [
"-y",
"mcp-wilayah-indonesia"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"wilayah-indonesia": {
"command": "npx",
"args": [
"-y",
"mcp-wilayah-indonesia"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"wilayah-indonesia": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-wilayah-indonesia"
]
}
}
}WILAYAH_DATA_FILE env说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月20日
注册名称已通过 GitHub 账户 EzkielynaGroup 验证,该账户拥有此仓库
代码最后更新于8天前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
OSV.dev 中没有 mcp-wilayah-indonesia@1.0.0 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月16日
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/ezkielynagroup-mcp-wilayah-indonesia)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于8天前,最新版本(1.0.0)于8天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
Official Exa MCP for web search, content fetching, and multi-step research.
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
cotal.ai actions: product overview, site search, build log, feedback, Cloud waitlist, updates, calls
| 本项 Wilayah Indonesia | OpenSEO | Exa | Microsoft Learn MCP | Docs | COTAL actions (cotal.ai) | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 |
| 需要密钥 | 否 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 是 | 是 | 是 | 否 | 否 |
| 基础检查 | 3/3 | 5/5 | 2/4 | 4/4 | 4/4 | 4/4 |
| 许可证 | MIT | MIT | MIT | CC-BY-4.0 | NOASSERTION | Apache-2.0 |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that lets your AI assistant look up Indonesian administrative regions and their Kemendagri codes: provinsi, kabupaten/kota, kecamatan (distrik) and desa/kelurahan. It works offline from a bundled copy of the current code list (Kepmendagri No. 300.2.2-2430 Tahun 2025, 91,599 regions) and tolerates typos.
Example: *"What is the Kemendagri code of Kelurahan Kemayoran in Jakarta Pusat, and which BMKG adm4 code do I use for its weather forecast?"*
🇮🇩 Bahasa Indonesia: lihat bagian di bawah.
Kel. Kemayoran, Kec. Kemayoran, Kota Adm. Jakarta Pusat, Prov. Daerah Khusus Ibukota Jakarta.31.71.03.1001 or 3171031001).| Tool | What it does |
|---|---|
cari_wilayah | Search by name, typo tolerant. Extra words can name a parent ("sukamaju garut"), a leading kab/kota/kec/desa/kel is used as a hint, common short names work (jogja, DKI, jatim, NTT). Filters: tingkat (1–4), jenis (provinsi, kabupaten, kota, kecamatan, kelurahan, desa), kode_induk (search inside a parent), batas (max 50). Returns code, kind, level, full path and a score. |
detail_kode | Code → name, kind, every parent from the province down, and how many regions sit below it. |
daftar_anak | Direct children of a code (province → kabupaten/kota → kecamatan → desa/kelurahan), paginated with offset and batas (max 200). Without a code it lists the 38 provinces. |
validasi_kode | Checks the format (2/4/6/10 digits, segment rules such as kota = 71–79, kelurahan = 1xxx, desa = 2xxx, desa adat = 3xxx) and whether the code exists. For an unknown code it names the nearest parent that does exist; island codes (xx.xx.4xxxx) are recognised and explained. |
Every tool is read-only (readOnlyHint: true, openWorldHint: false). Answers are JSON text plus structuredContent.
| Level | Kind | Digits | Example |
|---|---|---|---|
| 1 | provinsi | 2 | 32 Jawa Barat |
| 2 | kabupaten (01–69) / kota (71–79) | 2.2 | 32.73 Kota Bandung |
| 3 | kecamatan (called *distrik* in the Papua provinces) | 2.2.2 | 32.73.01 Sukasari |
| 4 | kelurahan (1xxx) / desa (2xxx; 3xxx for the 14 *desa adat* in Kab. Jayapura) | 2.2.2.4 | 31.71.03.1001 Kemayoran |
BMKG's public weather forecast API identifies villages by the same level-4 Kemendagri code with dots, as the adm4 parameter, e.g. https://api.bmkg.go.id/publik/prakiraan-cuaca?adm4=31.71.03.1001 (checked 11 Nov 2026). Level-4 results therefore include a bmkg_adm4 field. Pair this server with mcp-bmkg so the assistant can go from "weather in Kemayoran tomorrow" to the right village code to the forecast.
With npx (recommended): nothing to install. The configs below run npx -y mcp-wilayah-indonesia, which downloads the package (one .mjs file plus the data file, no dependencies) on first start.
From source:
git clone https://github.com/EzkielynaGroup/mcp-wilayah-indonesia.git
cd mcp-wilayah-indonesia node --test test/ # optional, offline
Then use "command": "node" with "args": ["/full/path/to/mcp-wilayah-indonesia.mjs"] instead of npx.
On Windows, if the app cannot start npx, use "command": "cmd" with "args": ["/c", "npx", "-y", "mcp-wilayah-indonesia"]. Write paths in JSON with forward slashes (C:/Users/you/mcp-wilayah-indonesia/mcp-wilayah-indonesia.mjs) or double backslashes.
Settings → Developer → Edit Config (claude_desktop_config.json), then fully quit and reopen Claude Desktop.
{
"mcpServers": { "wilayah-indonesia": { "command": "npx", "args": ["-y", "mcp-wilayah-indonesia"] } } }
claude mcp add wilayah-indonesia -- npx -y mcp-wilayah-indonesia
Add --scope user to make it available in every project. Check with claude mcp list.
~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project), same JSON as Claude Desktop.
opencode.json in the project, or ~/.config/opencode/opencode.json for all projects.
{
"$schema": "https://opencode.ai/config.json", "mcp": { "wilayah-indonesia": { "type": "local", "command": ["npx", "-y", "mcp-wilayah-indonesia"], "enabled": true } } }
| Variable | Required | Default | Notes |
|---|---|---|---|
WILAYAH_DATA_FILE | no | bundled data/wilayah.json.gz | Use another data file (.json or .json.gz) with the same shape, e.g. a newer build made with scripts/build-data.mjs. |
| Legal basis | Keputusan Menteri Dalam Negeri No. 300.2.2-2430 Tahun 2025 (amends No. 300.2.2-2138 Tahun 2025), as stated by the upstream dataset |
| Dataset | cahyadsn/wilayah, file db/wilayah.sql, commit d68e8d5 (last data change 13 Feb 2026), downloaded 11 Nov 2026 |
| Dataset license | MIT, Copyright (c) 2017-2025 Cahya DSN. The full notice ships as data/LICENSE-DATA.txt. |
| Contents | 38 provinsi, 416 kabupaten, 98 kota, 7,285 kecamatan, 8,496 kelurahan, 75,266 desa (91,599 rows). These totals were checked against the table in the upstream README. |
| Changes | Converted to compact JSON + gzip; 5 names had a trailing space removed. Nothing else changed. |
Notes: the comment header inside the upstream SQL file still mentions No. 300.2.2-2138 while the upstream README and its change notes say the data follows No. 300.2.2-2430; we follow the README. The province name for Jakarta is kept as it appears in the list (*Daerah Khusus Ibukota Jakarta*). This project has not compared every row against the decree PDF itself.
To rebuild after an upstream update:
curl -sL -o /tmp/wilayah.sql https://raw.githubusercontent.com/cahyadsn/wilayah/master/db/wilayah.sql
node scripts/build-data.mjs /tmp/wilayah.sql --commit --date node --test test/
What is the Kemendagri code of my village (kode desa / kode kelurahan)? Ask your assistant with this server enabled, e.g. "kode wilayah Desa Sukamaju, Kec. Cilawu, Garut". cari_wilayah returns the 10-digit code (32.05.19.2014) and the full path.
Is this the same code BMKG uses for weather (adm4)? Yes. BMKG's forecast API takes the level-4 Kemendagri code with dots as adm4, so bmkg_adm4 can be passed straight to it or to mcp-bmkg.
How many provinces, regencies and villages does Indonesia have in the current list? Per Kepmendagri 300.2.2-2430/2025: 38 provinces, 416 kabupaten, 98 kota, 7,285 kecamatan, 8,496 kelurahan and 75,266 desa.
Is this the same as the postal code (kode pos) or the BPS code? No. Kemendagri region codes are different from postal codes, and from BPS (statistics) codes below the province level, which can differ (for example Kota Jakarta Pusat). This server only knows Kemendagri codes.
Does it need internet or an API key? No. The data is bundled; after npx has downloaded the package once, everything runs locally and costs nothing.
Is this data published by the government? The codes come from a Kemendagri decree, but this package uses an MIT-licensed community compilation of it, not a government service. For legal or administrative documents, check the decree published by Kemendagri.
node --test test/
11 tests spawn the server over stdio against a 46-row fixture taken from the real data (every tool, filters, typos, pagination, error paths, broken data files) and check that the bundled full list loads with the published totals. No network.
Code: MIT, Copyright (c) 2026 Ezekiel Lieberhart (Ezkielyna). Data: MIT, Copyright (c) 2017-2025 Cahya DSN (see data/LICENSE-DATA.txt). This project is not affiliated with Kemendagri, BMKG or the upstream dataset author.
Made by Ezkielyna, an independent AI API gateway for Indonesian developers (QRIS).
Server MCP agar asisten AI (Claude Desktop, Claude Code, Cursor, OpenCode, dan klien MCP lain) bisa mencari wilayah administrasi Indonesia beserta kode Kemendagri-nya: provinsi, kabupaten/kota, kecamatan (distrik) dan desa/kelurahan. Berjalan offline dari salinan daftar kode terbaru (Kepmendagri No. 300.2.2-2430 Tahun 2025, 91.599 wilayah) dan tahan salah ketik.
Contoh pertanyaan: *"Apa kode wilayah Kelurahan Kemayoran, Jakarta Pusat? Kode adm4 BMKG-nya apa?"*
Desa Sukamaju, Kec. Cilawu, Kab. Garut, Prov. Jawa Barat.31.71.03.1001 atau 3171031001).| Tool | Fungsi |
|---|---|
cari_wilayah | Cari berdasarkan nama (tahan salah ketik). Kata tambahan bisa berupa nama induk ("sukamaju garut"); awalan kab/kota/kec/desa/kel dipakai sebagai petunjuk; singkatan umum dikenali (jogja, DKI, jatim, NTT). Filter: tingkat (1–4), jenis, kode_induk, batas (maks 50). |
detail_kode | Kode → nama, jenis, semua induk dari provinsi ke bawah, dan jumlah wilayah di bawahnya. |
daftar_anak | Daftar wilayah satu tingkat di bawah kode, dengan halaman (offset, batas maks 200). Tanpa kode: 38 provinsi. |
validasi_kode | Cek format (2/4/6/10 digit, kota = 71–79, kelurahan = 1xxx, desa = 2xxx, desa adat = 3xxx) dan apakah kode ada. Untuk kode yang tidak ada, disebutkan induk terdekat yang ada. Kode pulau (xx.xx.4xxxx) dikenali. |
API prakiraan cuaca publik BMKG memakai kode desa/kelurahan Kemendagri bertitik sebagai parameter adm4, misalnya https://api.bmkg.go.id/publik/prakiraan-cuaca?adm4=31.71.03.1001. Hasil tingkat 4 punya kolom bmkg_adm4. Pakai bersama mcp-bmkg: asisten mencari kode desa di sini, lalu mengambil prakiraan cuacanya di sana.
Tambahkan ke konfigurasi aplikasi (sama seperti contoh di atas):
{
"mcpServers": { "wilayah-indonesia": { "command": "npx", "args": ["-y", "mcp-wilayah-indonesia"] } } }
Claude Code: claude mcp add wilayah-indonesia -- npx -y mcp-wilayah-indonesia. Di Windows, bila npx tidak jalan, pa