A quantitative macroeconomic engine implementing Ray Dalio's Changing World Order frameworks with Python, FastAPI, Streamlit, and MCP interfaces.
View on GitHub ↗Homepage ↗📈 Sovereign Strength Index Engine (world-order-dynamics)
An enterprise-grade quantitative macroeconomic simulation framework implementing the great empire lifecycle matrices from Ray Dalio's \"Principles for Dealing with the Changing World Order\" and the demographic workforce contraction variables from Peter Zeihan's models.
The core architecture is strictly decoupled, allowing independent ingestion data engines to feed a type-safe mathematical calculation matrix, exposed simultaneously across three presentation layers: a traditional FastAPI REST layer, a visual Streamlit web dashboard, and an advanced Model Context Protocol (MCP) server optimized for autonomous AI Agents.
🖥️ Streamlit Interface Dashboard Blueprint
Below is the layout specification mapping the dashboard interface (src/daliosovereignstrengthindex/appui.py). It shows symmetric structural metrics panel views and side control sliders:
🎛️ Left Sidebar Controls 🇺🇸 United States State Matrix (Blue Banner) 🇨🇳 China State Matrix (Red Banner) :--- :--- :--- Timeline Focus• Start Horizon Year (Slider)• End Horizon Year (Slider) Total Strength Index Score• Dynamic Float Output Metric Total Strength Index Score• Dynamic Float Output Metric 🇺🇸 US Crisis Shocks• US Debt Shock Addition (%)• US Military Alteration (% GDP) Calculated Lifecycle State• Text Status: e.g., Stage 5 Overextension Calculated Lifecycle State• Text Status: e.g., Stage 4 Height of Excesses 🇨🇳 China Crisis Shocks• China Debt Shock Addition (%)• China Military Alteration (% GDP) Telemetry Indicators Breakdown• Debt to GDP Ratio (%)• Military Budge
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/sjamal--dalio-sovereign-strength-index.html)
🏆 Open-source multi-factor stock scoring API (0-100) | US/HK/A-Share 74 stocks | Zero signup | shields.io badges | GitHub Action | EU AI Act compliant
CacheCarti/dmoera-mcpdMoERA Creator Studio MCP Server: build, backtest, and deploy crypto trading strategies via AI agents
Alpha-Park/genpark-yield-curve-nelson-siegel-interpolator-skillNelson-Siegel parametric zero-coupon yield curve modeling engine fitting spot rates, decay factor, level, slope, and curvature components.
Alpha-Park/genpark-monte-carlo-geometric-brownian-motion-skillGeometric Brownian Motion (GBM) Monte Carlo stochastic path simulation engine with normal Box-Muller variates and tail percentile bounds.
Alpha-Park/genpark-black-scholes-merton-greeks-engine-skillBlack-Scholes-Merton European option analytical pricing and first/second-order Greeks (Delta, Gamma, Vega, Theta, Rho) engine.
KLR-Pattern/fastapi-gql-mcpTransform your FastAPI routes to agent-friendly, context-efficient MCP
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.