fraud-prevention-mcp-server
An open-source MCP server for AI-powered fraud prevention that detects fraudulent IPs, emails, URLs, and phone numbers using free APIs and provides actionable risk scores.
README
fraud-prevention-mcp-server
Open-source MCP server for AI-powered fraud prevention. Detects fraudulent IPs, emails, URLs and phone numbers using free APIs — a fully free alternative to proprietary solutions.
Features
- IP Reputation — Detect proxies, VPNs, Tor exit nodes, bots and abusive IPs
- Email Risk — Disposable emails, spam traps, fraud scoring, deliverability
- URL Safety — Phishing, malware, spam URL detection
- Phone Validation — VoIP detection, line type, fraud scoring
- Breach Exposure — HaveIBeenPwned integration for data breach lookups
- Composite Risk Score — Multi-signal ALLOW/MONITOR/REVIEW/BLOCK decision
Tools
| Tool | Description |
|---|---|
check_ip_reputation |
IP fraud score, proxy/VPN/Tor/bot flags |
check_email_risk |
Email validation, disposable, spam trap, fraud score |
check_url_safety |
Phishing, malware, spam URL detection |
check_phone_risk |
Phone validity, VoIP, fraud score |
check_breach_exposure |
Data breach exposure via HaveIBeenPwned |
calculate_composite_risk |
Combined multi-signal risk analysis |
get_fraud_prevention_info |
Server info and API key setup guide |
Data Sources
- IPQualityScore — Free tier: 5,000 requests/month. Get free key at ipqualityscore.com/create-account
- HaveIBeenPwned — Breach database. Get key at haveibeenpwned.com/API/Key
Installation
pip install fraud-prevention-mcp-server
Configuration
Set your free API keys as environment variables:
export IPQS_API_KEY=your_ipqualityscore_key
export HIBP_API_KEY=your_haveibeenpwned_key
Claude Desktop Integration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"fraud-prevention": {
"command": "fraud-prevention-mcp-server",
"env": {
"IPQS_API_KEY": "your_key_here",
"HIBP_API_KEY": "your_key_here"
}
}
}
}
Example Usage
check_ip_reputation("192.168.1.1")
→ { fraud_score: 15, risk_level: "low", is_proxy: false, is_vpn: false, ... }
check_email_risk("test@tempmail.com")
→ { fraud_score: 85, risk_level: "critical", disposable: true, recommendation: "BLOCK" }
check_breach_exposure("user@example.com")
→ { breach_count: 3, risk_level: "high", has_password_exposure: true, ... }
calculate_composite_risk(ip="1.2.3.4", email="user@example.com")
→ { composite_risk_score: 45, decision: "REVIEW", action: "Manual review recommended" }
Risk Levels
| Score | Level | Recommendation |
|---|---|---|
| 0–29 | Low | ALLOW |
| 30–59 | Medium | MONITOR |
| 60–84 | High | REVIEW |
| 85–100 | Critical | BLOCK |
Why This Server?
- Free — Uses only free-tier APIs, no enterprise contracts needed
- Open Source — MIT license, fully auditable
- Multi-Signal — Combines IP, email, URL and phone signals
- Actionable — Returns ALLOW/MONITOR/REVIEW/BLOCK decisions
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.