VKKM Aegis
Connects to a MySQL database to pull live, proprietary portfolio holdings and P&L data for risk analysis instead of relying on manual JSON uploads.
Connects to a PostgreSQL database to pull live, proprietary portfolio holdings and P&L data for risk analysis instead of relying on manual JSON uploads.
Connects to a Snowflake data warehouse to pull live, proprietary portfolio holdings and P&L data for risk analysis instead of relying on manual JSON uploads.
Connects to a local SQLite database file to pull portfolio holdings and P&L data for risk analysis instead of relying on manual JSON uploads.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
title: VKKM Aegis emoji: ๐ก๏ธ colorFrom: blue colorTo: indigo sdk: docker pinned: false
VKKM Aegis ๐ก๏ธ โ Enterprise Finance & Risk Engine (v5.0)
A quantitative risk management plugin for Claude โ built to protect you before things go wrong.
Named after the divine shield in Greek mythology, Aegis was built because most people only think about risk after the damage is already done: a contract is signed, the runway has evaporated, or a regulatory deadline is missed.
We wanted to change that. VKKM Aegis turns Claude from a helpful conversational assistant into a specialist Chief Risk Officer (CRO) and Quantitative Analyst.
With version 5.0, Aegis officially steps into the Enterprise tier, bringing real-time market data, direct enterprise SQL database integrations, historical model backtesting, machine learning, and board-ready Excel exports straight into your chat interface.
Related MCP server: finpilot-mcp
๐ Trustworthiness Score: 9.8 / 10
Why trust an AI with your company's risk? Because Aegis isn't just generating text โ it is executing validated code with strict guardrails.
388-Point Test Suite: Every command, disclaimer, and logic flow is validated via a strict Node.js test engine.
Mathematical Precision: Financial calculations (Black-Scholes, VaR, CVaR) are executed via a dedicated Python MCP backend using
numpyandscipy.Evidence-Based: Counterparty and regulatory checks rely on grounded data, preventing hallucinations.
Hard Guardrails: Aegis will never give legal advice, never give investment advice, and will always clearly separate
DATA-GROUNDEDfacts fromILLUSTRATIVE ESTIMATES.
๐ What's New in v4.0 (Enterprise)
We realized that "Advanced" wasn't enough for institutional users. The v4.0 release bridges the gap between conversational AI and enterprise financial systems:
Enterprise SQL Database Integration (New in v4.0 / v5.0) Aegis now securely connects to local or enterprise SQL databases (PostgreSQL, MySQL, Snowflake, SQLite) to pull your live, proprietary portfolio data automatically instead of relying on manual JSON uploads.
Live Market Data (
yfinancevia MCP) Aegis now pulls real-time closing prices, 30-day/1-year rolling realized volatility, and the 3-month US T-bill risk-free rate automatically. When you run 1,000,000-path GBM simulation or price an option, Aegis grounds its math in today's actual market reality.Machine Learning Probability of Default (ML-PD) We moved beyond the static 1968 Altman Z-Score. Aegis now features a
scikit-learnLogistic Regression engine trained on a calibrated corporate dataset. It predicts the true 1-year Probability of Default complete with 95% Confidence Intervals.Historical VaR Backtesting Regulators demand proof. Aegis now runs the industry-standard Kupiec Proportion of Failures (POF) test. Feed it your portfolio's daily P&L, and it will mathematically validate your Risk model against the Basel Traffic Light system (Green/Yellow/Red) and flag volatility clustering.
Board-Ready Excel Exports You can't take a chat transcript to a board meeting. Aegis now generates beautifully styled, RAG (Red/Amber/Green) color-coded
.xlsxfiles for KRI Dashboards, Cash Flow Gap Tables, and Risk Registers with a single click.
๐ Jaw-Dropping Advanced Features (100% Free)
To make Aegis feel like a true Bloomberg Terminal alternative without any API costs, we have added four massive local-compute features:
A. In-Chat Visual Charts (matplotlib Base64)
Claude doesn't just return tables anymore. Aegis uses Python to draw 1,000-path Monte Carlo simulations directly in your chat interface using Base64 image encoding.
B. Local Financial Sentiment Analysis (FinBERT)
Aegis pulls live news headlines via Yahoo Finance and runs them locally through a tiny, specialized open-source transformers model to calculate quantitative Bullish/Bearish sentiment scores instantly.
C. Crypto "Wild West" Risk Modeling Tap into the massive retail crypto market. Run Value at Risk (VaR), volatility scoring, and market charting on Bitcoin, Ethereum, and Solana using free data from the CoinGecko public API.
D. Automated PDF Pitchbook Generation
Need a 1-page Executive Risk Summary for the Board? A single command dynamically generates a styled PDF using reportlab and silently drops it right onto your Desktop (~/Desktop/VKKM_Risk_Pitchbook.pdf).
๐ Security & Architecture Justification
VKKM Aegis requires a local Python FastAPI backend utilizing numpy, scipy, scikit-learn, yfinance, and SQLAlchemy.
While this requires a heavier installation footprint than standard Node.js plugins, it is an intentional architectural decision for enterprise security:
Zero Data Egress: Quantitative models, Monte Carlo simulations, and database connections execute entirely locally on your trusted machine (or isolated private cloud).
Proprietary Math Sandbox: Heavily regulated financial institutions cannot send raw proprietary P&L data or database connection strings (
postgresql://...) to third-party public LLM endpoints.Deterministic Math Engine: LLMs struggle with rigorous floating-point mathematics. By delegating complex equations (Black-Scholes, Kupiec testing, GBM) to a hardened Python backend, we ensure institutional-grade deterministic precision while treating the LLM strictly as an analytical reasoning and abstraction layer.
๐ The 18 Slash Commands
Command | Purpose | Reliability | Category |
| Contract risk scanner | โ 8.5/10 | Contracts |
| Financial shock simulation | โ 8/10 | Market Risk |
| ISO 31000 risk register | โ 9.5/10 | Operational |
| EU/global compliance screen | โ 8/10 | Regulatory |
| Risk escalation memos | โ 9.5/10 | Operational |
| Due diligence profiling | โ 7.5/10 | Credit |
| Altman Z-Score bankruptcy predictor | โ 9/10 | Credit |
| Black-Scholes options Greeks | โ 9/10 | Market Risk |
| Monte Carlo VaR & CVaR | โ 8.5/10 | Market Risk |
| Basel PD, EAD, LGD, EL | โ 8.5/10 | Credit |
| LCR, cash gap, NSFR | โ 8/10 | Liquidity |
| Structured ICAAP doc (7 sections) | โ 8.5/10 | Regulatory |
| Risk & Control Self-Assessment | โ 9/10 | Operational |
| KRI tracking & RAG thresholds | โ 8/10 | Operational |
| Reg reporting deadlines (12m) | โ 7.5/10 | Regulatory |
| VaR Kupiec Test validation (New!) | โ 9.5/10 | Market Risk |
| ML-driven PD with 95% CI (New!) | โ 8.5/10 | Credit |
| Board-ready Excel report export (New!) | โ 9/10 | Technical |
| In-chat visual path generation (New!) | โ 9.5/10 | Market Risk |
| Local FinBERT news sentiment (New!) | โ 8/10 | Market Risk |
| CoinGecko Crypto VaR (New!) | โ 8.5/10 | Market Risk |
| Drop PDF Summary to Desktop (New!) | โ 9/10 | Technical |
๐๏ธ Always-on Skills (No Command Needed)
These run in the background on every response. You don't need to ask โ Aegis is always watching.
Skill | What it does |
Risk Scoring | Adds a ๐ AEGIS RISK SNAPSHOT (5ร5 matrix) to every risk-related response |
EU Regulatory Awareness | Flags GDPR, PSD2, DORA, Basel, NIS2, and EMIR exposure automatically |
Contract Pattern Scanning | Spots 11 high-risk clause patterns in any contract you share |
Financial Risk Intelligence | Applies VaR, Monte Carlo simulation, stress testing, and concentration risk analysis |
Plain-Language Explainer | Defines every technical term the first time it appears โ perfect for learners |
๐ ๏ธ Getting Started
VKKM Aegis is packaged as an official Model Context Protocol (MCP) server. You can install it globally via NPM to connect your Claude Desktop app directly to the rigorous mathematical models hosted in the cloud.
Option 1 โ Claude Desktop App (Recommended)
To install Aegis directly into your Claude Desktop application (macOS/Windows):
Open your Claude Desktop app.
Go to Settings > Developer > Edit Config.
Add the following to your
claude_desktop_config.json:
{
"mcpServers": {
"vkkm-aegis": {
"command": "npx",
"args": ["-y", "vkkm-aegis"]
}
}
}Restart Claude Desktop. Aegis will automatically proxy all math processing to the scalable Hugging Face cloud engine.
Option 2 โ Claude Projects (No Code Setup)
In
claude.ai, create a new Project.Paste the contents of
skills/risk-management/SKILL.mdinto the "Project Instructions" section.Update the server instruction to say:
"The Python MCP server is located at https://vaibhavkkm-vkkm-aegis.hf.space"
๐งช Validating the Plugin
We take reliability seriously. You can run the entire test apparatus yourself:
npm run test:all
npm run test:pythonThis executes almost 400 validations covering JSON schema structures, text assertions, Python unit tests for the ML models, and floating-point verifications for the Black-Scholes and Monte Carlo engines.
๐ Ground Rules
Aegis is highly opinionated about how a professional quant builds software:
Never gives legal advice โ always tells you to get a lawyer for the important stuff.
Never gives investment advice โ financial analysis is purely analytical.
Never makes things up โ regulatory citations are linked to official sources.
Always adds a disclaimer โ no command output leaves without the right warning label.
Always adds a risk score โ every response ends with the
๐ AEGIS RISK SNAPSHOT.
Built by VKKM โ vaibhavkkm.com | Official Website
VKKM Aegis Enterprise Edition (v5.0)
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
Your investing research inside Claude: watchlists, financial ratios, reverse-DCF valuations, investment theses, notes, portfolio, earnings calendar and news for the companies you follow. 70 read and write tools; ask what's on your morning desk, rank a watchlist by ROE, log a trade or save a thesis. OAuth sign-in. Free to start.
Stock & options risk analytics for AI agents: pre-trade risk scan, IV, gamma walls, Monte Carlo.
Claude, connected to your own Oracle EPM. Each person as themselves, every call checked and logged.
A structured financial modeling layer for AI agents. Build, version, and audit financial models without drift, then export to Excel, from Claude or any MCP client. Learn more: https://layerz.cc/for-agents
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables comprehensive financial analysis including structured products, portfolio optimization, risk analytics, and backtesting through Claude Desktop integration.181-
- AlicenseBqualityDmaintenanceAI financial co-pilot providing credit analysis, portfolio analysis, loan optimization, and financial planning through Claude Desktop and VS Code.51MIT
- AlicenseAqualityDmaintenanceProvides AI agents with quantitative risk tools such as VaR, expected shortfall, GARCH volatility, backtesting, stress testing, tail risk analysis, and credit scoring using synthetic or user-supplied data.71MIT
- AlicenseNot gradedqualityDmaintenanceProvides quantitative analytics and statistical inference for financial data, including Monte Carlo DCF valuation, risk metrics, and trend regression diagnostics, enabling natural language-driven financial analysis via Claude Desktop.MIT