Buy temporary phone numbers and receive OTP codes in one command. Multi-provider, real-time, 170+ countries.
pip install fastrecvsms
click to copy
Built for security professionals who need fast, reliable SMS verification without leaving the terminal.
Unified interface for 5sim.net and SMS-Activate. Switch providers with a flag, same commands everywhere.
Live terminal display with elapsed timer while waiting for SMS. Know the moment your code arrives.
Buy a number and automatically wait for the verification code - single command, no context switching.
API keys stored locally in TOML config. Environment variable overrides for CI/CD and automation pipelines.
Color-coded output, formatted tables, and clear verification code display. Built with Rich for a polished experience.
Built-in Model Context Protocol server. Let your AI agent buy numbers and receive codes autonomously.
Connect to the provider that works best for your region and use case.
Everything is a single command away. No multi-step workflows.
fastrecvsms buy telegramfastrecvsms buy instagram --country usafastrecvsms buy facebook --no-waitfastrecvsms buy google --timeout 300fastrecvsms check 387141506fastrecvsms check 387141506 --waitfastrecvsms cancel 387141506fastrecvsms finish 387141506fastrecvsms balancefastrecvsms balance -p sms-activatefastrecvsms config set-key 5sim KEYfastrecvsms config showfastrecvsms config set-default sms-activateLet Claude, Cursor, or any MCP-compatible AI agent handle SMS verification autonomously.
FastRecvSMS ships a built-in Model Context Protocol server. Add it to your AI editor's config and your agent can buy numbers, wait for codes, and manage orders - no human in the loop.
{
"mcpServers": {
"fastrecvsms": {
"command": "fastrecvsms-mcp"
}
}
}
| Tool | Description |
|---|---|
| buy_number | Buy a temporary phone number |
| wait_for_sms | Poll until SMS received |
| check_sms | Check if code has arrived |
| get_balance | Check provider balance |
| list_services | List services with prices |
| cancel_order | Cancel an active order |
| finish_order | Mark order complete |
| list_active_orders | List pending orders |
Import directly for scripting, automation, or integration into larger workflows.
from fastrecvsms.config import Config from fastrecvsms.providers import get_provider config = Config() provider = get_provider("5sim", config.get_api_key("5sim")) # Buy a number and get the verification code order = provider.buy_number("whatsapp", "russia") print(f"Phone: {order.phone}") result = provider.check_order(order.id) if result.sms_code: print(f"Code: {result.sms_code}")
Install FastRecvSMS and start receiving codes in seconds.