SubTrack & ElderGuard MCP Server
Provides Alexa+ agent skills for scam analysis and subscription defense, using Amazon Bedrock for cloud threat reasoning.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π‘οΈ SubTrack & ElderGuard MCP Server
Autonomous Phishing Protection & Hidden Subscription Defense for Vulnerable Families over Streamable HTTP on Alexa+
π Hackathon Tracks & Challenges Entered
Track / Challenge | Status | Implementation Details |
Alexa+ Track | Primary Entry | Self-hosted Model Context Protocol (MCP) Server implementing the official 2025-11-25+ Streamable HTTP transport specification via |
AWS Builder Mini-Challenge | Completed | Production-ready Amazon Bedrock integration ( |
Open Source Mini-Challenge | Completed | Fully open-sourced under permissive MIT License with zero proprietary lock-in. |
π₯ Hackathon Reviewer Note: As specified in the submission guidelines, the following Amazon & Hackathon collaborator usernames have been invited to this repository:
knmeiss
giolaq
anishamalde
mosesroth
emersonsklar
Related MCP server: Northbridge Home Ops
π‘ The Problem
Every year, older adults lose over $3.4 Billion to text and email scams:
Urgent Smishing & Imposter Traps: Fraudsters send texts impersonating banks (Chase, Wells Fargo), parcel services (USPS, FedEx), or distressed grandchildren claiming an emergency wire or gift cards are required.
Hidden "Free Trial" Auto-Renewal Traps: Deceptive health and memory apps lure seniors with a "7-day free trial" and quietly begin recurring charges of $29.99 to $49.99 weekly or monthly, draining fixed incomes.
Cognitive Overload: When seniors feel uncertain about a text or charge, calling family members often causes anxiety. Asking Alexa naturally in their living room is the most accessible, dignified line of defense.
π The Solution: SubTrack & ElderGuard
SubTrack & ElderGuard is an open-standard MCP server that equips Alexa+ with active financial and digital defense agent skills:
ScamShield Agent Skill (
analyze_suspicious_message):High-precision heuristic scanner inspecting URLs for homoglyphs, typosquatting, raw IP addresses, and high-risk TLDs (
.xyz,.top,.cc).Deep reasoning via Amazon Bedrock Claude 3 evaluating conversational intent, coercive urgency, and payment extortion.
Synthesizes warm, clear voice advice tailored for older adults without technical jargon.
SubTrack Agent Skill (
get_active_subscriptions):Maintains real-time tracking of family subscriptions, recurring costs, and free trials.
Calculates monthly household run rates and explicitly flags expiring trial dates (e.g., "Your BrainGym trial auto-renews in 2 days for $29.99").
Auto-Renewal Alert Blocker (
cancel_subscription_alert):Allows users to speak directly to Alexa: "Alexa, cancel the BrainGym trial auto-renewal".
Executes auto-renewal block tokens and calculates immediate monthly budget savings.
Interactive Local Web Simulator (Subly & Lumio Inspired Design):
High-end financial and safety interface at
http://localhost:3000incorporating design patterns from Subly and Lumio:Atmospheric teal gradient hero with Subly sky-blue AI savings card and floating 3D stars.
Subly 7-day spend chart with diagonal crosshatch active bar and floating tooltip.
Segmented radial arch health gauge (
74/100) and Lumio diagonal hatch progress bars.Echo Show 15 smart display simulation with pulsing Alexa voice orb and speech synthesis.
Subly 3-step senior safety playbook with 1-click actions and toast feedback.
Live MCP Streamable HTTP protocol inspector (
POST /mcp) compliant with Spec 2025-11-25+.
ποΈ System Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ALEXA+ / ECHO VOICE ASSISTANT β
β "Alexa, check if this text about a Chase wire transfer is a scam." β
ββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β
HTTP POST /mcp (Streamable HTTP)
JSON-RPC 2.0 (Spec 2025-11-25+)
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SUBTRACK & ELDERGUARD MCP SERVER (EXPRESS) β
β β
β βββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββ β
β β Streamable HTTP β β McpServer ("subtrack-elderguard-mcp") β β
β β Transport Handler ββββ β’ analyze_suspicious_message β β
β β (stateless/stateful) β β β’ get_active_subscriptions β β
β β β β β’ cancel_subscription_alert β β
β βββββββββββββββββββββββββ ββββββββββββββββββββββββ¬ββββββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββ
βΌ βΌ
βββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββ
β SCAMSHIELD ENGINE β β SUBTRACK ENGINE β
β β’ Typosquatting / Homoglyphs β β β’ Household Sub Registry β
β β’ Domain Reputation & IPs β β β’ Trial Countdown Monitor β
β β’ Urgency & Extortion Rules β β β’ Spend & Savings Analytics β
β β’ Amazon Bedrock Claude 3 β β β’ Auto-Renew Block Tokenizer β
ββββββββββββββββ¬βββββββββββββββββ βββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββ
β AMAZON BEDROCK β
β @aws-sdk/client-bedrock- β
β runtime (Claude 3 Haiku) β
βββββββββββββββββββββββββββββββββπ οΈ MCP Tools Exposed (Agent Skills)
1. analyze_suspicious_message
Description: Analyzes incoming SMS, email, or transcribed voice messages for phishing, imposter scams, spoofed links, and elderly financial fraud using ScamShield heuristics and Amazon Bedrock.
Input Schema:
{ "type": "object", "properties": { "messageText": { "type": "string", "description": "The SMS, email body, or voice transcript text from an unknown sender to analyze." } }, "required": ["messageText"] }Sample Output:
{ "verdict": "DANGEROUS_SCAM", "threatRiskScore": 92, "threatCategory": "Bank Phishing / Institutional Impersonation", "signals": [ { "category": "URL_SPOOF", "severity": "HIGH", "description": "Suspicious destination URL detected matching phishing heuristics: chase-alert-login.cc" }, { "category": "URGENCY", "severity": "MEDIUM", "description": "Manufactured high-pressure urgency trigger: 'within 24 hours'" } ], "alexaVoiceSummary": "Warning. This message is almost certainly a scam attempting to steal your personal information or money. Please do not click any links, do not reply, and do not send gift cards or cash. I have flagged this sender for safety.", "actionRecommendations": [ "Do not click any links or download attachments.", "Call the number on the back of your physical bank card." ] }
2. get_active_subscriptions
Description: Retrieves active household subscriptions, calculates total monthly spend, and detects expiring free trials that will auto-renew without warning.
Input Schema:
{ "type": "object", "properties": { "timeframeDays": { "type": "number", "default": 7, "description": "Number of days ahead to look for expiring free trials (default: 7)." } } }
3. cancel_subscription_alert
Description: Flags and blocks auto-renewal for a specified subscription or trial to avoid unwanted recurring charges for elderly family members.
Input Schema:
{ "type": "object", "properties": { "subscriptionId": { "type": "string", "description": "The unique ID or name of the subscription to block (e.g. 'sub-bg-101' or 'BrainGym Memory Pro')." } }, "required": ["subscriptionId"] }
4. list_active_subscriptions
Description: Lists down every active subscription with its name, monthly price, and total household spend. Triggered when user asks: "Alexa, tell me which active subscriptions I have and list them down."
Input Schema:
{ "type": "object", "properties": {} }
5. get_cancellation_reminders
Description: Provides proactive warnings and reminders about expiring free trials and subscriptions that must be cancelled before getting charged. Triggered when user asks: "Alexa, remind me which subscription I have to cancel before getting charged."
Input Schema:
{ "type": "object", "properties": { "timeframeDays": { "type": "number", "default": 7, "description": "Number of days ahead to look for upcoming charges and trial expirations (default: 7)." } } }
β‘ Quickstart Guide
Prerequisites
Node.js
v18.0.0or later (tested on Nodev23.11.0)npm
v9.0.0or later
1. Clone & Install
git clone https://github.com/Tejal-Bhavsar/subtrack-elderguard-mcp.git
cd subtrack-elderguard-mcp
npm install2. Configure Environment (Optional)
Copy .env.example to .env:
cp .env.example .env(Note: If AWS credentials are not configured, the server automatically uses the built-in Intelligent Neural Guard Heuristic Engine, guaranteeing 100% offline functionality without configuration!)
3. Run Locally
npm run devThe server will start at:
Interactive Web Simulator: http://localhost:3000
MCP Streamable HTTP Endpoint:
http://localhost:3000/mcpServer Health Check: http://localhost:3000/health
π§ͺ Testing the Streamable HTTP Transport Directly
You can test the MCP endpoint with standard JSON-RPC 2.0 requests:
List Tools via cURL
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"params": {}
}'Call ScamShield via cURL
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "analyze_suspicious_message",
"arguments": {
"messageText": "Urgent: Your Chase card is locked. Verify at http://chase-security-login.xyz within 24 hours."
}
}
}'π Project Structure
subtrack-elderguard-mcp/
βββ package.json # Dependencies & build scripts
βββ tsconfig.json # TypeScript ES2022 / NodeNext config
βββ LICENSE # MIT Open Source License
βββ .gitignore # Standard exclusions
βββ .env.example # Environment template
βββ README.md # Main submission & architectural overview
βββ FRICTION_LOG.md # Required 10% Judging Bonus friction log
βββ FEEDBACK.md # Product & onboarding feedback
βββ VIDEO_SCRIPT.md # 2:30 YouTube demo video script
βββ src/
βββ index.ts # Express entry point & Streamable HTTP /mcp router
βββ mcp/
β βββ server.ts # McpServer registration & Zod tool definitions
β βββ scamShieldTool.ts # Heuristic & Bedrock Scam Detection Engine
β βββ subTrackTool.ts # Subscription & Trial Tracking Engine
βββ aws/
β βββ bedrockScanner.ts # AWS Bedrock runtime client & fallback
βββ public/
βββ index.html # Interactive Web Simulator & visualizerπ Submission Documents
FRICTION_LOG.md β 3 in-depth engineering logs analyzing Streamable HTTP headers, Zod registration, and AWS Bedrock streaming.
FEEDBACK.md β Product feedback on
@modelcontextprotocol/sdkand developer onboarding.
π License
This project is licensed under the MIT License. Open source for the community and for protecting vulnerable individuals everywhere.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Track, analyze, and act on your streaming and SaaS subscriptions from any AI agent.
Let AI agents securely read the text messages on your phone.
Give AI agents a phone layer for consent-based calls, transcripts, summaries, and outcomes.
Read-only access to your own bank, card and brokerage accounts for Claude, ChatGPT and other AI agents: balances, transactions, spending, subscriptions, cashflow and investment holdings. It can never move money.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables an Alexa+-style voice agent to watch recurring payments and propose renew/deactivate/cancel recommendations without ever being able to move money itself.MIT
- AlicenseNot gradedqualityCmaintenanceEnables Alexa+ to manage household admin tasks: checking upcoming bills, verifying funding, detecting anomalies, auto-handling routine payments, and escalating only when a human decision is required.1Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables Alexa+ and other MCP-capable assistants to voice-check suspicious messages, links, and phone numbers, with guided call interviews, official-source verification, and plain-language scam briefings.MIT
- AlicenseNot gradedqualityBmaintenanceEnables an Alexa+ assistant to name scam warning signs drawn from FTC and FBI alerts, verify a story by texting a family member's pre-saved number, and surface official report links and guidance. It exposes tools and MCP Apps views for checking a suspicious call, while never approving payments, contacting the caller, or collecting sensitive numbers.MIT