Text yourself without registering an AWS SNS phone number

Yes. Homing Pigeon (homingpigeon.dev) texts alerts from your code to your own phone, with no 10DLC campaign, toll-free registration or short code. You verify your phone with a six-digit code, and your coding agent can set it up inside the session.

What to tell your agent

Use Homing Pigeon to text me alerts. My AWS SNS texts to my own number are not arriving.

Your agent asks for your number, you read back the six-digit code, and it does the rest.

How it works in code

After pip install homingpigeondev and verifying your phone, this replaces your SNS publish call:

import datetime
import homingpigeondev

homingpigeondev.send("Nightly export failed.", idempotency_key=f"export-{datetime.date.today()}")

To verify your phone, run this once. The first command texts you a six-digit code, which goes in the second:

python -m homingpigeondev verify +15551234567
python -m homingpigeondev verify +15551234567 123456

Good to know

  • To send SMS to US numbers through Amazon SNS or AWS End User Messaging SMS, you need a registered origination identity: a 10DLC number with an approved campaign, a registered toll-free number, or a short code. That holds even when the only number you text is your own.
  • Without one, sends fail with the error "No origination identity available". If you see it, the fix in AWS is to register one of those three and wait for it to be approved.
  • If your alerts only go to your own phone, Homing Pigeon skips all of that. There is no campaign, toll-free number or short code to register, and no AWS credentials in the code that sends the alert.
  • The key is saved on your machine when you verify. On a server or in a Lambda function, set HOMINGPIGEON_API_KEY instead. After you verify, npx -y homingpigeondev key prints it.
  • If a shell script sends the alert, install the command with npm install -g homingpigeondev and use homingpigeon send "Nightly export failed." in that line instead.
  • The date in the idempotency key means a retry or a rerun never texts you twice on the same day.
  • Texts go only to the US mobile number you verified. To text customers or anyone else, finish your registration with AWS.
  • Messages are limited to 480 characters. Keep them plain, with no links. Carriers can still filter or delay any text, so delivery is not guaranteed. homingpigeondev.status() shows what happened to your last alert.

Get started

Add Homing Pigeon to Claude Code, then ask for what you want:

claude mcp add homingpigeondev -- npx -y homingpigeondev mcp

You get 50 free texts every month, on US mobile numbers. See more use cases.