
Whatsapp Macos
io.github.kalki-kgp由 GitHub 帳號 kalki-kgp 發布v0.1.1更新於 Oct 24, 2026
WhatsApp MCP for macOS - Read messages from local DB, send via WhatsApp Web.
概覽
一個僅限 macOS 的 MCP 伺服器,讓助理讀取本機 WhatsApp 聊天、搜尋訊息與聯絡人,並可選擇透過 WhatsApp Web 傳送回覆。
- 可以做什麼
- 依姓名或電話號碼搜尋聯絡人,列出最近對話與未讀數量,資料來自 macOS 本機 WhatsApp 資料庫,可離線使用且不需橋接。依日期篩選讀取聊天記錄,跨所有聊天搜尋訊息,並彙整未讀訊息。檢查 WhatsApp 連線狀態,需要時取得 QR 碼。在選用的 WhatsApp Web 橋接執行後,傳送訊息並接收新訊息。
- 適用情境
- 當你希望助理幫你整理未讀 WhatsApp 聊天、搜尋訊息記錄或草擬並傳送回覆,且使用已安裝並登入 WhatsApp 桌面版的 macOS 時適用。
- 執行需求
- macOS,且已安裝並登入 WhatsApp 桌面版。伺服器透過 uvx 從 PyPI 套件 whatsapp-mcp-macos 在本機執行,需先安裝 uv。傳送訊息另需 Node.js 18+ 並在本機啟動獨立的 WhatsApp 橋接,用手機掃描 QR 碼連接 WhatsApp Web。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Whatsapp Macos,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Check it out on https://mcp.paperknife.app/
WhatsApp MCP for macOS
A Model Context Protocol server that connects Claude to your WhatsApp. Ask Claude to catch you up on unread chats, search your message history, or send a reply.
Reading works in about a minute with no QR scan and no Node.js. Sending is optional and needs one extra step.
[macOS] [MCP 1.0] [MIT License]
Features
Search contacts by name or phone number. Read chat history with date filtering. List recent conversations with unread counts. Summarize everything you haven't read yet. Send replies and receive incoming messages once the bridge is connected.
Requirements
- macOS with the WhatsApp desktop app installed and logged in
- Node.js 18+, only if you want to send messages
You don't need to install Python. uvx fetches a suitable version on its own.
Installation
Install uv if you don't have it:
That's the whole install. uvx downloads the server on first launch, so there's no virtualenv to create and no pip install step. Go to the next section to point Claude at it.
From source
Connect to Claude Desktop
-
Open config file:
If it doesn't exist, create it.
-
Find the full path to
uvx: -
Add the WhatsApp MCP server, pasting that path as the command:
Use the absolute path, not bare
uvx. Claude Desktop starts with a minimal PATH that doesn't include~/.local/bin, so a bare command name is the most common reason the server never appears. -
Restart Claude Desktop with Cmd+Q, then reopen. Closing the window is not enough.
-
Click the MCP tools icon in the chat input and check that "whatsapp" is listed.
-
Start chatting:
- "Show my recent WhatsApp chats"
- "Search messages for dinner plans"
Connect to Cursor
Add to .cursor/mcp.json in your project:
Restart Cursor and use WhatsApp tools in the AI chat.
Usage
Reading messages (works immediately)
Just ask Claude:
- "Show my recent WhatsApp chats"
- "Search for messages about dinner"
- "What did John say yesterday?"
- "Catch me up on unread messages"
Sending messages (requires bridge)
-
Start the WhatsApp bridge:
-
Ask Claude to check connection:
- "Check WhatsApp status"
-
If it shows a QR code, open the data URL in a browser and scan with your phone
-
Once connected, you can send:
- "Send a message to Mom saying I'll be late"
- "Reply to John with 'sounds good'"
Tools
How it works
Read operations query the local WhatsApp database directly, so they work offline and need no bridge.
Send operations go through the bridge, which connects to WhatsApp Web using Baileys.
Development
Privacy
- All data stays local. The server reads messages from your own WhatsApp database
- No data is sent to external servers (except WhatsApp Web when sending)
- The MCP server runs locally on your machine
License
MIT
來源:README.md,提交 c1f372d
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分