¶ case file 4 of 6 · fraud-intelligence · filed 2026-03 · verified 2026-11

status: shipped · Microsoft Power BI MCP via VS Code through Claude forensic telemetry over 37,890 banking logs

↩ consigned at fraud intelligence, ¶ 06 · 15:23 · waybill: 37,890 logs → Microsoft Power BI MCP via VS Code through Claude server → 10.2× foreign ip anomaly

the line stands dark at 15:23. the archive lamp is lit; a record is read in the light it needs.

Fraud Intelligence.

Engineered an autonomous AI-augmented forensic surveillance system connecting Claude AI directly to Power BI Star Schema models via a zero-credential Python Model Context Protocol (MS Power BI MCP & Excel MCP) server. Auditing 37,901 Highbridge banking logs (₦784M total flow), the system proactively flags 10.2× foreign IP risk spikes (24.8% fraud), separates fraud vs. legitimate risk scores by +44.4 pts, and enforces P1/P2/P3 MFA and velocity-lock rules protecting ₦19M exposed capital.

role
lead ai forensic & cybersecurity data analyst
timeframe
2025-12 to 2026-03 · security production release
stack
Model Context Protocol (MS Power BI MCP & Excel MCP) · Claude AI · PostgreSQL · Power BI DAX · Python · Star Schema
scope
37,890 access logs · 10.2× foreign IP spike · zero credential leakage

Forensic audit note: Transactional telemetry models login geolocations, device fingerprint hashes, failed password velocity thresholds, and automated bot user-agent signatures across enterprise FinTech accounts.

[ problem ] · § as found

Security operations centers (SOC) were overwhelmed by hundreds of unranked alert pings per hour. Traditional threshold rules triggered false positives on legitimate traveling executives while missing sophisticated low-and-slow credential stuffing attacks.

Data analysts spent hours writing manual ad-hoc SQL queries to investigate individual account takeovers. The security organization needed an agentic Microsoft Power BI MCP via VS Code through Claude layer connecting Claude AI directly to relational telemetry models without credential leakage.

constraints & technical boundaries

  • Model Context Protocol (Microsoft Power BI MCP via VS Code through Claude) Security: Implement zero-trust tool handlers enabling Claude AI to inspect audit logs without exposing database connection credentials.
  • Star Schema Transaction Ledger: Structure 37,890 event logs into single-direction relationships across Dim_Device, Dim_Location, Dim_User, and Fact_Transactions.
  • Forensic Behavioral Clustering: Detect impossible travel anomalies (e.g. London login followed 20 minutes later by Frankfurt login) using vectorized coordinate math.
  • Executive Risk Prioritization: Map detected fraud vectors to financial risk tiers, preventing account balance drainage.
Highbridge Core Ingestion 37,901 Logs · $784M Flow
Raw Transactional Banking Stream
High-velocity streaming logs capturing international wire transfers, domestic clearing, merchant card swipes, foreign IP logins, and failed auth vectors.
↓ Power Query ETL & Data Profiling
Forensic Star Schema Model
Time Dimension
Calendar Dimension (Date, Month, Quarter, DayPart)
Hourly time intelligence isolating midnight fraud bursts (01:00 – 04:00 AM)
↓ 1:N (Transaction Date & Timestamp)
Compromised Transactions Fact
FraudTransactions Fact · 37,901 Records
$19M fraudulent loss exposure modeled into dimensional risk matrices
↓ AI-Augmented DAX Surveillance via Microsoft Power BI MCP via VS Code through Claude
Forensic Copilot Microsoft Power BI MCP via VS Code through Claude
Automated Forensic Surveillance Engine
Zero credential leakage runtime parsing DAX measures in real time to generate anomaly confidence scores and executive escalation briefs.
↓ 3 Validated Anomaly Signals
Signal 1 · 10.2× Uplift
Foreign IP Anomaly
24.8% fraud probability when login origin deviates from customer country registry.
Signal 2 · 6.6× Uplift
3+ Failed Logins
16.1% fraud rate; credential stuffing triggers automatic step-up MFA challenge.
Signal 3 · 3.6× Uplift
New Beneficiary
8.7% fraud rate on rapid transfers executed within 60 minutes of payee addition.

fig. 01 · the behavioral risk & Microsoft Power BI MCP via VS Code through Claude architecture · open full diagram ↗

[ forensic scorecard ] · anomaly detection & threat mitigation

Verified threat intelligence metrics benchmarked across 37,890 banking session events:

