Solana Sniper Bot
A standalone Windows desktop application for autonomous Solana meme-coin sniping, position management, and profit-taking — controlled in real time through a Model Context Protocol (MCP) server.
What It Does
The Solana Sniper Bot watches the Solana blockchain for new token launches (especially Pump.fun and Raydium), applies configurable safety, liquidity, holder-distribution, and market-activity filters, then buys and sells through Jupiter or direct Pump.fun bonding-curve instructions. It manages open positions with take-profit ladders, stop-losses, trailing behavior, rug detection, timeouts, partial sells, and full sells, persisting everything across restarts.
Key Features
- Autonomous Solana sniping — detects new launches and executes buys when filters pass
- Pump.fun + Jupiter execution — direct bonding-curve buys/sells with Jupiter fallback
- Advanced safety filters — dev holdings, top-10 concentration, buy/sell ratio, bonding-curve progress, transaction velocity, deployer history, price impact, and more
- Pulse trend matching — evaluates new mint names against cached Google/X trending topics
- Take-profit laddering — lock in gains at 1.3x, 1.8x, 3x while keeping a moonshot bag
- Trailing stop + rug detection — sells on momentum reversal, volume death, liquidity drop
- Position persistence — open positions, P&L, and trade history survive restarts
- Dark-mode Tkinter GUI — large fonts, real-time P&L, wallet balances, Pulse tab, trade history
- MCP server — every control and setting is exposed as an MCP tool; your AI agent can start/stop the bot, buy, sell, tune config, and query state
- ATA rent recovery — reclaims rent from empty token accounts on full sells
How It Works
- The bot connects to a Solana RPC/WebSocket endpoint and scans new transactions for token creation and bonding-curve activity.
- Each candidate token is run through the configured safety and market checks.
- Passing tokens are bought with a percentage of the trading wallet, creating an open position.
- A background position monitor tracks each position's value against the configured take-profit, trailing-stop, and rug-detection rules.
- When a sell condition is met, the bot executes a swap (Jupiter for graduated tokens, Pump.fun instructions for bonding-curve tokens) and logs the trade.
- The GUI and an MCP server expose the same controls, so the bot can be operated by a human or an AI agent.
Agentic AI Control
Every feature and setting is exposed through the MCP server (mcp_server.py). Connect it to Claude, Codex, Devin, Cline, or any MCP-compatible agent and your AI can:
start_bot/stop_botbuy_mint/sell_position/sell_allget_config/update_config/save_settingsget_open_positions/get_positions_status/get_graduation_statusget_trade_history/clear_trade_historyget_pnl_tally/reset_pnl_tally/refresh_pnl/get_fee_summaryget_pulse_results/set_pulse_match_mode/get_pulse_price_historyclose_empty_token_accountsget_bot_status/get_bot_stats/get_log
Why It Exists
Meme-coin markets move in seconds. Manual trading can't keep up, and most bots hide their logic or require web dashboards. This bot is a single Windows executable you control directly from your desktop, and every knob is available to the AI agent of your choice through the MCP protocol — control, tune, and execute without touching the GUI.
Build
Built with PyInstaller on Windows:
python -m PyInstaller snipe_bot.spec
The output executable is dist\SolanaSniperBot.exe.
Disclaimer
Live Solana trading is high risk. Filters, simulations, successful builds, and confirmed transactions do not guarantee safety or profitability. Only trade with funds you can afford to lose.
License
Private — for personal use by the project owner.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file solana_snipe_bot_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: solana_snipe_bot_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26801abfcd835c4d46841064a1f601ee89e91c45e5cc28ae190a4cc0cbd9d064
|
|
| MD5 |
063bda754234be7a75ea88d3fffd0da8
|
|
| BLAKE2b-256 |
037f703ebca6502a2ff7ee44d724a20edec652a3dc61a2ddd0549dc76c0a49a6
|