lokalapi – Indonesian reference data

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

Should I use this

Quality & Safety

A
Description quality
97%
Schema completeness
88%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,087Tokens (tool definitions)
~988 BTypical response size
Moderate attention impact (0.85% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

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

Remote endpoints

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

What it can do

Tool inventory

Tools (6)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
⚪lokalapi_info

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

Input Schema

{
  "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).

Input Schema

{
  "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).

Input Schema

{
  "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).

Input Schema

{
  "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).

Input Schema

{
  "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).

Input Schema

{
  "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#"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded6 tools