# Sleep Hygiene Score AI Agent Connect

> Sleep Hygiene Score MCP uses the Sleep Hygiene Index methodology to evaluate how your environment and daily habits affect your rest. Your AI client can use this tool to calculate total scores, analyze physical surroundings, and determine how caffeine or alcohol impacts your sleep maintenance.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Ta51QB8nzFbOv8jPNOku8UEnxUHPy7Anx5ZXPuy7/ai-agent-connect
- **Tags:** sleep, health, wellness, hygiene, scoring

## Description

You can use this MCP to turn vague feelings about being tired into actionable data. Instead of guessing why you woke up at 3 AM, your agent can run a scientific analysis of your sleep hygiene. It uses the Sleep Hygiene Index to look at the specific variables that dictate rest quality. You can have your AI client evaluate your bedroom setup, check how much your evening coffee is actually hurting you, or get a full breakdown of your sleep habits. It's a way to give your agent the context it needs to provide real wellness advice based on your actual environment and behavior.

## Tools

### get_substance_impact_profile
This tool analyzes how the timing and amount of substances like caffeine or alcohol affect your ability to stay asleep.

### evaluate_environment_quality
Your agent uses this to perform a deep dive into your physical sleep setting, such as light and noise levels.

### calculate_sleep_hygiene_score
This tool computes your full sleep hygiene profile, providing a total score and specific category breakdowns.

### get_hygiene_item_definitions
Use this to pull the specific descriptions and classifications for every item in the hygiene questionnaire.

## Prompt Examples

**Prompt:** 
```
Calculate my sleep hygiene score based on these responses: {"light_level": "suboptimal", "caffeine_intake": "poor", "bedtime_consistency": "optimal"}
```

**Response:** 
```
Your total sleep hygiene score is 65 (Fair). Your habits are excellent, but your caffeine intake and light levels are suboptimal. We recommend reducing caffeine consumption in the afternoon and ensuring your room is dark for better sleep.
```

**Prompt:** 
```
Analyze my sleep environment: {"noise_level": "high", "temperature": "optimal", "light_level": "optimal"}
```

**Response:** 
```
Your environment score is 40. The primary disruptor is high noise levels. We recommend using white noise or earplugs to mitigate this interference.
```

**Prompt:** 
```
What is the impact of my alcohol consumption on sleep?
```

**Response:** 
```
Your substance impact level is High. It is estimated that you need a 4-hour recovery window after your last drink to return to baseline sleep quality.
```

## Capabilities

### Scoring and Advice
Your agent calculates a total score and provides prioritized wellness recommendations.

### Environmental Analysis
The AI evaluates physical factors like noise and light in your sleeping area.

### Substance Tracking
Your agent determines how caffeine, alcohol, or nicotine affects sleep maintenance.

### Questionnaire Definitions
The AI accesses specific domain classifications for all hygiene items.

## Use Cases

### Environment Audits
Have your agent check if your room temperature or light levels are ruining your rest.

### Substance Impact Checks
Use the tool to see how much of a recovery window you need after consuming alcohol.

### Daily Habit Tracking
Feed your daily habits into the agent to get a consistent hygiene score.

### Wellness Planning
Get a breakdown of category scores to decide which habit to fix first.

## Benefits

- Provides scientific scoring based on the Sleep Hygiene Index.
- Identifies specific environmental disruptors like noise or light.
- Quantifies the impact of substances on sleep maintenance.
- Delivers prioritized recommendations based on your unique profile.

## How It Works

Connect the MCP to your client and start feeding it your sleep data.

1. Connect the MCP to Claude, Cursor, or your preferred client via Vinkius.
2. Provide your sleep environment or habit data to your agent.
3. The agent calls the relevant tools to process the data.
4. You receive a detailed score and specific improvement steps.

## Frequently Asked Questions

**What methodology does this MCP use?**
This MCP uses the Sleep Hygiene Index methodology to evaluate sleep quality.

**Which AI clients can I use with this?**
You can use this with Claude Desktop, Cursor, Windsurf, VS Code, or any other MCP-compatible client.

**Can it analyze my caffeine intake?**
Yes, the get_substance_impact_profile tool analyzes how the timing and quantity of caffeine affects your sleep.

**Does it provide specific advice?**
Yes, the calculate_sleep_hygiene_score tool provides a total score along with prioritized wellness recommendations.

**How does it handle environmental data?**
The evaluate_environment_quality tool analyzes physical factors like noise and light levels in your sleep setting.
