MCP server

Bitaloka also runs as a Model Context Protocol server over HTTP streaming transport, so you can give any MCP-capable assistant three deterministic tools.

Endpoint

https://api.bitaloka.io/mcp

Tools

  • parse_nik — parse a 16-digit NIK
  • parse_plate — parse a vehicle plate
  • validate_npwp — validate & parse an NPWP

Claude Code / agent config example

{
  "mcpServers": {
    "bitaloka": {
      "type": "http",
      "url": "https://api.bitaloka.io/mcp"
    }
  }
}

If the API is running with API_KEYS set, include the key as a header:

{
  "mcpServers": {
    "bitaloka": {
      "type": "http",
      "url": "https://api.bitaloka.io/mcp",
      "headers": { "X-API-Key": "YOUR_KEY" }
    }
  }
}