Skip to main content
Glama
fraud-prevention-mcp-server

fraud-prevention-mcp-server

by AiAgentKarl

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

Related MCP server: Scam Detector MCP

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

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

Available Tools

7 tools
tool_calculate_composite_riskA

Calculate a combined fraud risk score from multiple signals (IP, email, phone, URL).

Analyzes all provided signals and returns a composite risk score with ALLOW / MONITOR / REVIEW / BLOCK decision. Provide at least one signal. Requires IPQS_API_KEY env var.

Args: ip: IP address to check (optional) email: Email address to check (optional) phone: Phone number to check (optional) url: URL to check (optional)

Inputs: ip, email, phone, url.

tool_check_breach_exposureB

Check if an email address has been exposed in known data breaches (HaveIBeenPwned).

Returns breach count, risk level, exposed data types, and breach details. Requires HIBP_API_KEY env var (get key at haveibeenpwned.com/API/Key).

Args: email: Email address to check for breach exposure

Inputs: email (required).

tool_check_email_riskA

Check an email address for fraud risk, disposable services and spam traps.

Returns fraud score, validity, disposable flag, spam trap detection, and deliverability. Requires IPQS_API_KEY env var (free at ipqualityscore.com).

Args: email: Email address to validate and check strictness: Detection strictness 0-3, default 1

Inputs: email (required), strictness.

tool_check_ip_reputationA

Check an IP address for fraud risk, proxy, VPN, Tor and bot activity.

Returns fraud score (0-100), risk level, and flags for proxy/VPN/Tor/bot. Requires IPQS_API_KEY env var (free at ipqualityscore.com).

Args: ip_address: IPv4 or IPv6 address to check strictness: Detection strictness 0 (lenient) to 3 (strict), default 1

Inputs: ip_address (required), strictness.

tool_check_phone_riskA

Validate a phone number and check for fraud risk, VoIP and prepaid indicators.

Returns validity, line type, carrier, VoIP flag, and fraud score. Requires IPQS_API_KEY env var (free at ipqualityscore.com).

Args: phone: Phone number in E.164 format (e.g. +14155552671) or local format country: ISO country code for local numbers (default: US)

Inputs: phone (required), country.

tool_check_url_safetyA

Check a URL for phishing, malware, spam and other threats.

Returns risk score, safety flags (phishing/malware/spam), and domain info. Requires IPQS_API_KEY env var (free at ipqualityscore.com).

Args: url: Full URL to check (include https://) strictness: Detection strictness 0-3, default 1

Inputs: url (required), strictness.

tool_get_fraud_prevention_infoA

Get information about this server, available tools and API key setup instructions.

Returns tool list, API key configuration status, and links to get free API keys.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct type of fraud signal (IP, email, phone, URL, breach) with a clear composite tool and an info tool, leaving no ambiguity.

    Naming Consistency5/5

    All tools use a consistent verb_noun snake_case pattern (check_*, calculate_*, get_*), making them predictable and easy to navigate.

    Tool Count5/5

    7 tools cover the essential fraud prevention checks (IP, email, phone, URL, breach) plus a composite and info tool—perfectly scoped for the domain.

    Completeness4/5

    Covers all major signal types and a composite score, but lacks batch processing or a feedback mechanism for false positives, which are minor gaps.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers