¶ 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.
[ 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.
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:
[ interactive suite ] · forensic surveillance cockpit
Review the executive forensic modules engineered for threat pattern triage and incident timeline auditing:
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:
| 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 |