Skip to main content
Glama

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 numpy and scipy.

  • 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-GROUNDED facts from ILLUSTRATIVE 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:

  1. 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.

  2. Live Market Data (yfinance via 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.

  3. Machine Learning Probability of Default (ML-PD) We moved beyond the static 1968 Altman Z-Score. Aegis now features a scikit-learn Logistic Regression engine trained on a calibrated corporate dataset. It predicts the true 1-year Probability of Default complete with 95% Confidence Intervals.

  4. 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.

  5. 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 .xlsx files 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:

  1. Zero Data Egress: Quantitative models, Monte Carlo simulations, and database connections execute entirely locally on your trusted machine (or isolated private cloud).

  2. 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.

  3. 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

/vkkm:scan-document

Contract risk scanner

โœ… 8.5/10

Contracts

/vkkm:stress-test

Financial shock simulation

โœ… 8/10

Market Risk

/vkkm:risk-register

ISO 31000 risk register

โœ… 9.5/10

Operational

/vkkm:regulatory-check

EU/global compliance screen

โœ… 8/10

Regulatory

/vkkm:escalation-report

Risk escalation memos

โœ… 9.5/10

Operational

/vkkm:counterparty-profile

Due diligence profiling

โœ… 7.5/10

Credit

/vkkm:zscore

Altman Z-Score bankruptcy predictor

โœ… 9/10

Credit

/vkkm:greeks

Black-Scholes options Greeks

โœ… 9/10

Market Risk

/vkkm:var-calc

Monte Carlo VaR & CVaR

โœ… 8.5/10

Market Risk

/vkkm:credit-risk

Basel PD, EAD, LGD, EL

โœ… 8.5/10

Credit

/vkkm:liquidity-risk

LCR, cash gap, NSFR

โœ… 8/10

Liquidity

/vkkm:icaap

Structured ICAAP doc (7 sections)

โœ… 8.5/10

Regulatory

/vkkm:rcsa

Risk & Control Self-Assessment

โœ… 9/10

Operational

/vkkm:kri-dashboard

KRI tracking & RAG thresholds

โœ… 8/10

Operational

/vkkm:reg-calendar

Reg reporting deadlines (12m)

โœ… 7.5/10

Regulatory

/vkkm:backtest

VaR Kupiec Test validation (New!)

โœ… 9.5/10

Market Risk

/vkkm:ml-pd

ML-driven PD with 95% CI (New!)

โœ… 8.5/10

Credit

/vkkm:export-report

Board-ready Excel report export (New!)

โœ… 9/10

Technical

/vkkm:plot-monte-carlo

In-chat visual path generation (New!)

โœ… 9.5/10

Market Risk

/vkkm:sentiment-analysis

Local FinBERT news sentiment (New!)

โœ… 8/10

Market Risk

/vkkm:crypto-risk

CoinGecko Crypto VaR (New!)

โœ… 8.5/10

Market Risk

/vkkm:generate-pitchbook

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.

To install Aegis directly into your Claude Desktop application (macOS/Windows):

  1. Open your Claude Desktop app.

  2. Go to Settings > Developer > Edit Config.

  3. Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "vkkm-aegis": {
      "command": "npx",
      "args": ["-y", "vkkm-aegis"]
    }
  }
}
  1. Restart Claude Desktop. Aegis will automatically proxy all math processing to the scalable Hugging Face cloud engine.

Option 2 โ€” Claude Projects (No Code Setup)

  1. In claude.ai, create a new Project.

  2. Paste the contents of skills/risk-management/SKILL.md into the "Project Instructions" section.

  3. 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:python

This 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โ€ฆ

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      AI financial co-pilot providing credit analysis, portfolio analysis, loan optimization, and financial planning through Claude Desktop and VS Code.
      5
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides 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.
      7
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides 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