NeuroRisk
Integrates with Amazon SageMaker to invoke a deployed XGBoost binary classification endpoint that returns a cognitive-risk probability.
Stores screening results and history as JSON objects in Amazon S3, retrieves past results for progress tracking, and generates pre-signed S3 URLs for uploading training CSV data.
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.
NeuroRisk — Voice Memory Screening on MCP + Amazon SageMaker
Voice-based early cognitive screening for neurodegenerative disease risk, built as a self-hosted MCP server (spec 2025-11-25, Streamable HTTP) with a simulated Alexa+ voice experience and a machine-learning risk model deployed on Amazon SageMaker.
Demo screening trained on synthetic data. Not a medical diagnosis.
What it does
A user opens the web simulator, taps the microphone (or types), and the Alexa+-style voice assistant walks them through an 8-step cognitive screening adapted from validated brief tests:
Age collection
Three-word delayed recall (memory_intro)
Orientation in time (day, month, year)
Forgetting scheduled events (self-report)
Usual location of everyday objects
Misplacing items at home (self-report)
Verbal fluency — name as many animals as possible in 60 seconds
Delayed recall of the three words
The answers are scored and sent to an Amazon SageMaker endpoint that returns a risk probability (0–1). The result, a risk band (low / intermediate / high), and a plain-language message are shown immediately. All results are stored in Amazon S3 so users can track their progress over multiple sessions.
Related MCP server: nirog-mcp
Architecture
Browser (simulator.html)
│ Streamable HTTP (MCP 2025-11-25)
▼
server.py ── FastMCP (mcp[cli])
│
├── boto3 ──► Amazon SageMaker (cognitive-risk endpoint)
│ XGBoost model, binary classification
└── boto3 ──► Amazon S3 (neurorisk-hackathon-henrique-2026)
└── output/history/<user_id>/*.jsonThe simulator is served by the MCP server itself at /, so the browser
and the MCP endpoint share the same origin — no CORS configuration needed.
MCP tools exposed
Tool | Description |
| Returns three random words and the question script |
| Scores all answers, calls SageMaker, saves result to S3 |
| Returns the user's past results for the progress chart |
| Generates a pre-signed S3 URL to upload a training CSV |
AWS services used
Service | Purpose |
Amazon SageMaker | Hosts the XGBoost binary classification endpoint ( |
Amazon S3 | Stores screening history as JSON objects |
Requirements
Python 3.11+
An AWS account with the following resources configured:
SageMaker endpoint — a binary classification model deployed and active (XGBoost recommended). The default expected name is
cognitive-risk, but you can override it.S3 bucket — used to store screening history per user. Create a bucket in the same region as your endpoint.
IAM permissions — your credentials must allow
sagemaker:InvokeEndpoint,s3:PutObject,s3:GetObject, ands3:ListObjectsV2.
AWS credentials configured locally via
aws configureor environment variables.
pip install -r requirements.txtConfiguration
Before running, set the following environment variables to point to your own AWS resources:
Variable | Default | Description |
|
| AWS region where your resources live |
| — | Your AWS access key |
| — | Your AWS secret key |
|
| Your S3 bucket name |
|
| Your SageMaker endpoint name |
|
| Timezone for orientation scoring |
|
| Server bind address ( |
|
| Server port |
You can set them inline, or create a .env file and export them before running.
AWS credentials are also picked up automatically from
~/.aws/credentialsif you have the AWS CLI configured (aws configure).
Running
1. Install dependencies
pip install -r requirements.txt2. Set your AWS environment variables
export AWS_DEFAULT_REGION=us-east-1 # your region
export AWS_ACCESS_KEY_ID=AKIA... # your key
export AWS_SECRET_ACCESS_KEY=... # your secret
export BUCKET=my-bucket-name # your S3 bucket
export ENDPOINT_NAME=my-endpoint-name # your SageMaker endpoint3. Start the server
python server.py4. Open the simulator
Open http://localhost:8000 in Chrome or Edge (speech recognition requires a Chromium-based browser).
The MCP endpoint is available at http://localhost:8000/mcp.
Testing
python test_client.pyRuns a full MCP handshake and calls all four tools against the running server.
Hackathon track
Primary: Alexa+ (self-hosted MCP server, spec 2025-11-25, Streamable HTTP)
Mini challenge: AWS Builder (SageMaker + S3)
License
MIT — see LICENSE.
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
Hosted MCP app for guided anxiety, depression, and well-being self-checks.
A paid remote MCP for AI SDK eval dashboard, built to return verdicts, receipts, usage logs, and aud
Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.
AI-moderated voice interviews with your customers, delivering themes and insights
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables small clinics to manage missed calls, recall reminders, and review requests through a voice-accessible AI agent, drafting outbound messages via Amazon Bedrock.MIT
- AlicenseNot gradedqualityBmaintenanceTurns Alexa+ into a telehealth intake front door: it records symptoms described in a patient's own words, recalls earlier complaints that meant the same thing differently, flags recurrences and red-flag symptoms with triage advice, and reads back care plans by voice.MIT
- AlicenseNot gradedqualityCmaintenanceEnables an older adult to talk with Alexa+ about medicines and daily routine while a caregiver sees a calm, consent-gated dashboard and push alerts only when a genuine pattern (e.g. an unusually late first activity) appears. Includes elicitation-based consent, emergency bypass, resumable SSE streams, and an inline MCP App view.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables older adults to manage their medicines by voice — adding prescriptions, hearing what is due, logging doses and symptoms, and getting refill and adherence reports — with built-in double-dose and emergency safeguards. It also keeps distant family informed through Bedrock-written daily summaries and SMS or email alerts for urgent events.MIT