RegGuard MCP Server

$git clone https://github.com/Elnino0009/regguard-mcp.git && cd regguard-mcp && python -m venv regguard-env && pip install -r requirements.txt
README.md

AI-powered compliance assistant for financial marketing content

RegGuard MCP Server 🛡️

AI-Enhanced Financial Marketing Compliance Server using Model Context Protocol (MCP)

RegGuard is a sophisticated MCP (Model Context Protocol) server that provides AI-powered regulatory compliance checking for financial marketing content. It leverages OpenAI's GPT-4o-mini model combined with jurisdiction-specific regulatory knowledge to detect violations across multiple financial markets.

🎯 What Does RegGuard Do?

RegGuard acts as an intelligent compliance assistant that:

  • 🔍 Analyzes Marketing Content: Uses AI to scan financial marketing materials for regulatory violations
  • 🌍 Multi-Jurisdiction Support: Covers Singapore (SG), Hong Kong (HK), UAE (AE), and India (IN) regulations
  • ⚡ Real-time Compliance Checking: Integrates seamlessly with AI assistants like Claude and Cursor
  • 📋 Automatic Disclaimer Insertion: Intelligently places required regulatory disclaimers
  • 📊 Audit Trail Generation: Maintains tamper-proof logs of all compliance checks
  • 🎯 Contextual AI Analysis: Goes beyond pattern matching to understand regulatory nuances

🧠 Key Concepts & Educational Resources

Understanding MCP (Model Context Protocol)

Financial Regulatory Compliance Basics

AI-Powered Compliance Technology

🚀 Quick Start Guide

Prerequisites

1. Clone and Setup

# Clone the repository
git clone https://github.com/your-username/regguard-mcp.git
cd regguard-mcp

# Create virtual environment (recommended)
python -m venv regguard-env
source regguard-env/bin/activate  # On Windows: regguard-env\Scripts\activate

# Install dependencies
pip install -r requirements.txt

2. Configure API Key

Create a .env file in the project root:

# Create .env file
echo 'OPENAI_API_KEY="your-openai-api-key-here"' > .env

Important: Never commit your actual API key to GitHub!

3. Test the Server

# Test server functionality
python test_server.py

# Test AI integration
python test_ai_client.py

# Run example usage
python example_usage.py

🔌 How to Use RegGuard MCP Server

Option 1: Claude Desktop Integration (Recommended)

  1. Install Claude Desktop (Download here)

  2. Configure MCP Settings:

    • Open Claude Desktop settings
    • Navigate to "Developer" > "MCP Servers"
    • Add the following configuration:
{
  "mcpServers": {
    "regguard": {
      "command": "python",
      "args": ["-m", "src.regguard.server"],
      "cwd": "/full/path/to/regguard-mcp",
      "env": {
        "OPENAI_API_KEY": "your-openai-api-key-here"
      }
    }
  }
}
  1. Start Using:
    @regguard Please check this marketing copy for Singapore compliance:
    "Our investment product guarantees 15% annual returns with zero risk!"
    

Option 2: Cursor IDE Integration

  1. Install Cursor (Download here)

  2. Configure MCP in Workspace: Add to your Cursor workspace setti

Tools (1)

check_complianceAnalyzes financial marketing materials for regulatory violations across supported jurisdictions.

Environment Variables

OPENAI_API_KEYrequiredAPI key for GPT-4o-mini model integration

Configuration

claude_desktop_config.json
{"mcpServers": {"regguard": {"command": "python", "args": ["-m", "src.regguard.server"], "cwd": "/full/path/to/regguard-mcp", "env": {"OPENAI_API_KEY": "your-openai-api-key-here"}}}}

Try it

Please check this marketing copy for Singapore compliance: 'Our investment product guarantees 15% annual returns with zero risk!'
Analyze this financial advertisement against Hong Kong SFC guidelines.
Review this UAE financial promotion and insert the required regulatory disclaimers.
Generate an audit trail for the compliance check performed on our latest India marketing campaign.

Frequently Asked Questions

What are the key features of RegGuard MCP Server?

Multi-Jurisdiction Support for Singapore, Hong Kong, UAE, and India regulations. Real-time compliance checking integrated with Claude and Cursor. Automatic regulatory disclaimer insertion. Tamper-proof audit trail generation for compliance logs. Contextual AI analysis using GPT-4o-mini to understand regulatory nuances.

What can I use RegGuard MCP Server for?

Financial institutions verifying marketing materials against MAS Fair Dealing guidelines. Compliance officers automating the insertion of mandatory disclaimers in ad copy. Marketing teams performing real-time regulatory checks during the content creation process. Generating documented audit trails for regulatory reporting and internal reviews.

How do I install RegGuard MCP Server?

Install RegGuard MCP Server by running: git clone https://github.com/Elnino0009/regguard-mcp.git && cd regguard-mcp && python -m venv regguard-env && pip install -r requirements.txt

What MCP clients work with RegGuard MCP Server?

RegGuard MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use RegGuard MCP Server with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free