npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-dyson-appliances

v1.0.0

Published

MCP server for controlling Dyson air purifiers and fans

Readme

mcp-dyson-appliances

An MCP (Model Context Protocol) server for controlling Dyson air purifiers and fans.

Features

  • get_device_status - Get current device state (power, fan speed, oscillation, night mode, air quality)
  • set_fan_speed - Set fan speed (1-10 or auto)
  • set_oscillation - Enable/disable oscillation
  • get_air_quality - Get detailed air quality readings (PM2.5, PM10, VOC, NO2, humidity, temperature)
  • set_night_mode - Enable/disable night mode

Prerequisites

  • Node.js 18+
  • Dyson account with registered devices
  • Dyson devices connected to your network

Supported Devices

  • Pure Cool Link (Tower & Desk)
  • Pure Cool
  • Pure Hot+Cool
  • Pure Hot+Cool Link
  • Pure Humidify+Cool
  • Pure Cool Formaldehyde

Installation

From npm (Recommended)

npx mcp-dyson-appliances

From Source

git clone https://github.com/m2ai-mcp-servers/mcp-dyson-appliances.git
cd mcp-dyson-appliances
npm install
npm run build

Configuration

Environment Variables

export [email protected]
export DYSON_PASSWORD=your-password
export DYSON_COUNTRY=US  # Optional, defaults to US

Supported Country Codes

  • US - United States
  • GB - United Kingdom
  • DE - Germany
  • FR - France
  • AU - Australia
  • CN - China

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "dyson": {
      "command": "npx",
      "args": ["-y", "mcp-dyson-appliances"],
      "env": {
        "DYSON_EMAIL": "[email protected]",
        "DYSON_PASSWORD": "your-password",
        "DYSON_COUNTRY": "US"
      }
    }
  }
}

Usage Examples

Get device status

get_device_status

Returns:

{
  "device": {
    "serial": "ABC-XX-XXXXXXXX",
    "name": "Living Room"
  },
  "state": {
    "power": "on",
    "fanSpeed": "5",
    "oscillation": "on",
    "nightMode": "off",
    "autoMode": "off"
  },
  "airQuality": {
    "pm25": 8,
    "pm10": 12,
    "voc": 2,
    "no2": 1,
    "humidity": "45%",
    "temperature": "22.5°C",
    "level": "Good"
  }
}

Set fan speed

set_fan_speed speed="5"
set_fan_speed speed="auto"
set_fan_speed device_id="ABC-XX-XXXXXXXX" speed="10"

Set oscillation

set_oscillation enabled=true
set_oscillation device_id="ABC-XX-XXXXXXXX" enabled=false

Get air quality

get_air_quality

Returns:

{
  "pm25": {
    "value": 8,
    "unit": "µg/m³",
    "level": "Good"
  },
  "pm10": {
    "value": 12,
    "unit": "µg/m³"
  },
  "voc": {
    "value": 2,
    "unit": "index",
    "description": "Low"
  },
  "no2": {
    "value": 1,
    "unit": "index",
    "description": "Low"
  },
  "humidity": {
    "value": 45,
    "unit": "%",
    "description": "Comfortable"
  },
  "temperature": {
    "celsius": 22.5,
    "fahrenheit": 73
  }
}

Set night mode

set_night_mode enabled=true
set_night_mode device_id="ABC-XX-XXXXXXXX" enabled=false

Air Quality Index (AQI) Levels

Based on PM2.5 readings:

| PM2.5 (µg/m³) | Level | |---------------|-------| | 0-12 | Good | | 13-35 | Moderate | | 36-55 | Unhealthy for Sensitive Groups | | 56-150 | Unhealthy | | 151-250 | Very Unhealthy | | 251+ | Hazardous |

Development

# Watch mode
npm run dev

# Run tests
npm test

# Build
npm run build

Testing

npm test

Troubleshooting

Authentication Failed

  • Verify your Dyson email and password are correct
  • Ensure your account has registered devices
  • Check if your country code is correct

Device Not Found

  • Ensure devices are powered on and connected to WiFi
  • Check if devices appear in the Dyson Link app
  • Try specifying the device serial number directly

Air Quality Not Available

  • Some older devices may not have air quality sensors
  • Ensure the device supports air quality monitoring

Security Notes

  • Credentials are passed via environment variables (never hardcode)
  • The server uses HTTPS for all API communication
  • Consider using a secrets manager in production

License

MIT


Built autonomously by GRIMLOCK - Autonomous MCP Server Factory