tombcato/clash-ip-checker
About
🤖Automated node IP risk checking and tagging tool for Clash (automated node IP risk checking and renaming/tagging tool for Clash proxies)
Productivity & AutomationMeasured star growth
- in 24h
- +1
- in 7 days
- +5
- in 15 days
- +9
- in 1 month
- +26
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
Original🚀 Clash Node Automator (Auto-IPCheck)
An intelligent automation tool for Clash Verge (and compatible cores) that automatically tests your proxy nodes, checks their IP purity/risk score via IPPure, and renames them with useful indicators (Bot Score, IP Risk, Native/Broadcast status).

Note: This tool uses Playwright for accurate browser-based fingerprinting detection, ensuring the results match what a real user would see.
✨ Features
- ⚡ Fast Mode (New!): Enabled by default (set to
falsein config to disable), uses direct API checks for 10x faster speed! - Auto-Switching: Automatically cycles through your Clash proxies.
- Deep IP Analysis: Checks IP Pure Score, Bot Ratio (Browser Mode only), IP Attributes (Native/Data Center), and Source.
- High-Fidelity Detection (Optional): Uses Playwright in Browser Mode for accurate fingerprinting detection including Bot Score.
- Smart Filtering: Skips invalid nodes (e.g., "Expire Date", "Traffic Reset") automatically.
- Config Injection: Generates a new Clash Config (
_checked.yaml) with emojis and stats appended to node names. - Global Mode Force: Temporarily forces Clash into Global mode for accurate testing.
🛠️ Prerequisites
- Python 3.10+
- Clash Verge (or any Clash client with External Controller enabled)
- Playwright (for Browser Mode)
- curl_cffi (for Fast Mode)
📦 Installation
Clone the Repository
git clone https://github.com/tombcato/clash-ip-checker.git cd clash-ip-checkerInstall Dependencies
pip install -r requirements.txt playwright install chromium # If playwright install fails, try: python -m playwright install chromiumConfigure
- Rename
config.yaml.exampletoconfig.yaml. - Edit
config.yamland fill in your details:fast_mode: ⚡ Enable Fast Mode (True/False).yaml_path: The absolute path to your current Clash configuration file.Windows Tip: Use single quotes
'around the path (e.g.,'C:\Users\...') to avoid having to double-escape backslashes.clash_api_secret: Your API key (if any).
- Rename
🚀 Usage
Open your Clash Client (e.g., Clash Verge), switch to the profile you want to test, get its absolute YAML path, and configure
yaml_pathinconfig.yaml.

Enable External Controller in Settings.
Run the script:
python clash_automator.pyBy default, Browser Mode (with Bot Score) is used. To enable Fast Mode (10x faster, no Bot Score), set
fast_mode: trueinconfig.yaml.The script will:
- Connect to Clash API.
- Switch to "Global" mode.
- Test each proxy one by one via external API (Fast Mode) or Browser (Browser Mode).
- Generate a new file named
your_config_checked.yaml.
Import the new
_checked.yamlinto Clash to see the results!
📝 Output Example
Your proxy nodes will be renamed to provide instant visibility into their quality:
🔍 Result Interpretation
Format: 【🟢🟡 DataCenter|Broadcast】 (Browser Model - Default) or 【⚪ DataCenter|Broadcast】 (Fast Mode)
- 1st Emoji (🔵/⚪): IP Purity Score (Lower is better, looks more like a real user)
- 2nd Emoji (🟡): Bot Score (Browser Mode only, lower is better, less likely to be blocked)
- Attributes: Residential / Data Center
- Source: Native / Broadcast
📊 Score Legend
| Range | Emoji | Meaning | Recommendation |
|---|---|---|---|
| 0 - 10% | ⚪ | Excellent | Extremely pure, suitable for all uses |
| 11 - 30% | 🟢 | Great | Suitable for strict risk controls |
| 31 - 50% | 🟡 | Good | Normal browsing, most services available |
| 51 - 70% | 🟠 | Moderate | May be blocked by strict sites |
| 71 - 90% | 🔴 | Bad | Frequent CAPTCHAs, high risk |
| > 90% | ⚫ | Terrible | Likely blocked by high-security sites |
🏷️ Attribute Tags
- Residential: Home broadband IP, high stealth, low probability of blocking.
- Data Center: Hosted on cloud providers. Fast but often blocked by streaming.
- Native: IP belongs to a local ISP. Best for streaming unlocking (Netflix, Disney+).
- Broadcast: IP location does not match registration country.
⚙️ Configuration
See config.yaml.example for all available options.
🤝 Contributing
Contributions are welcome! Please submit a Pull Request.
⚠️ Disclaimer
This tool is for educational and testing purposes only. Use it responsibly and in accordance with the terms of service of the proxies and websites you access.
Explore related projects
Loading…