OpenKakao

local-chats / local-read / local-search / local-schema

Read KakaoTalk data from the local encrypted database with zero server contact.

Zero server contact

All local-db commands read the encrypted KakaoTalk SQLite database directly on your Mac. No network requests are made, so there is zero risk of account detection or suspension.

How it works

KakaoTalk for macOS stores a SQLCipher-encrypted SQLite database locally. OpenKakao derives the decryption key from your device UUID and Kakao user ID using PBKDF2-HMAC-SHA256, then opens the database in read-only mode.

Requirements:

  • KakaoTalk.app installed and logged in on this Mac
  • The local database file exists (created automatically by KakaoTalk)
  • Full Disk Access is not required — the file is in the app's container

local-chats

List chat rooms from the local database.

openkakao-cli local-chats [OPTIONS]
FlagDescription
-n, --limit <N>Max chats to return (default: 50)
--jsonOutput as JSON (global flag)
# List recent chats
openkakao-cli local-chats

# JSON output for agent consumption
openkakao-cli local-chats --json

local-read

Read messages from a specific chat room.

openkakao-cli local-read <chat_id> [OPTIONS]
FlagDescription
-n, --count <N>Max messages to return (default: 30)
--since <YYYY-MM-DD>Only messages after this date
--jsonOutput as JSON (global flag)
# Read last 30 messages
openkakao-cli local-read 900000000000001

# Read messages since a date
openkakao-cli local-read 900000000000001 --since 2025-01-01

# JSON output
openkakao-cli local-read 900000000000001 --json

Local cache is limited

KakaoTalk only caches recent messages locally (typically 1–4 per chat). For full history, use read via LOCO or REST.


Search message text across all chats in the local database.

openkakao-cli local-search <query> [OPTIONS]
FlagDescription
-n, --count <N>Max results (default: 20)
--jsonOutput as JSON (global flag)
openkakao-cli local-search "배포"
openkakao-cli local-search "meeting" --json

local-schema

Dump the table schema of the local KakaoTalk database. Useful for debugging and protocol research.

openkakao-cli local-schema
openkakao-cli local-schema --json

When to use local-db vs LOCO/REST

ScenarioRecommended
Quick check of recent messageslocal-read
Agent reading chats without risklocal-chats + local-read
Full message historyread (LOCO)
Token expired, need to readlocal-read (works offline)
Search across all chatslocal-search
Protocol researchlocal-schema

Diagnostics

Run doctor to check if the local database is accessible:

openkakao-cli doctor --json

The output includes a Local DB (SQLCipher) check that verifies UUID extraction, user ID, file existence, and decryption.

On this page