Back to Directory/Developer Tools

io.github.fraudlabspro/mcp-fraudlabspro

Fraud Prevention MCP server using FraudLabs Pro API.

Developer ToolsPythonv1.1.1

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

ToolDescriptionKey Arguments
screen_orderScreen an order for fraud.ip, email, amount, bin_no, bill_country, ship_country
get_order_resultRetrieve the validation result for a previous order.transaction_id
feedback_orderUpdate order status (APPROVE, REJECT, BLACKLIST).transaction_id, action, note

👤 User Management

ToolDescriptionKey Arguments
screen_userScreen user events like logins or signups.email, ip, phone, first_name, last_name
get_user_resultRetrieve results for a previous user screening.user_transaction_id
feedback_userUpdate 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.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx mcp-fraudlabspro

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-fraudlabspro-mcp-fraudlabspro": {
      "command": "uvx",
      "args": [
        "mcp-fraudlabspro"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

mcp-fraudlabspropypi

Compatible MCP Clients

io.github.fraudlabspro/mcp-fraudlabspro works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More