An MCP server for weather information.
An AI-driven dispute resolution platform built with React frontend and AWS CDK Lambda backend. GrappleAI advocates for consumers in post-purchase disputes using autonomous agents and the Model Context Protocol (MCP).
Get up and running in 5 minutes:
# Frontend
cd app && npm install && npm run dev
# Backend (separate terminal)
cd backend && npm install && npm run cdk:deploySee QUICKSTART.md for detailed instructions.
React Frontend (Vite)
β HTTP/REST
API Gateway (AWS)
β
Lambda Function (Node.js 20.x)
ββ MCP Server
ββ Request Handler
ββ Business Logic
β
βββββ΄ββββ¬βββββββββ
β β β
DynamoDB S3 DynamoDB
Disputes Evidence Negotiationsgrappleai/
βββ app/ # React frontend
β βββ src/
β β βββ components/ # React components
β β βββ pages/ # Page components
β β βββ services/ # API client
β β βββ store/ # State management
β β βββ types/ # TypeScript types
β βββ package.json
β
βββ backend/ # AWS CDK backend
β βββ lib/
β β βββ cdk/ # CDK stack
β β βββ lambda/ # Lambda handler
β β βββ mcp/ # MCP server
β β βββ types/ # TypeScript types
β βββ package.json
β
βββ SDLC to AIDLC/ # Methodology docs
β βββ AIDLC.md
β βββ SDLC.md
β
βββ AI-DLC/ # AI-DLC documentation
β βββ AI-DLC.md
β
βββ QUICKSTART.md # 5-minute setup
βββ SETUP.md # Complete setup guide
βββ PROJECT_OVERVIEW.md # Architecture overview
βββ README.md # This filecd app
npm install
npm run devVisit: http://localhost:5173
cd backend
npm install
npm run cdk:deployUpdate app/.env.local:
VITE_API_URL=https://your-api-endpoint.com/api
POST /disputes - Create disputeGET /disputes - List disputesGET /disputes/{id} - Get dispute detailsPUT /disputes/{id} - Update disputePOST /evidence/upload - Upload evidenceGET /evidence/{id} - Get evidencePOST /evidence/{id}/verify - Verify evidencePOST /negotiation/initiate - Start negotiationGET /negotiation/{txId} - Get statusThe backend implements these MCP tools:
Monthly (small-medium usage):
npm run dev # Start dev server
npm run build # Build for production
npm run lint # Run linter
npm run type-check # Check typesnpm run build # Compile TypeScript
npm run cdk:deploy # Deploy to AWS
npm run cdk:destroy # Destroy stack
npm run cdk:diff # Preview changesvercel deploynetlify deploy --prod --dir=distaws s3 sync dist/ s3://bucket/cd backend
npm run cdk:deployMIT
GrappleAI is building the trust layer for India's digital economy. By combining AI, law, and technology, we're creating an active advocate for every consumerβensuring that disputes are resolved fairly, quickly, and in the consumer's preferred language.
Ready to build? Start with QUICKSTART.md!
GrappleAI - Active Defense Layer for Consumers Building trust in India's digital economy, one dispute at a time.