io.github.kambleaa007/weather

编码与调试

by kambleaa007

提供 weather information 的 MCP server,便于查询天气相关数据与基础气象信息。

什么是 io.github.kambleaa007/weather

提供 weather information 的 MCP server,便于查询天气相关数据与基础气象信息。

README

GrappleAI - Active Defense Layer for Consumers

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

🚀 Quick Start

Get up and running in 5 minutes:

bash
# Frontend
cd app && npm install && npm run dev

# Backend (separate terminal)
cd backend && npm install && npm run cdk:deploy

See QUICKSTART.md for detailed instructions.

📚 Documentation

Getting Started

Methodology & Vision

Component Documentation

🏗️ Architecture

code
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 Negotiations

✨ Features

  • Dispute Management - Create, track, and manage disputes
  • Evidence Verification - Automatic confidence scoring and secure storage
  • Autonomous Negotiation - AI-driven negotiation with sellers
  • Consumer Rights - Consumer Protection Act 2019 integration
  • Dashboard Analytics - Real-time dispute statistics
  • Multi-language Support - Vernacular interface support

🛠️ Tech Stack

Frontend

  • React 18 + TypeScript
  • Vite (build tool)
  • Tailwind CSS (styling)
  • Zustand (state management)
  • React Router (navigation)

Backend

  • AWS CDK (infrastructure as code)
  • AWS Lambda (serverless compute)
  • AWS API Gateway (REST API)
  • AWS DynamoDB (database)
  • AWS S3 (storage)
  • Node.js 20.x

📁 Project Structure

code
grappleai/
├── 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 file

🚀 Getting Started

Prerequisites

  • Node.js 18+
  • AWS Account
  • AWS CLI configured

Frontend Setup

bash
cd app
npm install
npm run dev

Visit: http://localhost:5173

Backend Setup

bash
cd backend
npm install
npm run cdk:deploy

Connect Frontend to Backend

Update app/.env.local:

code
VITE_API_URL=https://your-api-endpoint.com/api

📖 API Endpoints

Disputes

  • POST /disputes - Create dispute
  • GET /disputes - List disputes
  • GET /disputes/{id} - Get dispute details
  • PUT /disputes/{id} - Update dispute

Evidence

  • POST /evidence/upload - Upload evidence
  • GET /evidence/{id} - Get evidence
  • POST /evidence/{id}/verify - Verify evidence

Negotiation

  • POST /negotiation/initiate - Start negotiation
  • GET /negotiation/{txId} - Get status

🔧 MCP Server Tools

The backend implements these MCP tools:

  1. secureEvidence - Clutch evidence securely with confidence scoring
  2. negotiateRefund - Initiate autonomous negotiation
  3. generateDisputeNotice - Generate formal dispute notice
  4. verifyConsumerRights - Verify Consumer Protection Act rights

📊 Dashboard Features

  • Statistics - Total disputes, resolved, in-progress, success rate
  • Dispute List - View all disputes with status indicators
  • Create Dispute - File new disputes with evidence
  • Real-time Updates - Track dispute progress

🔐 Security

  • JWT/OAuth2 ready
  • Input validation
  • IAM roles with least privilege
  • Encryption at rest and in transit
  • CORS enabled
  • API rate limiting ready

📈 Performance

  • Frontend: ~50KB gzipped
  • Lambda: 512MB memory, 30s timeout
  • DynamoDB: On-demand billing
  • API: <100ms response time

💰 Cost Estimation

Monthly (small-medium usage):

  • Lambda: $0.20 per 1M requests
  • DynamoDB: $1.25 per 100 write units
  • S3: $0.023 per GB
  • API Gateway: $3.50 per 1M requests
  • Total: ~$50-200/month

🧪 Development

Frontend Commands

bash
npm run dev          # Start dev server
npm run build        # Build for production
npm run lint         # Run linter
npm run type-check   # Check types

Backend Commands

bash
npm run build        # Compile TypeScript
npm run cdk:deploy   # Deploy to AWS
npm run cdk:destroy  # Destroy stack
npm run cdk:diff     # Preview changes

🚢 Deployment

Frontend

  • Vercel: vercel deploy
  • Netlify: netlify deploy --prod --dir=dist
  • AWS S3: aws s3 sync dist/ s3://bucket/

Backend

bash
cd backend
npm run cdk:deploy

📚 Learn More

🤝 Contributing

  1. Create feature branch
  2. Make changes
  3. Run linter and type-check
  4. Submit PR

📄 License

MIT

🎯 Vision

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.

常见问题

io.github.kambleaa007/weather 是什么?

提供 weather information 的 MCP server,便于查询天气相关数据与基础气象信息。

相关 Skills

前端设计

by anthropics

Universal
热门

面向组件、页面、海报和 Web 应用开发,按鲜明视觉方向生成可直接落地的前端代码与高质感 UI,适合做 landing page、Dashboard 或美化现有界面,避开千篇一律的 AI 审美。

想把页面做得既能上线又有设计感,就用前端设计:组件到整站都能产出,难得的是能避开千篇一律的 AI 味。

编码与调试
未扫描165.9k

网页应用测试

by anthropics

Universal
热门

用 Playwright 为本地 Web 应用编写自动化测试,支持启动开发服务器、校验前端交互、排查 UI 异常、抓取截图与浏览器日志,适合调试动态页面和回归验证。

借助 Playwright 一站式验证本地 Web 应用前端功能,调 UI 时还能同步查看日志和截图,定位问题更快。

编码与调试
未扫描165.9k

网页构建器

by anthropics

Universal
热门

面向复杂 claude.ai HTML artifact 开发,快速初始化 React + Tailwind CSS + shadcn/ui 项目并打包为单文件 HTML,适合需要状态管理、路由或多组件交互的页面。

在 claude.ai 里做复杂网页 Artifact 很省心,多组件、状态和路由都能顺手搭起来,React、Tailwind 与 shadcn/ui 组合效率高、成品也更精致。

编码与调试
未扫描165.9k

相关 MCP Server

GitHub

编辑精选

by GitHub

热门

GitHub 是 MCP 官方参考服务器,让 Claude 直接读写你的代码仓库和 Issues。

这个参考服务器解决了开发者想让 AI 安全访问 GitHub 数据的问题,适合需要自动化代码审查或 Issue 管理的团队。但注意它只是参考实现,生产环境得自己加固安全。

编码与调试
89.1k

by Context7

热门

Context7 是实时拉取最新文档和代码示例的智能助手,让你告别过时资料。

它能解决开发者查找文档时信息滞后的问题,特别适合快速上手新库或跟进更新。不过,依赖外部源可能导致偶尔的数据延迟,建议结合官方文档使用。

编码与调试
60.0k

by tldraw

热门

tldraw 是让 AI 助手直接在无限画布上绘图和协作的 MCP 服务器。

这解决了 AI 只能输出文本、无法视觉化协作的痛点——想象让 Claude 帮你画流程图或白板讨论。最适合需要快速原型设计或头脑风暴的开发者。不过,目前它只是个基础连接器,你得自己搭建画布应用才能发挥全部潜力。

编码与调试
49.6k

评论