lokalapi – Indonesian reference data

Official Indonesian region codes and KBLI 2025 business codes, pay-per-call via x402 (USDC on Base).

我该使用它吗

质量与安全性

A
描述质量
97%
模式完整度
88%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,087token 数(工具定义)
~988 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.85%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "lokalapi": {
      "url": "https://mcp.lokalapi.com/mcp"
    }
  }
}

远程端点

https://mcp.lokalapi.com/mcpstreamable-http

它能做什么

工具清单

工具(6)

🟢 只读🟡 写入🔴 删除⚪ 未知
⚪lokalapi_info

Free. Explains the paid tools, prices and how an agent pays per call via x402 (USDC on Base). Call this first.

输入模式

{
  "type": "object",
  "properties": {}
}
🟢wilayah_search(q, level, parent, limit)

Search official Indonesian administrative regions (province, regency/city, district, village) by name and get the official Kemendagri 2025 code plus full hierarchy. Handles 'Kab.', 'Kota', 'Kec.' prefixes. Costs $0.005 per call (x402, USDC on Base; see lokalapi_info).

输入模式

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 2,
      "description": "Region name, e.g. 'Sleman', 'Kota Yogyakarta', 'Sinduharjo'"
    },
    "level": {
      "type": "string",
      "enum": [
        "provinsi",
        "kabupaten_kota",
        "kecamatan",
        "desa_kelurahan"
      ]
    },
    "parent": {
      "type": "string",
      "description": "Restrict to children of this code, e.g. '34.04'"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 25,
      "description": "Max results (1-25, default 10)"
    }
  },
  "required": [
    "q"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢wilayah_get(kode)

Resolve an official Indonesian region code (Kemendagri 2025, e.g. '34.71' or '34.04.12.2001') to its name, type and full administrative hierarchy. Costs $0.002 per call (x402, USDC on Base; see lokalapi_info).

输入模式

{
  "type": "object",
  "properties": {
    "kode": {
      "type": "string",
      "minLength": 2,
      "description": "Region code, e.g. '34.71'"
    }
  },
  "required": [
    "kode"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢kbli_search(q, level, limit)

Find the right KBLI 2025 business classification code (5-digit, mandatory in Indonesia's OSS business licensing since 15 June 2026) from a free-text business activity in Indonesian or English. Returns official BPS titles, descriptions and hierarchy. Costs $0.02 per call (x402, USDC on Base; see lokalapi_info).

输入模式

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 2,
      "description": "Business activity, e.g. 'kafe', 'software development', 'nickel mining', or a KBLI code"
    },
    "level": {
      "type": "string",
      "enum": [
        "kelompok",
        "subgolongan",
        "golongan",
        "golongan_pokok",
        "kategori"
      ],
      "description": "Classification level (default kelompok = 5-digit code)"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 25,
      "description": "Max results (1-25, default 10)"
    }
  },
  "required": [
    "q"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡kbli_convert(code)

Convert a KBLI 2020 business code to its KBLI 2025 equivalent(s) using the official BPS conversion table (2026). Flags one-to-many splits. Needed to update OSS/NIB licences after the June 2026 switch. Costs $0.02 per call (x402, USDC on Base; see lokalapi_info).

输入模式

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "pattern": "^\\d{5}$",
      "description": "5-digit KBLI 2020 code, e.g. '63122'"
    }
  },
  "required": [
    "code"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪kbli_convert_batch(codes, format)

Convert up to 50 KBLI 2020 business codes to KBLI 2025 in one call (official BPS conversion table, 2026), e.g. all codes of a company's OSS/NIB licence. Per code: status one_to_one, split, merged, not_found or invalid, the KBLI 2025 candidates, and needs_review with the reason; plus a summary. format=csv returns a spreadsheet. Charged only if at least one code converts. Costs $0.50 per call (x402, USDC on Base; see lokalapi_info).

输入模式

{
  "type": "object",
  "properties": {
    "codes": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 32
      },
      "minItems": 1,
      "maxItems": 100,
      "description": "KBLI 2020 codes (5 digits), at most 50 unique, e.g. ['62019', '46900']"
    },
    "format": {
      "type": "string",
      "enum": [
        "json",
        "csv"
      ],
      "description": "csv: one line per old -> new code pair (default json)"
    }
  },
  "required": [
    "codes"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本6 个工具