npx claudepluginhub njerschow/textmeSend and receive iMessages via Claude Code using Sendblue. Use /textme to enable text mode.
Your personal Claude AI, accessible via iMessage.
Text Claude from anywhere. Send messages, voice notes, or images — get intelligent responses back to your phone. Built on Sendblue + Claude Code.
brew install node # Node.js 18+
npm install -g @anthropic-ai/claude-code # Claude Code CLI
git clone https://github.com/njerschow/textme.git
cd textme
# Create config
mkdir -p ~/.config/claude-imessage
cat > ~/.config/claude-imessage/config.json << 'EOF'
{
"sendblue": {
"apiKey": "YOUR_API_KEY",
"apiSecret": "YOUR_API_SECRET",
"phoneNumber": "+1SENDBLUE_NUMBER"
},
"whitelist": ["+1YOUR_PHONE"],
"pollIntervalMs": 5000,
"conversationWindowSize": 20
}
EOF
echo "OPENAI_API_KEY=sk-your-key-here" > daemon/.env
cd daemon && npm install && npm run build
npm start
Text your Sendblue number: hello
If you want Claude Code to send/receive iMessages directly from your terminal (without running a persistent daemon), add the Sendblue MCP server:
claude mcp add sendblue_api \
--env SENDBLUE_API_API_KEY=your-api-key \
--env SENDBLUE_API_API_SECRET=your-api-secret \
-- npx -y sendblue-api-mcp --client=claude-code --tools=all
This gives Claude Code tools to send iMessages, check number types, manage group chats, and more — all from within your coding session. See Sendblue MCP docs for details.
| Command | Action |
|---|---|
? | Show commands |
status | Current status & directory |
queue | View queued messages |
history | Recent messages |
home | Go to home directory |
reset | Home + clear history |
cd /path | Change directory |
stop | Cancel current task |
yes / no | Approve/reject actions |
pm2 start dist/index.js --name textme
pm2 save
pm2 startup
daemon/
├── src/
│ ├── index.ts # Main loop, message processing, media handling
│ ├── sendblue.ts # Sendblue API (send, receive, upload files)
│ └── ...
├── dist/ # Compiled output
└── package.json
# PM2
pm2 logs textme
# Standalone
tail -f ~/.local/log/claude-imessage.log
./scripts/install-launchd.sh # Enable
./scripts/uninstall-launchd.sh # Disable
pm2 delete textme # or: pkill -f "node.*daemon/dist"
rm -rf ~/.config/claude-imessage ~/.local/log/claude-imessage.log
MIT License