lokalapi – Indonesian reference data
Official Indonesian region codes and KBLI 2025 business codes, pay-per-call via x402 (USDC on Base).
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`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#"
}커뮤니티
증거