
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted MCP server that detects regulatory arbitrage and traces beneficial ownership by querying corporate registries, sanctions lists, and filings.
Adversarial Regulatory Arbitrage MCP Server is cataloged as an MCP server attributed to apifyforge. A hosted MCP server that detects regulatory arbitrage and traces beneficial ownership by querying corporate registries, sanctions lists, and filings. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Adversarial Regulatory Arbitrage MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Live lookups cover GB, CA, AU, and NZ registries plus OpenCorporates global coverage; regime modeling covers 16 jurisdictions.
It models strategic interaction between regulator enforcement levels and entity capital movement, converging to an equilibrium that can reveal a race-to-the-bottom.
It identifies structural risk patterns consistent with money laundering typologies but cannot observe transaction flows or make legal determinations.
README.md · 19ac6aba9fe0 · Fetched 2026-11-13 13:00:42 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Add to your MCP client (Claude Desktop, Cursor, Windsurf):
{
"mcpServers": {
"adversarial-regulatory-arbitrage-mcp": {
"url": "https://ryanclinton--adversarial-regulatory-arbitrage-mcp.apify.actor/mcp"
}
}
}
Regulatory arbitrage detection and beneficial ownership tracing for AI agents via the Model Context Protocol. This MCP server is built for compliance teams, financial crime investigators, and AI workflows that need to detect multi-jurisdiction shell layering, trace ultimate beneficial ownership through circular corporate structures, and model the strategic dynamics between regulators and regulated entities.
It orchestrates 17 live data sources — spanning 5 corporate registries (UK, Canada, Australia, NZ, OpenCorporates), 3 sanctions databases (OFAC, OpenSanctions, Interpol), SEC filings, insider trading records, GLEIF LEIs, EU VAT, EUIPO trademarks, and the Federal Register — applying 8 analytical tools backed by original quantitative algorithms: Stackelberg GNEP enforcement games, mapper TDA topology, Tarjan SCC ownership cycles, Fiedler spectral bisection, FATF-derived Bayesian shell scoring, GAN adversarial strategy co-evolution, and Anderson-Rubin instrumental variable causal analysis.
| Data Point | Source | Coverage |
|---|---|---|
| 📋 Global corporate registries | OpenCorporates | 200M+ companies worldwide |
| 🇬🇧 UK company filings, officers, PSCs | UK Companies House | All active and dissolved UK entities |
| 🇨🇦 Federal corporations | Canada Corporate Registry | All federally registered corps |
| 🇦🇺 Australian business numbers | Australia ABN Lookup | All ABN-registered entities |
| 🇳🇿 New Zealand companies | NZ Companies Office | All NZ registered entities |
| 🔴 US Treasury sanctions (SDN) | OFAC Sanctions Search | Full SDN + consolidated lists |
| 🌐 Global sanctions and watchlists | OpenSanctions Search | 100+ programs across 60+ countries |
| 🚔 International law enforcement | Interpol Red Notices | Global fugitive and wanted notices |
| 📄 US public company filings | SEC EDGAR Search | All public filings by date |
| 📊 SEC insider trading (Form 4) | SEC Insider Trading | Director and officer transactions |
| 🔑 Legal entity identifiers | GLEIF LEI Search | Global LEI database |
| 🇪🇺 EU VAT registration | EU VAT Validator | All EU member state VAT numbers |
| ™️ EU trademark registrations | EUIPO Trademark Search | EU trademark database |
| 📰 US regulatory actions and notices | Federal Register Search | All federal rules by date |
Manual multi-jurisdiction investigation means opening 7 corporate registries, running separate sanctions screenings, cross-referencing insider trading records, and then manually reasoning about ownership chains — a process that takes a trained investigator 4-8 hours per entity and still misses structural patterns that only become visible when the data is modeled as a graph.
This server collapses that process to a single tool call. Your AI agent queries all sources in parallel, builds an ownership graph, scores every node for shell company risk, and returns a structured analytical result in under 3 minutes.
Beyond data aggregation, it applies algorithms that manual analysis cannot replicate: Tarjan SCC detects circular ownership that fools simple tree traversal; spectral Fiedler bisection clusters ownership communities; the Stackelberg GNEP models whether a set of jurisdictions is in a race-to-the-bottom enforcement equilibrium; and the GAN adversarial loop reveals which novel evasion strategies would survive current detection.
Promise.all, minimizing latency per investigationOwnershipNode and OwnershipEdge objects from UK PSC disclosures, corporate officer filings, OpenCorporates relationships, and GLEIF LEI linkages with confidence scores per edge(I-A)^{-1}d using Gauss-Seidel iterationL_norm = I - D^{-1/2} A D^{-1/2}, 50 iterations, deterministic sinusoidal initializationregulator_advantage, arbitrageur_advantage, or red_queen_equilibriumAn M&A team evaluating an acquisition target needs to know who actually controls the target and whether the ownership structure passes the smell test. trace_beneficial_ownership builds the full ownership graph across UK, Canada, Australia, NZ, and OpenCorporates, resolves circular ownership via polynomial system, and returns a ranked list of UBO candidates with their control paths, effective ownership percentages, and any sanctions hits in the chain.
Compliance officers investigating potential money laundering need to determine whether a counterparty is a shell company used for layering. assess_shell_company_risk scores the entity against 10 FATF-derived indicators — dormancy, registered agent addresses, minimal officers, high-risk jurisdictions, circular ownership, nominee directors — using Bayesian posterior scoring and hypergraph minimum cut for structural detection. Results return a 0-100 risk score with indicator breakdown.
Law firms and tax advisors need to understand the regulatory landscape before advising clients on jurisdictional structure. analyze_jurisdiction_topology returns the mapper TDA complex with Betti numbers revealing how many distinct regulatory clusters exist and how many topology holes (exploitable divergences) are present across your chosen jurisdiction set. forecast_regulatory_convergence shows which arbitrage windows are closing and over what timeframe.
Academic researchers and policy analysts studying regulatory competition between jurisdictions can use simulate_enforcement_game to model the Stackelberg equilibrium: which jurisdictions end up in a race-to-the-bottom due to jurisdictional tax competition, what is the dominant arbitrage route at equilibrium, and what is the social welfare cost of the current enforcement configuration.
AI agents built on Claude, GPT-4, or any MCP-compatible framework can call this server as part of automated KYC/AML pipelines. The MCP protocol means the agent gets structured JSON back on every call — ownership graphs, risk scores, equilibrium states — which it can reason about, summarize, or pass downstream to CRM systems or compliance platforms.
Journalists investigating corporate structures — Pandora Papers-style investigations — need to rapidly cross-reference entities across multiple jurisdictions' public registers. detect_regulatory_arbitrage runs all registry and sanctions lookups in parallel and calls detectArbitrage() on the assembled graph to surface multi-jurisdiction shell layering, regulatory timing patterns, and insider trading correlations with regulatory filings.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"adversarial-regulatory-arbitrage": {
"url": "https://adversarial-regulatory-arbitrage-mcp.apify.actor/mcp",
"headers": {
"Authorization": "Bearer YOUR_APIFY_TOKEN"
}
}
}
}
Add to your .cursor/mcp.json:
{
"mcpServers": {
"adversarial-regulatory-arbitrage": {
"url": "https://adversarial-regulatory-arbitrage-mcp.apify.actor/mcp",
"headers": {
"Authorization": "Bearer YOUR_APIFY_TOKEN"
}
}
}
}
Use the same URL and Bearer token header pattern. Any client that supports the MCP Streamable HTTP transport will connect successfully.
curl -X POST "https://adversarial-regulatory-arbitrage-mcp.apify.actor/mcp" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "detect_regulatory_arbitrage",
"arguments": {
"entity_name": "Pinnacle Holdings Ltd",
"jurisdictions": ["GB", "CA", "AU", "NZ", "US"],
"include_sec_filings": true,
"include_insider_trades": true,
"days_back": 90
}
},
"id": 1
}'
| Tool | Purpose | Key algorithm | Price |
|---|---|---|---|
detect_regulatory_arbitrage | Cross-reference 7 jurisdictions + sanctions + SEC to detect shell layering | detectArbitrage() on assembled graph | $0.045 |
trace_beneficial_ownership | Trace UBO through layered structures with circular ownership resolution | Tarjan SCC + polynomial (I-A)^{-1}d + Fiedler bisection | $0.045 |
analyze_jurisdiction_topology | Mapper TDA on regulatory landscape; classify regimes; find arbitrage-prone pairs | PCA filter + single-linkage nerve + Betti numbers | $0.045 |
simulate_enforcement_game | Stackelberg GNEP between regulators and entities; equilibrium race classification | Jacobi damped best-response iteration | $0.045 |
classify_regulatory_regime | 7-dimension regime score + rankings for a single jurisdiction | k-means cluster assignment | $0.045 |
assess_shell_company_risk | FATF-derived 10-indicator shell scoring + hypergraph cut | Bayesian posterior + hypergraph min-cut | $0.045 |
compute_arbitrage_equilibrium | GAN adversarial co-evolution; novel evasion strategies; arms race phase | Tournament selection + discriminator update | $0.045 |
forecast_regulatory_convergence | Mean-reversion convergence forecast + AR-IV causal analysis | Anderson-Rubin weak-instrument-robust IV | $0.045 |
detect_regulatory_arbitrage| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entity_name | string | Yes | — | Entity name to investigate |
jurisdictions | string[] | No | ["GB","CA","AU","NZ","US"] | ISO country codes to search |
include_sec_filings | boolean | No | true | Cross-reference with SEC EDGAR |
include_insider_trades | boolean | No | true | Check Form 4 insider trading patterns |
days_back | number (1-365) | No | 90 | Lookback window for regulatory filings |
max_results_per_source | number (1-100) | No | 20 | Results cap per data source |
trace_beneficial_ownership| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entity_name | string | Yes | — | Company or entity name |
jurisdictions | string[] | No | ["GB","CA","AU","NZ"] | Jurisdictions to search |
max_depth | number (1-15) | No | 8 | Maximum ownership chain depth |
include_sanctions | boolean | No | true | Check OFAC and OpenSanctions |
include_lei | boolean | No | true | Enrich with GLEIF LEI data |
analyze_jurisdiction_topology| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
jurisdictions | string[] | No | 16 jurisdictions including KY, BM, VG | ISO country codes to analyze |
num_clusters | number (2-8) | No | 4 | Number of regime clusters |
mapper_intervals | number (3-15) | No | 5 | Cover intervals for mapper TDA |
mapper_overlap | number (0.1-0.5) | No | 0.3 | Overlap fraction for cover intervals |
simulate_enforcement_game| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
jurisdictions | string[] | No | ["US","GB","IE","NL","LU","SG","KY","BM"] | Jurisdictions in the game |
num_entities | number (10-1000) | No | 200 | Simulated regulated entities |
max_iterations | number (50-2000) | No | 500 | Max equilibrium iterations |
damping_factor | number (0.01-0.99) | No | 0.3 | Jacobi update damping |
classify_regulatory_regime| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
jurisdiction | string | Yes | — | ISO country code (e.g., GB, KY, SG) |
assess_shell_company_risk| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entity_name | string | Yes | — | Entity name to assess |
jurisdictions | string[] | No | ["GB","CA","AU","NZ"] | Jurisdictions to search |
include_sanctions | boolean | No | true | Check OFAC and OpenSanctions |
compute_arbitrage_equilibrium| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
jurisdictions | string[] | No | ["US","GB","IE","LU","SG","KY","BM","VG"] | Jurisdictions in the simulation |
num_generations | number (10-200) | No | 50 | Co-evolutionary generations |
population_size | number (50-1000) | No | 200 | Strategy population size |
forecast_regulatory_convergence| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
jurisdictions | string[] | No | ["US","GB","IE","NL","LU","SG","CH"] | Jurisdictions to compare |
horizon_years | number (1-20) | No | 5 | Forecast horizon in years |
detect_regulatory_arbitrage — Pinnacle Holdings Ltd{
"entity": "Pinnacle Holdings Ltd",
"jurisdictionsSearched": ["GB", "CA", "AU", "NZ", "US"],
"dateRange": { "from": "2025-12-22", "to": "2026-03-21" },
"ownershipGraph": {
"totalEntities": 14,
"totalEdges": 19,
"jurisdictions": ["GB", "CA", "KY", "NZ"],
"circularOwnershipCycles": 2,
"maxOwnershipDepth": 5
},
"regulatoryTopology": {
"mapperNodes": 8,
"mapperEdges": 11,
"betti0": 3,
"betti1": 2
},
"detections": [
{
"entityName": "Pinnacle Holdings Ltd",
"entityId": "uk:12847391",
"arbitrageType": "shell_layering",
"confidence": 0.83,
"severity": "HIGH",
"jurisdictionsInvolved": ["GB", "KY"],
"mechanism": "Cayman subsidiary receiving IP royalties from UK parent",
"evidence": [
{ "source": "uk-companies-house", "finding": "Registered at CT Corporation agent address", "weight": 0.4, "dataPoint": "1 Canada Square, London E14 5AB" },
{ "source": "opencorporates", "finding": "Subsidiary registered KY-2023-0841 incorporated 14 months ago", "weight": 0.3, "dataPoint": "Pinnacle IP Holdings Ltd, KY" }
],
"estimatedTaxBenefit": 0.22,
"riskIndicators": ["registered_agent_address", "high_risk_jurisdiction_subsidiary", "recent_incorporation", "layered_structure"]
}
],
"totalDetections": 3,
"sanctionsHits": 0,
"dataSources": {
"corporateRegistries": 47,
"sanctionsRecords": 0,
"secFilings": 12,
"insiderTrades": 3,
"regulatoryActions": 8
}
}
trace_beneficial_ownership — Meridian Capital Group{
"entity": "Meridian Capital Group",
"targetEntityFound": true,
"graph": {
"totalEntities": 11,
"totalEdges": 16,
"jurisdictions": ["GB", "CA", "KY"],
"circularOwnershipCycles": [["Meridian Capital Group", "Meridian GP Holdings", "Meridian Capital Group"]],
"maxOwnershipDepth": 4
},
"beneficialOwners": [
{
"beneficialOwner": "person:james-whitmore",
"ownerName": "James Whitmore",
"effectiveOwnership": 67.4,
"controlPath": [
{ "id": "person:james-whitmore", "name": "James Whitmore", "jurisdiction": "GB" },
{ "id": "uk:09341827", "name": "JW Family Trust Ltd", "jurisdiction": "GB" },
{ "id": "corp:meridian-gp-holdings", "name": "Meridian GP Holdings", "jurisdiction": "KY" },
{ "id": "uk:08124593", "name": "Meridian Capital Group", "jurisdiction": "GB" }
],
"pathLength": 3,
"confidence": 0.78,
"jurisdictionsTraversed": ["GB", "KY"]
}
],
"totalUBOCandidates": 3,
"circularOwnershipResolution": {
"converged": true,
"iterations": 12,
"residual": 0.0000034,
"effectiveShares": {
"Meridian Capital Group": 0.3425,
"Meridian GP Holdings": 0.6575
}
},
"ownershipCommunities": {
"Meridian Capital Group": 0,
"JW Family Trust Ltd": 1,
"Meridian GP Holdings": 0
},
"sanctionedEntitiesInChain": []
}
simulate_enforcement_game — US/GB/IE/KY equilibrium{
"gameConfiguration": {
"jurisdictions": ["US", "GB", "IE", "KY"],
"numEntities": 200,
"maxIterations": 500,
"dampingFactor": 0.3
},
"equilibrium": {
"converged": true,
"convergenceIterations": 143,
"epsilon": 0.00000087,
"regulatoryRace": "mixed",
"socialWelfare": 1.247
},
"regulatorStrategies": [
{ "jurisdiction": "US", "strategy": "enforcement_level=0.6823", "payoff": 0.312, "detectionProbability": 0.546, "penaltyRevenue": 0.389 },
{ "jurisdiction": "GB", "strategy": "enforcement_level=0.5941", "payoff": 0.278, "detectionProbability": 0.505, "penaltyRevenue": 0.341 },
{ "jurisdiction": "IE", "strategy": "enforcement_level=0.2134", "payoff": 0.041, "detectionProbability": 0.160, "penaltyRevenue": 0.063 },
{ "jurisdiction": "KY", "strategy": "enforcement_level=0.0872", "payoff": 0.009, "detectionProbability": 0.031, "penaltyRevenue": 0.015 }
],
"dominantArbitrageStrategies": [
{ "fromJurisdiction": "US", "toJurisdiction": "KY", "mechanism": "ip_box_routing", "expectedBenefit": 0.2100, "detectionRisk": 0.031, "netPayoff": 0.2007 },
{ "fromJurisdiction": "GB", "toJurisdiction": "IE", "mechanism": "treaty_shopping", "expectedBenefit": 0.1375, "detectionRisk": 0.160, "netPayoff": 0.0895 }
],
"interpretation": "Converged to approximate Nash equilibrium in 143 iterations (epsilon=0.00000087). MIXED equilibrium: significant enforcement variation creates arbitrage opportunities. Dominant route: US -> KY via ip_box_routing (net payoff: 0.2007)."
}
assess_shell_company_risk — Orion Trading (NZ) Ltd{
"entity": "Orion Trading (NZ) Ltd",
"assessments": [
{
"entityId": "nz:9429048211843",
"entityName": "Orion Trading (NZ) Ltd",
"jurisdiction": "NZ",
"riskScore": 74,
"riskLevel": "HIGH",
"indicators": {
"dormantOrInactive": true,
"registeredAgentAddress": false,
"minimalOfficers": true,
"recentIncorporation": true,
"highRiskJurisdiction": false,
"circularOwnership": false,
"layeredStructure": true,
"sanctionedConnections": false,
"mismatchedActivity": true,
"nomineeDirectors": false
},
"indicatorCount": 5,
"totalIndicators": 10,
"explanation": "HIGH risk: dormant status, minimal officers (1 director), incorporated 8 months ago, 3-tier ownership structure, stated SIC code inconsistent with banking sector transactions",
"connectedEntities": 4,
"ownershipDepth": 3
}
],
"graphSummary": { "totalEntities": 8, "circularOwnershipDetected": false, "cycleCount": 0, "maxDepth": 3 },
"hypergraphCut": { "cutValue": 0.312, "shellSideEntities": 3, "legitimateSideEntities": 5, "cutEdges": 2 }
}
detect_regulatory_arbitrage| Field | Type | Description |
|---|---|---|
entity | string | Input entity name |
jurisdictionsSearched | string[] | ISO codes searched |
dateRange | object | from / to ISO dates |
ownershipGraph.totalEntities | number | Nodes in assembled graph |
ownershipGraph.totalEdges | number | Edges (ownership relationships) |
ownershipGraph.jurisdictions | string[] | Distinct jurisdictions found |
ownershipGraph.circularOwnershipCycles | number | Tarjan SCC cycle count |
ownershipGraph.maxOwnershipDepth | number | Deepest chain found |
regulatoryTopology.betti0 | number | Connected regulatory clusters (mapper) |
regulatoryTopology.betti1 | number | Topological holes = exploitable gaps |
detections[] | ArbitrageDetection[] | Up to 20 arbitrage detections, sorted by confidence |
detections[].arbitrageType | string | E.g., shell_layering, treaty_shopping |
detections[].confidence | number | 0.0-1.0 confidence score |
detections[].severity | string | LOW, MEDIUM, HIGH, CRITICAL |
detections[].evidence[] | object[] | Supporting findings with weight and data point |
detections[].estimatedTaxBenefit | number | Estimated tax rate differential (0.0-1.0) |
sanctionsHits | number | Unique sanctioned entity names found |
dataSources | object | Record counts from each source category |
trace_beneficial_ownership| Field | Type | Description |
|---|---|---|
targetEntityFound | boolean | Whether entity matched in graph |
graph.circularOwnershipCycles | string[][] | Cycle member names |
beneficialOwners[] | object[] | UBO candidates sorted by effective ownership |
beneficialOwners[].effectiveOwnership | number | Percentage (0-100) via chain multiplication |
beneficialOwners[].controlPath | object[] | {id, name, jurisdiction} per node |
beneficialOwners[].confidence | number | Product of edge confidences along path |
circularOwnershipResolution.converged | boolean | Polynomial system convergence |
circularOwnershipResolution.effectiveShares | object | Name → effective share fraction |
ownershipCommunities | object | Name → cluster index (Fiedler bisection) |
sanctionedEntitiesInChain | object[] | Entities with sanctions hits in the graph |
simulate_enforcement_game| Field | Type | Description |
|---|---|---|
equilibrium.converged | boolean | Nash condition satisfied within epsilon |
equilibrium.regulatoryRace | string | to_bottom, to_top, mixed, stable |
equilibrium.socialWelfare | number | Aggregate welfare at equilibrium |
regulatorStrategies[] | StackelbergPayoff[] | Per-jurisdiction equilibrium strategy and payoff |
regulatorStrategies[].detectionProbability | number | transparency × enforcement_level |
dominantArbitrageStrategies[] | ArbitrageStrategy[] | Top entity flows at equilibrium |
dominantArbitrageStrategies[].mechanism | string | E.g., ip_box_routing, treaty_shopping |
assess_shell_company_risk| Field | Type | Description |
|---|---|---|
assessments[].riskScore | number | 0-100 Bayesian posterior risk score |
assessments[].riskLevel | string | LOW, MEDIUM, HIGH, CRITICAL |
assessments[].indicators | ShellCompanyIndicators | 10-field boolean indicator set |
assessments[].indicatorCount | number | Number of positive indicators |
hypergraphCut.cutValue | number | Min-cut value separating shell/legitimate sides |
hypergraphCut.shellSideEntities | number | Entities on the shell partition |
This MCP server uses pay-per-event pricing — you pay $0.045 per tool call. Compute costs are included.
| Scenario | Tool calls | Cost per call | Total cost |
|---|---|---|---|
| Quick test — single entity check | 1 | $0.045 | $0.045 |
| Basic due diligence — 3 tools per entity | 3 | $0.045 | $0.14 |
| Standard investigation — all 8 tools | 8 | $0.045 | $0.36 |
| Batch — 25 entity investigations (3 tools each) | 75 | $0.045 | $3.38 |
| Compliance pipeline — 100 entities monthly | 300 | $0.045 | $13.50 |
You can set a maximum spending limit per run to control costs. The server returns a clean error when your budget cap is reached, so you never receive unexpected charges.
The Apify free plan includes $5 of monthly platform credits — enough for approximately 111 tool calls at no cost.
Compare this to commercial KYC/AML platforms (ComplyAdvantage, Refinitiv World-Check, Dow Jones Risk & Compliance) which typically run $500-5,000/month for API access. With this server, a 100-entity monthly compliance workflow costs under $15 with no subscription commitment.
Each tool call fans out across all relevant data sources in parallel using Promise.all. The runActorsParallel function in actor-client.ts calls up to 10 downstream Apify actors simultaneously, each with a 180-second timeout and 256MB memory cap. Results are returned as typed arrays — openCorpData, ukData, caData, auData, nzData, ofacData, openSanctionsData, secFilings, insiderTrades, fedRegData — merged into a unified sanctions map keyed by entity name.
buildOwnershipGraph() ingests data from all registries and constructs typed OwnershipNode objects. UK Companies House data includes officers (with role classification: director, officer, registered_agent) and PSC disclosures (Persons with Significant Control, parsed to extract ownership percentage from ranges like 25-50%). Edge confidence scores are set per source: UK Companies House PSC edges get 0.9, officer edges get 0.95. OpenCorporates and GLEIF LEI data are merged. Registered agent address detection uses 8 regex patterns covering CT Corporation, National Registered Agents, Trident Trust, Mossack Fonseca, Appleby, and Portcullis. Sanctions hits are cross-referenced against both OFAC and OpenSanctions by name matching and stored directly on each node.
Once the graph is assembled, the relevant algorithms run:
UBO tracing (traceUBO): depth-first search from the target node up the ownership chain. For unknown ownership percentages, 50 Monte Carlo samples estimate the effective stake. Tarjan SCC (detectOwnershipCycles) first identifies all circular structures. Circular ownership is resolved via resolveCircularOwnership: the system builds the ownership matrix A, computes (I-A)^{-1}d via Gauss-Seidel iteration (up to 100 iterations, convergence at residual < 1e-6), and returns effective share fractions.
Spectral community detection (spectralOwnershipCommunities): constructs the normalized Laplacian L_norm = I - D^{-1/2} A D^{-1/2} from the ownership graph adjacency matrix. Power iteration (50 steps) with sinusoidal deterministic initialization approximates the Fiedler eigenvector. The resulting vector is partitioned into numClusters groups by sorted value.
Mapper TDA (regulatoryMapper): each jurisdiction is represented as a 7-dimensional vector [taxRate, regulatoryBurden, transparency, enforcementCapacity, amlRating, treatyNetwork, stabilityIndex]. PCA power iteration (30 steps) extracts the first principal component as a filter function. Overlapping cover intervals are constructed with configurable width and overlap fraction. Single-linkage clustering within each interval (threshold 0.15 in feature space) produces mapper nodes. The nerve simplicial complex is built by finding shared members across nodes. Betti-0 counts connected components; Betti-1 is estimated via nodes - edges + betti0 - 1 (Euler characteristic).
Stackelberg GNEP (computeStackelbergEquilibrium): iterated best-response with Jacobi damped updates. Followers use softmax quantal response at temperature 5.0; cost includes taxRate + regulatoryBurden × enforcementLevel × 0.5 + transparency × enforcementLevel × riskAversion - stabilityIndex × 0.1. Leaders optimize R(e) = e × transparency × presence × penalty with cost e²/(2 × capacity). Convergence checked via sup-norm across all variables.
Shell company scoring (assessShellCompanyRisk): 10 FATF-derived boolean indicators are scored with a Bayesian prior P(shell | indicators) ∝ Π P(indicator_i | shell) × P(shell). Prior P(shell) is 0.05 (5% base rate). Each indicator is parameterized with conditional probabilities derived from FATF typology reports. Hypergraph minimum cut (hypergraphMinCut) partitions the graph into shell-side and legitimate-side using iterative edge-weight contraction.
All results are JSON-serialized via the json() helper and returned as MCP CallToolResult with content[0].type = "text". All numeric fields are rounded to 3-4 decimal places. Arrays are sliced to reasonable maximums (20 detections, 10 assessments, 15 novel strategies) before return.
Start with detect_regulatory_arbitrage for unknown entities. This is the broadest sweep — it covers all registries plus sanctions plus SEC in a single call. Use it first to understand what data exists, then follow up with trace_beneficial_ownership on specific entities of interest.
Specify only the jurisdictions you need. Each additional jurisdiction adds a parallel actor call. For entities with no known connection to Australia or NZ, remove those from the jurisdictions array to reduce per-call cost and latency.
Use classify_regulatory_regime before simulate_enforcement_game. Understanding the regime profiles of your target jurisdictions first makes the enforcement game results easier to interpret — you'll know whether IE is acting as a conduit jurisdiction before seeing it appear as a dominant destination in the arbitrage strategies.
For circular ownership investigation, request max_depth: 12 or higher. The default of 8 is sufficient for most structures, but multi-tier Cayman or BVI layering can exceed 10 hops. The polynomial system resolves circular ownership regardless of depth.
Interpret Betti numbers carefully. In analyze_jurisdiction_topology, betti0 = 1 means all jurisdictions form one connected regulatory cluster (convergence scenario). betti1 > 0 means topological holes exist — these correspond to regulatory gaps that arbitrageurs exploit. A result of betti0=3, betti1=2 indicates 3 isolated regulatory regimes with 2 exploitable gaps between them.
Use forecast_regulatory_convergence for strategic planning. The Anderson-Rubin IV output tells you whether treaty network similarity causally predicts convergence (check firstStageF > 10 for instrument strength). Pairs with trendDirection: "converging" represent closing arbitrage windows; plan structure changes before estimatedYearsToConverge runs out.
Set a max_results_per_source of 5-10 for exploratory work. The default of 20 is appropriate for thorough investigations. For quick entity screening, reducing this value cuts latency significantly since each downstream actor returns fewer records.
Combine assess_shell_company_risk with trace_beneficial_ownership for the most complete AML picture. Shell scoring tells you the risk level of the entity; UBO tracing tells you who is ultimately behind it.
| Actor | How to combine |
|---|---|
| Company Deep Research | After trace_beneficial_ownership identifies the UBO, run deep research on that individual or entity to get a comprehensive intelligence report |
| WHOIS Domain Lookup | Cross-reference domain registration data against entities found in ownership graphs — nominee directors often register domains in their own name |
| SEC EDGAR Filing Analyzer | After detect_regulatory_arbitrage flags SEC filings of interest, use the filing analyzer to extract full text and financial data from specific filings |
| Sanctions Network Analysis | When assess_shell_company_risk returns sanctions hits, use sanctions network analysis to map the broader sanctions network around those entities |
| B2B Lead Qualifier | For M&A teams: after beneficial ownership tracing clears an acquisition target, use lead qualifier to score the commercial opportunity |
| Export Compliance Screening | Pair shell company risk scoring with export compliance to catch dual-use goods violations facilitated through shell structures |
| Startup Due Diligence | Use beneficial ownership tracing as the corporate structure component of a broader startup due diligence workflow |
scoring.ts are calibrated from published indices (Fraser Institute, Basel AML Index, FATF evaluations) as of the build date. They do not update dynamically with regulatory changes.riskLevel: "HIGH" score means the entity has structural characteristics consistent with shell company patterns. It does not constitute legal advice or a finding of wrongdoing.compute_arbitrage_equilibrium output describes strategies that would be optimal given the modeled detection environment. They describe theoretical risks, not documented real-world schemes.riskLevel: "CRITICAL" or detects new sanctions hitsTool call returns empty detections array despite known entity. The entity name must match what appears in the corporate registries. Try abbreviated versions, acronyms, or trading names. UK Companies House searches are fuzzy but require partial name overlap. For entities known primarily by their parent's name, search the parent first.
trace_beneficial_ownership returns targetEntityFound: false. The target node is only set when an assembled graph node name contains the input string as a substring (case-insensitive). If the entity's registered name differs from the commonly used name (e.g., "Acme Corp Ltd" vs "Acme"), adjust the input entity_name to match the registered form.
simulate_enforcement_game equilibrium does not converge. If converged: false, the GNEP solution set may be disconnected or the configuration produces cycling best responses. Try reducing num_entities to 50-100 and increasing max_iterations to 1,000. Alternatively, add more jurisdictions — very small sets (2-3 jurisdictions with extreme parameter divergence) can produce non-convergent games.
High latency on tool calls. The server calls up to 10 downstream actors in parallel; individual slow registry APIs (especially NZ Companies Office during peak hours) can extend total latency. Reducing max_results_per_source to 10 and limiting jurisdictions to the most relevant set significantly reduces response time.
forecast_regulatory_convergence returns causalAnalysis: null. The Anderson-Rubin IV analysis requires at least 5 jurisdiction pairs. If you provide fewer than 4 jurisdictions, the pairwise count falls below the threshold. Add more jurisdictions to enable the causal analysis.
How does regulatory arbitrage detection work, and what exactly does this server detect?
The server cross-references an entity across 7 corporate registries, 3 sanctions databases, SEC filings, and the Federal Register. It assembles an ownership graph and applies detectArbitrage(), which scores evidence across 8 arbitrage mechanisms: transfer pricing, treaty shopping, regulatory migration, shell layering, nominee directors, trust interposition, hybrid mismatch, and IP box routing. Each detection has a confidence score, severity level, and supporting evidence list.
How is beneficial ownership traced through circular ownership structures?
Circular ownership is first detected via Tarjan's SCC algorithm. The circular subgraph is then modeled as a linear system: if A owns 60% of B and B owns 40% of A, the effective ownership matrix is constructed and solved via (I-A)^{-1}d using Gauss-Seidel iteration. The result gives the economically effective share each entity holds, resolving the circularity into net fractions.
Which jurisdictions are covered for corporate registry lookups? Live registry lookups cover GB (UK Companies House), CA (Canada Corporate Registry), AU (Australia ABN Lookup), and NZ (NZ Companies Office). OpenCorporates provides global coverage across 200M+ companies. Regulatory regime modeling covers 16 jurisdictions: GB, US, CA, AU, NZ, IE, LU, NL, SG, HK, CH, BM, KY, VG, PA, CY.
What is the Betti number output in analyze_jurisdiction_topology and how do I interpret it?
Betti-0 counts connected components in the mapper simplicial complex — the number of distinct regulatory clusters. Betti-1 counts topological holes — closed loops in the complex that represent exploitable regulatory gaps between jurisdictions that are linked but not fully aligned. A betti1 > 0 result indicates the existence of such gaps and their count.
How accurate are the shell company risk scores? The 10-indicator scoring is calibrated against FATF typology reports on shell company indicators. Each indicator has empirically derived conditional probabilities. The Bayesian posterior combines them with a 5% base rate prior. The result is a relative risk signal — entities scoring above 70 exhibit multiple structural red flags — but it is not a validated forensic tool and should be used as a screening mechanism, not a final determination.
Can this server detect money laundering? It identifies structural risk patterns consistent with money laundering typologies: shell layering, circular ownership, nominee directors, high-risk jurisdiction connections, and sanctions proximity. It cannot observe transaction flows, and it does not make legal determinations. Results should be reviewed by a qualified AML compliance officer.
How does the Stackelberg enforcement game differ from a simple regulatory comparison? A static regulatory comparison lists each jurisdiction's rules. The Stackelberg GNEP models the strategic interaction: how does a regulator change its enforcement level in response to entities moving capital to avoid regulation, and how do entities respond to that enforcement change? The iterated best-response process converges to an equilibrium that reflects the stable outcome of this strategic competition — including whether the system ends in a race-to-the-bottom.
Is it legal to use public corporate registry data for compliance screening? Public corporate registries are explicitly designed for transparency and public access. OFAC and OpenSanctions publish their lists specifically for compliance use. SEC EDGAR is public record. Using this data for due diligence, AML screening, and compliance purposes is well within normal and expected use. For the full legal context, see Apify's web scraping legality guide.
How is this different from commercial KYC platforms like ComplyAdvantage or World-Check? Commercial platforms provide curated, maintained databases with analyst review and legal defensibility guarantees. This server aggregates live public data with algorithmic analysis — it is faster to access, significantly cheaper ($0.045/call vs $500-5,000/month), and provides game-theoretic and topological analysis layers that commercial platforms do not offer. It is best positioned as a first-pass screening tool or a research layer, not as a replacement for auditable commercial KYC records.
Can I run this as part of an automated AI agent pipeline? Yes — this is the primary design intent. The MCP protocol means Claude, GPT-4, or any MCP-compatible agent can call these tools directly within an agentic loop. The structured JSON output is designed for LLM consumption. Tools return at most 20 records in primary arrays to keep context window usage manageable.
How long does a typical tool call take?
Most tools take 30-90 seconds, dominated by the parallel downstream actor calls. classify_regulatory_regime is instantaneous (pure computation, no data fetches). detect_regulatory_arbitrage with all 5 jurisdictions and SEC data enabled typically takes 60-90 seconds. Reducing max_results_per_source and limiting jurisdictions brings most calls under 45 seconds.
What happens if one of the downstream data sources is unavailable?
Each downstream actor call is wrapped in a try-catch with a 180-second timeout. If any source fails or times out, it returns an empty array. The tool call continues with the data that was successfully retrieved and notes the missing source implicitly in the dataSources record counts.
If you encounter issues, you can help us debug faster by enabling run sharing in your Apify account:
This lets us see your run details when something goes wrong, so we can fix issues faster. Your data is only visible to the actor developer, not publicly.
Found a bug or have a feature request? Open an issue in the Issues tab on this actor's page. For custom implementations, enterprise integrations, or bespoke jurisdiction coverage, reach out through the Apify platform.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Adversarial Regulatory Arbitrage MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/adversarial-regulatory-arbitrage-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.