{"report":{"v":1,"package":"@lokal-id/mcp","version":"0.18.0","ranAt":"2026-11-16T11:37:39.128Z","install":{"ok":true,"integrity":"sha512-KMeCrlTJ2E11yruwIv53njQfCV2fRnMF65GT5N2tXTHbtKhga+m3nvL1LgkmLXMDpGj8TezSYTcDtngMsWUDvw==","deps":1,"scripts":[],"bins":["lokal-mcp"],"license":"MIT","engines":"node >=20","repository":"git+https://github.com/lokal-id/lokal.git","bin":"lokal-mcp"},"start":{"ok":true,"ms":129,"serverName":"lokal","serverVersion":"0.18.0","protocol":"2025-06-18"},"tools":[{"name":"parse_nik","description":"Validate an Indonesian NIK (16-digit national ID) by structure and decode it: province, regency, district (Kemendagri), birth date, gender. Cannot prove the NIK is registered at Dukcapil. Also takes a [NIK_n] placeholder from read_file_masked; then the birth date and gender come back as placeholders.","params":["nik"]},{"name":"validate_npwp","description":"Validate the format of an Indonesian tax ID (NPWP): legacy 15-digit (XX.XXX.XXX.X-XXX.XXX), 16-digit, or NIK used as NPWP for individuals. Returns the 16-digit form DJP uses today. Format only: it does not check the DJP check digit or registration. Also takes an [NPWP_n] or [NIK_n] placeholder from read_file_masked; then only validity and kind come back.","params":["npwp"]},{"name":"parse_qris","description":"Read and check a QRIS payload (the text inside an Indonesian QRIS payment code): static or dynamic, merchant name and city, NMID, merchant criteria (UMI, UKE, …), amount, tip, merchant accounts, and whether the CRC checksum is intact. Errors and warnings are in Indonesian.","params":["payload"]},{"name":"set_qris_amount","description":"Turn a QRIS payload into a dynamic one for an amount in Rupiah, optionally with a fixed or percentage fee, and recompute the CRC. The merchant account is unchanged. Returns the new payload, ready to render as a QR code.","params":["payload","amount","fee_fixed","fee_percent"]},{"name":"parse_phone","description":"Normalize an Indonesian phone number (08xx, +62, 62, landline with area code) to E.164, display format, WhatsApp form, and original operator (Telkomsel, Indosat, Tri, XL, Axis, Smartfren). Also takes a [PHONE_n] placeholder from read_file_masked; then only validity, type, and operator come back.","params":["phone"]},{"name":"format_rupiah","description":"Format an amount as Rupiah the Indonesian way (Rp1.500.000), short form (Rp1,5 jt), and spelled out in words (terbilang) for receipts and invoices.","params":["amount"]},{"name":"parse_rupiah","description":"Turn how Indonesians write money into a number: \"Rp 25.000\", \"1,5jt\", \"2jtan\", \"50rb-an\", \"goceng\", \"2 ceban\", \"sejuta setengah\", \"dua ratus ribu\". \"m\" means miliar.","params":["text"]},{"name":"search_wilayah","description":"Find official Kemendagri regions by name (provinsi, kabupaten/kota, kecamatan, kelurahan/desa) with their codes. Use for address forms, normalizing user-typed locations, and seed data instead of inventing region names.","params":["query","level","within","limit"]},{"name":"list_wilayah","description":"List the direct children of a region code — the data behind cascading address dropdowns. No code returns the 38 provinces; \"32\" returns the kabupaten/kota in Jawa Barat, and so on down to kelurahan/desa (which include their kode pos).","params":["parent_code"]},{"name":"lookup_kode_pos","description":"Kode pos (postal codes) for Indonesian regions. Give kode_pos to find the kelurahan/desa that use it, or wilayah_code to list every kode pos inside a region (e.g. \"32.76\" Kota Depok).","params":["kode_pos","wilayah_code"]},{"name":"parse_alamat","description":"Read a free-text Indonesian address (\"Jl. Margonda Raya No. 100 RT 3/5 Kemiri Muka, Beji, Depok 16423\") into street, RT/RW, kode pos, and the Kemendagri kelurahan/desa, kecamatan, kabupaten/kota, and provinsi with their codes. Handles missing commas, capitals, abbreviations (Kel., Kec., Kab., Jaksel, Jabar), and left-out levels. Check confidence and issues: a kode pos that belongs to another kelurahan, a village that is not in the data, or an address that fits more than one region (see alternatives). Use it to clean address columns, fill region dropdowns from typed addresses, or check a shipping address. Also takes an [ADDRESS_n] placeholder from read_file_masked: the regions come back as they are, the street and RT/RW as placeholders.","params":["address"]},{"name":"list_holidays","description":"Libur nasional and cuti bersama for a year, from the official SKB 3 Menteri. Only years with a published decree are available; other years return an error rather than a guess.","params":["year"]},{"name":"working_days","description":"Working-day math with Indonesian holidays: is a date a working day, the date N working days after a date (SLA, delivery estimates), or the number of working days between two dates (inclusive). Cuti bersama counts as a day off unless cuti_bersama is false (private companies may work on them).","params":["from","to","add","cuti_bersama"]},{"name":"scan_pii","description":"Scan a file or directory (text, CSV, JSON, logs, SQL, .xlsx, .docx, text-based PDF; up to 100 MB each) for personal data — identifiers (NIK, KK, NPWP, phone, email, bank account, BPJS, passport, SIM, NIP, card, plate, IP, coordinates), names, addresses, birth dates, and UU PDP categories (religion, marital status, gender, nationality, health, finances, criminal records, biometrics) — without revealing it: findings show only partially masked values. Also lists files and pages it could not scan (scanned or encrypted PDFs, .xls, .doc, images, archives). Use before reading data files and before committing fixtures or seeders.","params":["path","types","min_confidence"]},{"name":"read_file_masked","description":"Read a text, CSV, JSON, log, .xlsx, .docx, or text-based PDF file with Indonesian personal data replaced by stable placeholders ([NIK_1], [PHONE_2], [RELIGION_1] …). The same value always gets the same placeholder in this session, so joins, counts, grouping and deduplication still work. Real values never leave the user's machine. Spreadsheets come back as CSV, one block per sheet; Word documents as their text plus each table as CSV; PDFs one block per page.","params":["path","start_line","max_lines"]},{"name":"write_file_unmasked","description":"Write content to a file after replacing Samaran placeholders ([NIK_1], [PHONE_2] …) from this session with the real values, locally. Use this to produce output (cleaned CSV, reports, migrations) from data you read with read_file_masked.","params":["path","content","overwrite"]},{"name":"anonymize_file","description":"Copy SQL dumps, CSV, JSON, or log files with every piece of Indonesian personal data replaced by a realistic stand-in, for staging, seeders, tests, or sharing with a vendor: valid NIKs in the same district with the same gender and birth year, phone numbers on the same operator, names with the same casing, addresses in the same area, e-mail at example.com. The same value gets the same stand-in in every file of one call, so joins still work. Runs on the user's machine and returns only counts: you never see the data. Use it instead of reading production data, and when asked to copy production data to staging or build seeders from it.","params":["paths","output","keep","keep_birth_date","secret","overwrite","dry_run"]},{"name":"clear_vault","description":"Forget every real value behind the placeholders this session gave out. Afterwards write_file_unmasked can no longer restore them, and reading a file again gives new placeholders. Use it when a task with real data is done, or when the user asks to forget the data.","params":[]}],"toolsHash":"a4b45f3f1d8d100ab3bff13b564a286e7be8c53a71de854cba24e431aa49d566","wrote":[],"callsAt":"2026-11-16T11:37:44.397Z","calls":[{"tool":"list_wilayah","ok":true,"ms":60,"bytes":3014}],"host":{"commit":"eaaffffaf52255d1b77dc4aacffdfaf353f0c12c","run":"https://github.com/itsHaddad/bragproof/actions/runs/43857070216"},"network":{"names":["registry.npmjs.org"],"conns":[],"callNames":[],"callConns":[]}},"summary":{"outcome":"started","needs":[],"contacts":[],"flags":[],"tools":18,"wrote":0,"callsTried":1,"callsAnswered":1,"callContacts":[]},"history":[{"package":"@lokal-id/mcp","version":"0.18.0","ranAt":"2026-11-16T11:37:39.128Z","outcome":"started","tools":18,"contacts":0,"flags":0,"serious":0,"toolsHash":"a4b45f3f1d8d100ab3bff13b564a286e7be8c53a71de854cba24e431aa49d566"}],"page":"https://bragproof.smaverk.com/r/%40lokal-id/mcp"}