- Home
- MCP servers
- RegGuard
RegGuard
- python
2
GitHub Stars
python
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"elnino0009-regguard-mcp": {
"command": "python",
"args": [
"-m",
"src.regguard.server"
],
"env": {
"OPENAI_API_KEY": "YOUR_API_KEY"
}
}
}
}RegGuard MCP Server empowers you to perform AI-driven regulatory compliance checks on financial marketing content. It analyzes text across multiple jurisdictions, inserts compliant disclosures, and keeps an auditable log of all checks for transparency and accountability.
How to use
You interact with RegGuard through an MCP client or a direct Python integration. Use it to analyze marketing content for compliance in Singapore (SG), Hong Kong (HK), United Arab Emirates (AE), and India (IN). You can request rule checks, generate compliant disclaimers, review audit trails, and confirm the system is healthy before running checks.
Recommended usage patterns include connecting via an MCP-enabled client (such as Claude Desktop or Cursor) and issuing commands that trigger the server’s AI-powered checks. You will receive detailed violation descriptions, severity levels, content highlights, regulatory references, and actionable recommendations. You can also automate the insertion of jurisdiction-specific disclaimers and export audit trails for your compliance teams.
How to install
Prerequisites: Python 3.8+, an OpenAI API key, and Git.
- Clone the project and enter the directory.
git clone https://github.com/your-username/regguard-mcp.git
cd regguard-mcp
- Create and activate a Python virtual environment.
python -m venv regguard-env
source regguard-env/bin/activate # On Windows: regguard-env\Scripts\activate
- Install dependencies.
pip install -r requirements.txt
- Configure API key by creating a .env file with your OpenAI API key.
echo 'OPENAI_API_KEY="your-openai-api-key-here"' > .env
- Start by testing the server functionalities to ensure the setup works.
python test_server.py
python test_ai_client.py
python example_usage.py
Additional content
Configuration and operation notes reinforce how to use the server in real scenarios. You can run the server locally to process content, or integrate with client tools to streamline your workflow. The environment variable OPENAI_API_KEY must be provided for all AI-powered checks.
Security and troubleshooting tips help ensure reliable operation. If the server is not responding, verify dependencies, check port usage, and review logs. Ensure your API key remains secure and is not committed to version control.
Testing and validation steps guide you through basic functionality checks, AI integration validations, and full feature demonstrations to confirm each capability works as expected.
Available tools
check_rule_violation
Analyzes marketing content for regulatory violations across multiple jurisdictions with contextual AI analysis and detailed results.
auto_insert_disclaimer
Inserts jurisdiction-appropriate disclaimers in optimal locations within the content.
export_audit_trail
Exports comprehensive audit logs for compliance teams to review.
health
Checks server health and AI capability status to ensure reliable operation.
list_supported_markets
Returns the list of supported jurisdictions: sg, hk, ae, in.