Skip to main content

FraudLabs Pro MCP Server

mcp-fraudlabspro MCP server

An MCP-compliant server that integrates the FraudLabs Pro fraud detection system into AI assistants like Claude Desktop. This server enables real-time screening of order transactions and user-related events (like logins or registrations) to identify and prevent fraudulent activities.

Features

  • Order Screening: Validate e-commerce orders using IP addresses, billing/shipping details, and credit card information.

  • User Screening: Analyze account-level events (registrations/logins) for suspicious patterns.

  • Transaction Management: Retrieve historical results for orders or user screenings.

  • Feedback Loop: Approve, Reject, or Blacklist transactions directly through the AI interface to improve the detection engine.

Prerequisites

  • Python 3.10+ installed.
  • FraudLabs Pro API Key: You can obtain a free or paid API key at FraudLabs Pro.

Installation

  1. Install Dependencies Ensure you have the required libraries installed in your environment:
pip install mcp httpx uv
  1. Configuration To use this server with an MCP client (such as Claude Desktop), add the following entry to your configuration file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "fraudlabspro": {
      "command": "uvx",
      "args": [
        "mcp-fraudlabspro"
      ],
      "env": {
        "FRAUDLABSPRO_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Available Tools

📦 Order Management

Tool Description Key Arguments
screen_order Screen an order for fraud. ip, email, amount, bin_no, bill_country, ship_country
get_order_result Retrieve the validation result for a previous order. transaction_id
feedback_order Update order status (APPROVE, REJECT, BLACKLIST). transaction_id, action, note

👤 User Management

Tool Description Key Arguments
screen_user Screen user events like logins or signups. email, ip, phone, first_name, last_name
get_user_result Retrieve results for a previous user screening. user_transaction_id
feedback_user Update user event status based on manual review. user_transaction_id, action, reason

Development & Logging

The server uses FastMCP and sends logs through the MCP context. You can view logs in the Claude Desktop "Developer Console" to inspect outgoing payloads and API responses for debugging.

Common Error: If you receive "An API key is needed," ensure the FRAUDLABSPRO_API_KEY environment variable is correctly set in your configuration file and that you have restarted the MCP client.

License

See the LICENSE file.

Metadata

Release files for mcp-fraudlabspro 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-fraudlabspro 1.1.2
File Size Uploaded
mcp_fraudlabspro-1.1.2.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-fraudlabspro 1.1.2
File Interpreter ABI Platform
mcp_fraudlabspro-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / mcp_fraudlabspro-1.1.2.tar.gz

Download URL mcp_fraudlabspro-1.1.2.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
15a01ddcd6f0e6c91489ee1b773ea81c06af439e2a22f565428e465ef875a269
BLAKE2b-256 checksum
How to use checksums
f39e08b5905d36313ec8367a0d88ec8d2a52ddf8f78ce3deaab44b65b7eb809f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / mcp_fraudlabspro-1.1.2-py3-none-any.whl

Download URL mcp_fraudlabspro-1.1.2-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c77d84b521f4d6ccecc664f7320d138eff67adefee9573eb2ff643888f291ca0
BLAKE2b-256 checksum
How to use checksums
a275474267df8d8dc413f197af946b4581d398fac1e03bb10b76c3f774007d00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page