Azure FinOps Elite
Production-grade MCP server for enterprise Azure cost optimization, enabling spend anomaly detection, multi-tenant auditing, budget validation, and compliance-aware recommendations.
README
Azure FinOps Elite
Production-grade Azure FinOps MCP Server for Enterprise Cost Optimization
💰 Proven Results: Organizations using Azure FinOps Elite achieve an average 20% reduction in cloud costs within the first 90 days.
⭐ Star This Repository
If you find Azure FinOps Elite valuable, please star this repository to help others discover it!
💖 Support This Project
Azure FinOps Elite is free and open-source. If it saves you money or time, please consider:
- ⭐ Starring this repository
- 💰 Sponsoring via GitHub Sponsors
- 🐛 Reporting bugs and suggesting features
- 📝 Contributing code or documentation
Your support helps maintain and improve this project!
🚀 Quick Start
Installation
# Clone the repository
git clone https://github.com/YOUR_USERNAME/azure-finops-elite.git
cd azure-finops-elite
# Install dependencies
pip install -r requirements.txt
# Configure credentials
cp .env.example .env
# Edit .env with your Azure credentials
Web Dashboard (Recommended)
# Start the web dashboard
python web_dashboard.py
# Open browser to http://localhost:5000
MCP Server (For AI Assistants)
# Start the MCP server
python server.py
✨ Features
🔍 Enterprise Anomaly Detection
Detect daily spend spikes across multiple subscriptions by comparing actual costs vs. 7-day historical averages.
🏢 CSP Multi-Tenant Audit
Audit delegated sub-tenants to identify unattached disks and idle public IPs with immediate ROI.
💰 Pre-Deployment Budget Validation
Validate ARM/Bicep templates against Azure Price Sheet API before execution.
🛡️ Governance & Compliance Advisor
Azure Advisor integration with custom risk scoring based on NIA Qatar and ISO 27001 frameworks.
📊 Executive Summary Generator
Generate Markdown-formatted FinOps ROI reports for non-technical stakeholders.
⚖️ Compliance Overlay
Automatically flag cost-saving recommendations that may impact ISO 27001 or NIA Qatar controls.
🚀 One-Click Setup
Generate ready-to-use Azure Custom Role JSON with least-privilege read-only access.
🌐 Web Dashboard
Beautiful GUI for all FinOps tools:
- Configuration Management - Set Azure credentials via web interface
- Real-time Analysis - Run tools and see results instantly
- Report Generation - Create and download executive summaries
- Report History - Browse and manage all generated reports
🔐 Enterprise Security
- ✅ Zero Trust Architecture
- ✅ Certificate-based Authentication
- ✅ ISO 27001 Compliant
- ✅ NIA Qatar Framework Support
- ✅ Least-Privilege RBAC
- ✅ Comprehensive Audit Logging
📚 Documentation
- Quick Start - Get started in 5 minutes
- Windows Testing Guide - Complete Windows setup
- Web Dashboard Guide - Using the GUI
- Security Guide - Authentication & compliance
- Customer Experience - Advanced features
- Agent Guide - FinOps automation workflows
🎯 Use Cases
For Enterprises
- Monitor cloud costs across multiple subscriptions
- Detect anomalies before they impact budgets
- Ensure compliance with ISO 27001 and regional frameworks
- Generate executive reports for stakeholders
For CSPs (Cloud Service Providers)
- Audit customer tenants for cost optimization
- Demonstrate value through savings reports
- Automate resource cleanup recommendations
- Maintain compliance across customer environments
For DevOps Teams
- Validate infrastructure costs in CI/CD pipelines
- Prevent budget overruns before deployment
- Integrate cost governance into workflows
- Track and optimize resource usage
🏗️ Architecture
azure-finops-elite/
├── server.py # FastMCP server (for AI assistants)
├── web_dashboard.py # Flask web dashboard (for humans)
├── auth.py # Certificate + Managed Identity auth
├── azure_clients.py # Azure SDK client factory
├── tools/
│ ├── anomaly_detector.py # Spend spike detection
│ ├── csp_auditor.py # Multi-tenant resource audit
│ ├── budget_validator.py # ARM/Bicep cost validation
│ ├── governance_advisor.py # Risk-scored recommendations
│ ├── executive_summary.py # Executive ROI reports
│ └── compliance_overlay.py # Compliance impact checker
├── utils/
│ ├── error_handling.py # Retry logic & rate limiting
│ ├── logging_config.py # Structured logging
│ └── pricing.py # Cost estimation
└── templates/
└── dashboard.html # Web dashboard UI
🤝 Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
Development Setup
# Install dev dependencies
pip install -r requirements.txt
pip install pytest black isort mypy
# Run tests
pytest
# Format code
black .
isort .
📊 Metrics & KPIs
Track your FinOps success:
- Cost Optimization: Anomalies detected, excess spend prevented
- Resource Efficiency: Unattached resources identified and removed
- Compliance: Risk score improvements, control coverage
- ROI: Total savings vs. tool investment
🌟 Success Stories
"Azure FinOps Elite helped us identify $50K/month in wasteful spending within the first week. The executive summaries made it easy to get buy-in from leadership." — Enterprise Customer
"As a CSP, this tool helps us demonstrate value to our customers. The compliance overlay ensures we never compromise security for cost savings." — Cloud Service Provider
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
💬 Support
- 📖 Documentation: Check the docs
- 🐛 Bug Reports: Open an issue
- 💡 Feature Requests: Open an issue
- 💰 Sponsorship: GitHub Sponsors
🙏 Acknowledgments
Built with:
- FastMCP - Model Context Protocol framework
- Azure SDK for Python - Azure API integration
- Flask - Web dashboard framework
⚡ Quick Links
Made with ❤️ for the FinOps community
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。