# lokalapi – Indonesian reference data

> lokalapi – Indonesian reference data is a paid MCP server for analytics and data. Pay-per-call Indonesian region codes and KBLI 2025 business codes for agents. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API
- **Website:** https://lokalapi.com
- **MCP Registry name:** com.lokalapi/lokalapi
- **Categories:** analytics and data, legal and government
- **Listing updated:** 2026-11-16

## About

Indonesian paperwork leans on two code systems: administrative region codes and KBLI business classifications. This server serves both as lookups, so an agent can turn a village name into its official code or a business description into a 5-digit KBLI 2025 code.

The region data covers provinces, regencies and cities, districts and villages with their full hierarchy, based on a 2025 interior ministry decree. Prefixes such as "Kab.", "Kota" and "Kec." are handled when searching. The KBLI side accepts descriptions in Indonesian or English and converts older KBLI 2020 codes, flagging one-to-many splits for review.

There is no API key or signup. Each call is paid in USDC on Base through the x402 protocol, and failed requests are not charged. The site notes that this is reference data, not legal advice.

## Features

- **Region search:** Find provinces, regencies, districts and villages by name, filtered by level or parent code.
- **Code lookup:** Resolve a region code such as 34.71 to its name, type and hierarchy.
- **KBLI 2025 search:** Match a business description to official KBLI 2025 codes with titles and descriptions.
- **KBLI 2020 conversion:** Convert a 2020 code to its 2025 equivalents, with splits flagged.
- **Batch conversion:** Convert up to 50 codes per call in JSON or CSV with a review flag per code.
- **Source field:** Every response names the legal basis or statistics source it came from.

## Good for

- Validate Indonesian addresses in logistics or onboarding flows
- Pick the right KBLI code when preparing an OSS business licence
- Migrate a company's KBLI 2020 licence codes to 2025
- Let an agent resolve region codes for government forms

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http lokalapi https://mcp.lokalapi.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.lokalapi.com/mcp
```

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "lokalapi": {
      "serverUrl": "https://mcp.lokalapi.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `wilayah_search`: Search Indonesian administrative regions by name.
- `wilayah_get`: Get a region by its official code.
- `kbli_search`: Find KBLI 2025 codes for a business activity.
- `kbli_convert`: Convert a KBLI 2020 code to KBLI 2025.
- `kbli_convert_batch`: Convert up to 50 KBLI 2020 codes in one call.
- `lokalapi_info`: Free tool explaining the payment flow.

## FAQ

### How is it paid for?

Each successful call is paid in USDC on Base using x402 over HTTP 402. No account or API key is needed.

### What does a call cost?

Prices listed run from $0.002 for a region code lookup to $0.50 for a batch conversion; KBLI search is $0.02.

### Are errors charged?

No. 4xx and 5xx responses are never charged and payment settles only after a successful response.

### Which tools does the MCP server expose?

wilayah_search, wilayah_get, kbli_search, kbli_convert and kbli_convert_batch, plus a free lokalapi_info tool explaining the payment flow.

### Is lokalapi – Indonesian reference data free?

No. lokalapi – Indonesian reference data is a paid product.

### How do I add lokalapi – Indonesian reference data to Claude Code?

Run this command in your terminal: claude mcp add --transport http lokalapi https://mcp.lokalapi.com/mcp

### What are the best alternatives to lokalapi – Indonesian reference data?

The closest alternatives to lokalapi – Indonesian reference data are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [NY LLC Publication (FileMyPublication)](https://ai-powered.com/mcp/ny-llc-publication-filemypublication): NY LLC Publication (FileMyPublication) is a free MCP server for legal and government.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/lokalapi-indonesian-reference-data
