antibot-detector
by diegopzz
README.md
# scrapfly-antibot-detector-mcp



An MCP server that uses the Scrapfly Antibot-Detector browser extension to detect anti-bot systems, CAPTCHAs, and fingerprinting techniques on any website.
* * *
## See it in action
Run a quick detection:
```bash
npm test
# or
node scripts/test-detection.js https://www.cloudflare.com
```
Example output:
```text
Detections Found: 16
Overall Confidence: 88%
- Cloudflare Bot Management (100% confidence)
- Google reCAPTCHA (100% confidence)
- WebGL Fingerprint (95% confidence)
```
* * *
## Features
* Real browser analysis with the Scrapfly Antibot-Detector extension
* Detects anti-bot providers (Cloudflare, Akamai, DataDome, PerimeterX, and more)
* Captcha detection (reCAPTCHA, hCaptcha, FunCaptcha, Turnstile)
* Fingerprinting signals (Canvas, WebGL, Audio, Font, WebRTC, and more)
* Structured results with confidence scores and evidence matches
* * *
## Installation
### From npm (global)
```bash
npm install -g scrapfly-antibot-detector-mcp
```
### From source
```bash
git clone https://github.com/diegopzz/scrapfly-antibot-detector-mcp.git
cd scrapfly-antibot-detector-mcp
npm install
npm run build
```
Prerequisites:
* Node.js 18+
* Git (used to download the extension on first run)
* * *
## Usage
### Connecting to Cursor
Add to `.cursor/mcp.json`:
```json
{
"mcpServers": {
"antibot-detector": {
"command": "npx",
"args": ["scrapfly-antibot-detector-mcp"]
}
}
}
```
### Connecting to Claude Desktop
Add to your config:
```json
{
"mcpServers": {
"antibot-detector": {
"command": "npx",
"args": ["scrapfly-antibot-detector-mcp"]
}
}
}
```
### Connecting to VS Code Copilot Chat
User settings JSON:
```json
{
"github.copilot.chat.experimental.mcpServers": {
"antibot-detector": {
"command": "npx",
"args": ["scrapfly-antibot-detector-mcp"]
}
}
}
```
### Local path (no npm install)
```json
{
"mcpServers": {
"antibot-detector": {
"command": "node",
"args": ["C:\\path\\to\\scrapfly-antibot-detector-mcp\\dist\\index.js"]
}
}
}
```
* * *
## MCP tools
* `detect_antibot` - analyze a URL and return detections with evidence
* `url` (string, required)
* `timeout` (number, optional, default 30000)
* `get_detector_status` - returns whether the browser detector is ready
* * *
## Extension updates
The server checks GitHub for extension updates on each detection run. To disable:
```bash
ANTIBOT_EXTENSION_UPDATE_CHECK=false
```
To force a refresh:
```bash
npm run update-extension
```
* * *
## Development
```bash
npm run build # compile TypeScript
npm run dev # watch mode
npm test # run detection script
npm run download-extension
```
* * *
## Notes
* The browser runs headed (extensions do not work in headless mode).
* The launch uses `--no-sandbox` and a minimized window; avoid locked-down CI without adjustments.
* This tool is for research and debugging; respect site terms of service.
* * *
## License
MIT. See `LICENSE`.
## Credits
Scrapfly Antibot-Detector extension and the Model Context Protocol.
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues