Skip to main content
Glama
MCP Banking Compliance Helper

MCP Banking Compliance Helper

MCP Banking Compliance Helper

PyPI License: MIT

MCP server providing banking compliance tools for KYC/AML, sanctions screening, and regulatory reporting. Built for Claude Desktop and other MCP-compatible clients.

Features

5 Compliance Tools:

  1. check_sanctions - Screen individuals/entities against OFAC, EU, and UN sanctions lists

  2. screen_pep - Identify Politically Exposed Persons (PEPs) for enhanced due diligence

  3. assess_transaction_risk - Evaluate AML red flags in financial transactions

  4. generate_sar_report - Draft Suspicious Activity Reports for FinCEN filing

  5. query_regulation - Quick reference for Basel III, GDPR, PSD2, KYC, AML requirements

Related MCP server: opensanctions-mcp

Installation

pip install mcp-banking-compliance

Usage

With Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "banking-compliance": {
      "command": "mcp-banking-compliance"
    }
  }
}

Restart Claude Desktop. The compliance tools will appear in your tool palette.

Standalone Server

# Run the MCP server
mcp-banking-compliance

# Or via Python module
python -m mcp_banking_compliance.server

Examples

Sanctions Screening

User: Check if "Vladimir Ivanovich Petrov" from Russia (born 1975-03-15) is on any sanctions lists.

Claude will use check_sanctions tool:
{
  "name": "Vladimir Ivanovich Petrov",
  "country": "RU",
  "dob": "1975-03-15"
}

Response:
{
  "status": "screened",
  "subject": "Vladimir Ivanovich Petrov",
  "risk_level": "MEDIUM",
  "risk_score": 40,
  "risk_factors": ["High-risk jurisdiction: RU"],
  "recommendation": "REVIEW",
  "sanctions_lists_checked": ["OFAC SDN", "EU Sanctions", "UN Consolidated List"]
}

Transaction Risk Assessment

User: Assess a $9,500 USD transfer from Afghanistan to a US account.

Claude will use assess_transaction_risk:
{
  "amount": 9500,
  "sender_country": "AF",
  "receiver_country": "US",
  "sender_type": "unknown"
}

Response:
{
  "risk_level": "HIGH",
  "risk_score": 90,
  "red_flags": [
    "Potential structuring (amount just below reporting threshold)",
    "High-risk sender jurisdiction: AF",
    "Unknown sender type"
  ],
  "recommendation": "FILE_SAR",
  "requires_manual_review": true
}

SAR Report Generation

User: Generate a SAR for John Doe (individual) who made suspicious cash deposits totaling $45,000 detected on 2026-02-15.

Claude will use generate_sar_report:
{
  "subject_name": "John Doe",
  "subject_type": "individual",
  "suspicious_activity": "Multiple cash deposits totaling $45,000 structured below reporting thresholds",
  "amount": 45000,
  "date_detected": "2026-02-15"
}

Response includes:
- Draft SAR narrative
- Filing ID and deadline
- Next steps checklist

Use Cases

Compliance Officers:

  • Quick sanctions screening during customer onboarding

  • Transaction monitoring and red flag detection

  • SAR drafting assistance

  • Regulatory requirement lookups

Risk Analysts:

  • Batch transaction risk scoring

  • PEP identification in client databases

  • Jurisdiction risk assessment

Developers:

  • Integrate compliance checks into banking applications

  • Automate KYC/AML workflows

  • Build regulatory reporting dashboards

Architecture

Built with FastMCP framework:

  • Tools: 5 compliance functions exposed to Claude

  • Schema: Pydantic models for type safety

  • Transport: stdio (standard MCP protocol)

Limitations

⚠️ This is a demonstration/prototype tool for educational purposes.

  • Sanctions lists are simulated (not real-time data)

  • PEP screening uses pattern matching (not actual PEP databases)

  • Risk scoring is rule-based (not ML-powered)

  • Do NOT use for production compliance without connecting to licensed data providers

For production use, integrate with:

  • Dow Jones Risk & Compliance

  • Refinitiv World-Check

  • ComplyAdvantage API

  • OFAC SDN API

Roadmap

