Request Guard

•

Defend websites and APIs against AI scraping by classifying request risk, enriching data, and analyzing abuse signals.

Request Guard is a production-ready Rust-based Model Context Protocol (MCP) server designed to safeguard websites and APIs from AI scraping and other forms of bot traffic. It provides practical detection, comprehensive policy enforcement, and robust response controls by offering a suite of 23 MCP tools for request risk classification, data enrichment, and abuse-signal analysis. Operating over WebSocket JSON-RPC with token-based authentication, it's a scalable and secure middleware solution for protecting your digital assets.

Key Features

01Global concurrency control via semaphore with backpressure and per-tool timeouts.
02Cloud-native readiness with Docker and Kubernetes support, plus optional integrations for Redis, PostgreSQL, and GeoIP.
03Secure WebSocket transport with JSON-RPC 2.0 protocol and token-based authentication.
0423 comprehensive MCP tools including classify, explain, enrich_ip, threat_lookup, and abuse_pattern_match.
05Production-ready monitoring with Prometheus metrics (p50/p95/p99 histograms) and structured JSON logging.
060 GitHub stars

Use Cases

01Performing real-time request risk classification and abuse-signal analysis for incoming traffic.
02Implementing dynamic policy enforcement and response controls to manage and mitigate bot traffic.
03Defending websites and APIs against AI scraping, content theft, and malicious bot activities.