DcisionAI MCP Server v3.0 - AI-Powered Optimization with DAME (DcisionAI Micro-differential Evolutionary Algorithm), HiGHS Solver, Dual Validation, 90%+ Trust Scores & Business Interpretation
Project description
๐ฏ DcisionAI MCP Server
AI-Powered Optimization for Your IDE - Solve complex business problems directly in Cursor, Claude Desktop, or VS Code.
โจ What is This?
DcisionAI is a Model Context Protocol (MCP) server that brings enterprise-grade optimization to your IDE. Ask your AI assistant to solve real business problems, and get:
- ๐ฏ 90%+ Trust Scores with mathematical proof
- ๐ง DAME Algorithm (proprietary evolutionary solver)
- โ๏ธ Dual Validation with HiGHS exact solver
- ๐ผ Business Interpretation in plain language
- ๐ 5-Layer Proof Suite for transparency
๐ Quick Start (30 seconds)
Step 1: Install in Your IDE
For Cursor / Claude Desktop:
Add to your MCP settings (~/Library/Application Support/Claude/claude_desktop_config.json on Mac):
{
"mcpServers": {
"dcisionai": {
"command": "uvx",
"args": ["dcisionai-mcp-server@latest"],
"env": {
"OPENAI_API_KEY": "${OPENAI_API_KEY}",
"ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
"SUPABASE_URL": "https://your-project.supabase.co",
"SUPABASE_KEY": "your-anon-key"
},
"autoApprove": ["dcisionai_solve"]
}
}
}
That's it! No compilation, no setup, no auth tokens.
Step 2: Try It
Ask Claude/Cursor:
"Use DcisionAI to optimize my retail store layout:
20 products across 5 shelves, maximize revenue and customer flow."
Get back:
- โ Optimal product placement
- โ 90% trust score with mathematical proof
- โ Business interpretation
- โ Constraint verification
- โ Sensitivity analysis
๐ What Can It Solve?
๐ Finance
- Portfolio Optimization - Rebalance $500k portfolio, reduce concentration risk
- Trading Schedule - Optimize execution timing to minimize market impact
- Asset Allocation - Balance risk/return across sectors
๐ช Retail
- Store Layout - Optimize shelf space for 20+ products
- Promotion Scheduling - Maximize revenue with budget constraints
- Inventory Placement - Minimize stockouts & overstock
๐ Logistics
- Vehicle Routing - Minimize travel time for 10+ delivery stops
- Warehouse Layout - Optimize picking paths
- Job Shop Scheduling - Sequence 15 jobs across 5 machines
๐ท Workforce
- Shift Scheduling - Assign 20 workers to 40 shifts
- Maintenance Scheduling - Minimize downtime across 10 assets
- Skill Matching - Optimal worker-task assignment
๐ง Environment Variables
Required in your IDE's MCP config:
# LLM APIs (required)
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
# Supabase (required - stores domain configs)
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_KEY=eyJ...
# Optional: External data (for real-world augmentation)
POLYGON_API_KEY=... # Market data
ALPHA_VANTAGE_API_KEY=... # Economic data
๐ Trust & Validation
Every solution includes:
1. Mathematical Proof Suite (5 proofs)
- Constraint Verification - All business rules satisfied?
- Monte Carlo Simulation - 1000 scenarios, how stable?
- Optimality Certificate - How close to theoretical best?
- Sensitivity Analysis - What if inputs change ยฑ20%?
- Benchmark Comparison - Beats naive baseline by X%?
2. Dual Solver Validation
- DAME (heuristic) - Fast, handles any problem
- HiGHS (exact) - Slow, LP/MIP only, mathematically optimal
- Cross-validation - Compare results, boost trust to 95%+
3. Business Interpretation
- Plain language explanation
- Implementation steps
- Risks & assumptions
- What-if scenarios
๐ก Example Interaction
You ask:
"I have 50 products to place on 8 store shelves.
Products have different profit margins and sales rates.
Dairy needs refrigeration. High-value items need security.
How should I arrange them?"
DcisionAI returns:
โ
Status: SUCCESS
๐ Industry: RETAIL
๐ฏ Domain: Store Layout Optimization
โญ Trust Score: 92% (VERIFIED)
๐ Certification: VERIFIED
๐ Objective Value: 0.423 (42.3% improvement vs. baseline)
๐ผ Business Interpretation:
"Strategic product placement optimizes for revenue and customer
flow. High-margin products positioned in prime visibility zones.
Refrigerated items grouped for efficiency..."
๐ Mathematical Proof:
โ
All 8 constraints satisfied
โ
Monte Carlo: 1000 scenarios, 95% confidence
โ
Optimality: Within 4.2% of theoretical best
โ
Sensitivity: Stable under ยฑ20% demand changes
โ
Benchmark: 42% better than random placement
๐ ๏ธ Implementation Steps:
1. Reorganize shelf 1-3 (high-traffic zone)
2. Group dairy in refrigerated section
3. Position security items near checkout
4. Monitor sales for 30 days and adjust
๐๏ธ Architecture
User Question
โ
LLM Extraction (GPT-4/Claude)
โ
Domain Classification (11 domains)
โ
Data Augmentation (synthetic + external APIs)
โ
Parallel Solving
โโ DAME (heuristic, 100 generations)
โโ HiGHS (exact, LP/MIP)
โ
Cross-Validation
โ
Proof Generation (5 proofs)
โ
Business Interpretation (LLM)
โ
Structured Response (JSON)
๐ Supported Domains
| Domain | Description | Example |
|---|---|---|
| Portfolio | Asset allocation, risk balancing | "Optimize $500k portfolio" |
| Retail Layout | Shelf space allocation | "Place 20 products on 5 shelves" |
| VRP | Vehicle routing, delivery optimization | "Route 3 trucks to 15 stops" |
| Job Shop | Production scheduling | "Schedule 10 jobs on 4 machines" |
| Workforce | Shift assignment, rostering | "Assign 15 workers to 40 shifts" |
| Maintenance | Asset maintenance scheduling | "Schedule maintenance for 8 machines" |
| Promotion | Marketing campaign optimization | "Allocate $50k ad budget" |
| Trading | Trade execution optimization | "Minimize market impact of large order" |
| Customer Onboarding | Wealth management | "Onboard new client with $2M" |
| PE Exit Timing | Private equity exits | "Optimize exit timing for 5 holdings" |
| HF Rebalancing | Hedge fund portfolio adjustments | "Rebalance multi-strategy fund" |
๐ฌ Technology Stack
- DAME - Proprietary evolutionary algorithm (see research paper)
- HiGHS - Open-source LP/MIP solver from Edinburgh
- FastMCP - Model Context Protocol implementation
- Anthropic Claude - LLM for extraction & interpretation
- OpenAI GPT-4 - Fallback LLM
- Supabase - Domain config storage
๐ Documentation
- Research Paper: DcisionAI.pdf
- GitHub: dcisionai/dcisionai-mcp-platform
- Issues: Report a bug
๐ ๏ธ Development
Local Testing
# Clone the repo
git clone https://github.com/dcisionai/dcisionai-mcp-platform.git
cd dcisionai-mcp-platform/dcisionai/fastapi-server
# Install dependencies
pip install -e .
# Run locally
python -m dcisionai_mcp_server.server
Contributing
We welcome contributions! See CONTRIBUTING.md.
๐ License
MIT License - see LICENSE
๐ค Support
- Email: amey@dcisionai.com
- GitHub Issues: Report a bug
- Docs: Full documentation
๐ Credits
Built by Amey Dhavle
Powered by:
- FastMCP
- HiGHS Solver
- Anthropic Claude
- OpenAI GPT-4
- Supabase
โญ Star us on GitHub if DcisionAI helps your business!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dcisionai_mcp_server-3.0.0.tar.gz.
File metadata
- Download URL: dcisionai_mcp_server-3.0.0.tar.gz
- Upload date:
- Size: 464.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbb0b91c0b0c243915db1d22fb4e880d22f9eaa1dbc53088d6c04e8551f1e338
|
|
| MD5 |
82fa794474fcb5b6ddfd188a26669848
|
|
| BLAKE2b-256 |
413f43f69a41d0187332bb986d5f8b361f08e92c6e4c614e8efb61ac5400cf2d
|
File details
Details for the file dcisionai_mcp_server-3.0.0-py3-none-any.whl.
File metadata
- Download URL: dcisionai_mcp_server-3.0.0-py3-none-any.whl
- Upload date:
- Size: 560.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60b52d0077e30d36f8cdcbde0c90cb12437c8c21cc2ce031b79385b213a99f2c
|
|
| MD5 |
fc7fa3a50d7f4ba1de5deff5e2ff4162
|
|
| BLAKE2b-256 |
8fcf01ae2c88f7182e113ba414a2077ce7fcb94b45da4733267c9d6c580170ec
|