v0.2.0:

  • Real OFAC API integration

  • Fuzzy name matching (Levenshtein distance)

  • Batch screening endpoint

v0.3.0:

  • ML-based risk scoring

  • Historical pattern detection

  • CSV export for audit trails

Contributing

Contributions welcome! This tool was built by Jerzy Plocha, a banking technologist with 15+ years in financial services.

Areas for contribution:

  • Add more regulatory frameworks (Dodd-Frank, MiFID II, etc.)

  • Improve risk scoring algorithms

  • Add unit tests for edge cases

  • Connect to real compliance data APIs

License

MIT License - see LICENSE file.

Author

Jerzy Plocha

  • 15 years banking technology (Citi, Credit Suisse, Deutsche Bank, Santander)

  • Technical reviewer for "Generative AI-Driven Application Development with Java" (Springer Nature)

  • GitHub: @JerzyPlocha

  • LinkedIn: linkedin.com/in/jerzyplocha

Disclaimer

This software is provided "as is" for educational and demonstration purposes. It does not constitute legal, financial, or compliance advice. Users are responsible for ensuring compliance with all applicable laws and regulations. The author assumes no liability for any use of this software in production environments.

Available Tools

5 tools
assess_transaction_riskAssess Transaction RiskC

Assess Anti-Money Laundering (AML) risk for a transaction.

Analyzes red flags including amount, jurisdictions, transaction type, and patterns indicative of money laundering or terrorist financing.

Inputs: request (required). Returns: object

check_sanctionsCheck SanctionsA

Screen individual or entity against OFAC, EU, and UN sanctions lists.

Returns risk assessment and match probability based on provided information. Real implementation would query actual sanctions databases.

Inputs: request (required). Returns: object

generate_sar_reportGenerate Sar ReportB

Generate a draft Suspicious Activity Report (SAR) for filing with FinCEN.

Creates structured SAR narrative based on detected suspicious activity. Output should be reviewed by compliance officer before filing.

Inputs: request (required). Returns: object

query_regulationQuery RegulationC

Look up key requirements from banking regulations (Basel III, GDPR, PSD2, etc).

Provides quick reference to common regulatory requirements for banking compliance.

Inputs: regulation (required). Returns: object

screen_pepScreen PepB

Check if individual is a Politically Exposed Person (PEP).

Screens against global PEP databases for current/former government officials, senior executives of state-owned enterprises, and their close associates.

Inputs: request (required). Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool maps to a distinct compliance activity: regulation lookup, sanctions screening, PEP screening, transaction risk scoring, and SAR drafting. The only mild overlap is check_sanctions vs screen_pep, since both screen an individual against watchlists, but the differing list sources (OFAC/EU/UN vs PEP databases) and outputs make them separable.

    Naming Consistency5/5

    All names follow a strict verb_noun snake_case pattern (query_regulation, check_sanctions, screen_pep, assess_transaction_risk, generate_sar_report). Verbs vary appropriately by action type while style stays uniform and predictable.

    Tool Count5/5

    Five tools is well within the sweet spot and each covers one stage of the compliance workflow without redundancy. Nothing feels padded or missing at the granularity implied by the names.

    Completeness3/5

    The surface covers lookup, screening, risk assessment, and SAR drafting, but the lifecycle dead-ends: there is no way to fetch, update, or track previously filed SARs, and no KYC/customer due-diligence or adverse-media check despite being core to banking compliance. These gaps would force an agent to work outside the toolset for routine follow-ups.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      AML Watcher MCP Server gives AI agents direct, real-time access to AML Watcher's proprietary sanctions, watchlist, and PEP databases. Connect your agentic workflows to 215+ sanctions regimes, 2.6M+ PEP profiles, and coverage across 235+ countries, no complex integrations required.
      -
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for sanctions screening and PEP checks via OpenSanctions API. Search entities, match against 320+ sanctions lists, and run compound compliance investigations with AI agents.
      6
      57 npm
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Agentic KYC/AML compliance server with tools for sanctions screening, identity verification, and risk assessment, where AI orchestrates discretionary checks within deterministic compliance guardrails.
      6
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to perform identity verification, KYC/KYB, PEP & sanctions screening, bank statement analysis, and workflow automation via the Model Context Protocol.
      MIT