Logs Audited
37,890
Access Events
Reconciled across web portal sessions, mobile app APIs, and ATM network pings.
Risk Multiplier
10.2×
Foreign IP Spike
Flagged sharp concentration of high-risk authentication attempts originating from untrusted geolocations.
Impossible Travel
142 Cases
Velocity Violations
Simultaneous cross-border session handshakes isolated and terminated.
Data Security
Zero Leak
Sandboxed Microsoft Power BI MCP via VS Code through Claude
Strict schema validation preventing AI agent prompt injection or raw token exposure.

[ interactive suite ] · forensic surveillance cockpit

Review the executive forensic modules engineered for threat pattern triage and incident timeline auditing:

Fraud Surveillance Dashboard View

fig. 02 · surveillance overview · real-time tracking of high-risk IP geographic distributions, failed login velocities, and threat multipliers.

[ relational engineering ] · Microsoft Power BI MCP via VS Code through Claude protocol & dax measures

Production Microsoft Power BI MCP via VS Code through Claude tool server and DAX anomaly risk formulations:

# 1. Microsoft Power BI MCP via VS Code through Claude Tool Server: Inspect High-Risk Foreign IP Velocity
from fastmcp import FastMCP
import psycopg2

mcp = FastMCP("Forensic-Analytics-Engine")

@mcp.tool()
def query_ip_velocity_anomalies(min_attempts: int = 5, foreign_only: bool = True) -> list:
    """Queries relational access logs to identify foreign IP velocity spikes exceeding threshold."""
    query = """
        SELECT ip_address, country_code, COUNT(*) AS attempt_count,
               SUM(CASE WHEN login_status = 'Failed' THEN 1 ELSE 0 END) AS failed_count
        FROM fact_access_logs
        WHERE is_foreign = %s
        GROUP BY ip_address, country_code
        HAVING COUNT(*) >= %s
        ORDER BY attempt_count DESC;
    """
    # Executes sandboxed query and returns structured threat records
    return execute_query(query, (foreign_only, min_attempts))

// 2. Power BI DAX: Foreign IP Threat Multiplier
Foreign IP Risk Multiplier = 
VAR ForeignFailRate = DIVIDE(
    CALCULATE(COUNTROWS('fact_access_logs'), 'dim_location'[is_foreign] = TRUE(), 'fact_access_logs'[login_status] = "Failed"),
    CALCULATE(COUNTROWS('fact_access_logs'), 'dim_location'[is_foreign] = TRUE()),
    0
)
VAR DomesticFailRate = DIVIDE(
    CALCULATE(COUNTROWS('fact_access_logs'), 'dim_location'[is_foreign] = FALSE(), 'fact_access_logs'[login_status] = "Failed"),
    CALCULATE(COUNTROWS('fact_access_logs'), 'dim_location'[is_foreign] = FALSE()),
    1
)
RETURN DIVIDE(ForeignFailRate, DomesticFailRate, 0)

[ receipts & outcomes ] · autonomous fastmcp defense & roi

Moving beyond post-fraud reports to AI-augmented Microsoft Power BI MCP via VS Code through Claude anomaly detection and enforceable P1/P2/P3 hard controls:

Proactive Detection
10.2× Uplift
Behavioral Attack Vectors
Flags 24.8% fraud on foreign IPs, 16.1% on 3+ failed logins, and +44.4-pt fraud score separation automatically.
Automation Workflow
Model Context Protocol (MS Power BI MCP & Excel MCP) Copilot
Zero-Credential AI Audits
Python Model Context Protocol (MS Power BI MCP & Excel MCP) bridge lets Claude AI query Star Schema DAX telemetry directly and trigger MFA/velocity locks.
Measured ROI
₦19.0M / 30×
Exposed Capital & Speed
Isolated 924 compromised transactions across ₦784M flow and cut SOC investigation latency from 45m to 90s.
Threat Vector Forensic Remediation Security Outcome
Credential Stuffing Botnets Identified 10.2× velocity spikes across 14 ASN ranges, applying automated rate-limiting at reverse proxies. 99.4% Mitigation
Impossible Travel Interception Enforced step-up MFA for consecutive logins separated by speeds exceeding 800 km/h. 142 Breaches Prevented
Analyst Triage Acceleration Empowered tier-1 SOC analysts with Claude AI conversational SQL query tools, reducing root-cause latency from 45 min to 90 seconds. 30× Investigation Speed
Source Repo on GitHub ↗ · Download Report PDF ↗
Next Case File: Emperor Cuisine →