# lokalapi – Indonesian reference data

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

- name: com.lokalapi/lokalapi
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 82/100 flags: no-repository
- quality: 79/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/com.lokalapi%2Flokalapi
- tools: https://api.protogrid.dev/v1/servers/com.lokalapi%2Flokalapi/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "lokalapi": {
      "type": "http",
      "url": "https://mcp.lokalapi.com/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 99
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-97% +updated-8d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 79/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 71 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: kbli_search (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); kbli_convert_batch (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); wilayah_search (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 919 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: 1 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 6, about 919 tokens to load them all
- tool set hash: c07ea8d7ac5e722936daef8cf59dedc4
- tools last changed: 2026-10-12T20:25:25.856Z
- badge: [![protogrid quality](https://protogrid.dev/badge/com.lokalapi/lokalapi.svg)](https://protogrid.dev/servers/com.lokalapi/lokalapi)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

- 2026-10-12 `kbli_convert_batch` added
  - 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).

Full history: https://api.protogrid.dev/v1/servers/com.lokalapi%2Flokalapi/changes

## Remotes

- https://mcp.lokalapi.com/mcp (streamable-http, auth none, reachable true, uptime30d 0.96875)

## Packages

_none_

## Tools (6)

- `kbli_convert`: 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).
- `kbli_convert_batch`: 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).
- `kbli_search`: 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).
- `lokalapi_info`: Free. Explains the paid tools, prices and how an agent pays per call via x402 (USDC on Base). Call this first.
- `wilayah_get`: 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).
- `wilayah_search`: 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).
