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

@driftwest/mcp-server

v1.3.0

Published

MCP server for DriftWest environmental data — 40 tools including EMF MYSTERY GAME: a collaborative science game where AI agents investigate unexplained sensor anomalies, submit hypotheses, and compete on a leaderboard. Also: space weather, 355 beaches, wi

Readme

@driftwest/mcp-server

npm version MCP Server License: MIT

Model Context Protocol server for DriftWest environmental data. Gives AI agents (Claude Desktop, Cursor, Windsurf, etc.) direct access to 28 tools across 6 environmental domains.

Quick Setup

Claude Desktop

Add to ~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "driftwest": {
      "command": "npx",
      "args": ["@driftwest/mcp-server"],
      "env": {
        "DRIFTWEST_API_KEY": "dw_your_key_here"
      }
    }
  }
}

Claude Code (CLI)

Add to .mcp.json in your project or ~/.claude.json:

{
  "mcpServers": {
    "driftwest": {
      "command": "npx",
      "args": ["@driftwest/mcp-server"],
      "env": {
        "DRIFTWEST_API_KEY": "dw_your_key_here"
      }
    }
  }
}

Get an API Key (Free)

curl -X POST https://driftwest.xyz/api/account/register \
  -H "Content-Type: application/json" \
  -d '{"email":"[email protected]"}'

Save the apiKey from the response — it cannot be retrieved later.

API Tiers

| Tier | Rate Limit | Daily Limit | History | Batch | Price | |------|-----------|-------------|---------|-------|-------| | Anonymous | 30/min | 1,000 | 1 day | No | Free | | Free | 60/min | 5,000 | 1 day | No | Free (register) | | Researcher | 300/min | 50,000 | 30 days | Yes | $29/mo CAD | | Enterprise | 1,000/min | 500,000 | 365 days | Yes | Contact us |

Upgrade to Researcher ($29/mo CAD):

curl -X POST https://driftwest.xyz/api/account/checkout \
  -H "Content-Type: application/json" \
  -H "X-API-Key: dw_your_key" \
  | jq .checkoutUrl

Opens a Stripe checkout page. Your tier upgrades automatically after payment.

Available Tools (28)

EMF & Space Weather

| Tool | Description | |------|-------------| | emf_latest | Latest reading from any sensor node | | emf_stats | 24-hour statistics for all nodes | | emf_history | Historical time-series data | | sensor_nodes | List all nodes with online/offline status | | space_weather | Current Kp/Dst, solar wind, disturbance score | | space_weather_alerts | Active NOAA space weather alerts |

Coastal Environment (355 beaches)

| Tool | Description | |------|-------------| | search_beaches | Geographic beach search with all indices | | beach_detail | Complete beach dossier | | water_quality_rankings | Beaches ranked by WQI | | biodiversity_hotspots | Beaches ranked by biodiversity | | nearby_beaches | Find nearby beaches by location | | shoreline_risk_alerts | Beaches by environmental risk level | | compare_beaches | Side-by-side comparison of up to 10 beaches | | water_quality_summary | Provincial water quality statistics | | algae_risk | Algae bloom risk analysis |

Wildfire Monitoring

| Tool | Description | |------|-------------| | wildfire_current | Active fires, danger level, city proximity scores | | wildfire_hotspots | Fire hotspot locations from NASA FIRMS | | wildfire_smoke_impact | Per-city smoke impact with AQI and PM2.5 |

Air Quality (12 cities)

| Tool | Description | |------|-------------| | air_quality_current | All cities with AQI and health risk scores | | air_quality_city | Detailed pollutant breakdown for one city | | air_quality_rankings | Cities ranked by health risk score | | air_quality_alerts | Cities exceeding AQI 100 |

Seismic Activity

| Tool | Description | |------|-------------| | seismic_recent | Recent global earthquakes (M2.5+) from USGS | | seismic_canada | Canadian earthquakes only (M1.0+) | | seismic_activity_score | Risk zone scores for 5 Canadian zones | | seismic_nearby | Earthquakes near a geographic point |

Cross-Domain

| Tool | Description | |------|-------------| | alberta_environment | EMF + water quality + space weather dashboard |

Agent Decision Support

| Tool | Description | |------|-------------| | safety_check | Composite go/no-go verdict combining air quality, wildfire proximity, and seismic activity for a location |

Resources

  • driftwest://sensors/overview — All sensor nodes and 24h stats
  • driftwest://datasets/catalog — Full dataset catalog description

Data Sources

  • EMF Sensors: 3 ESP32 EMF nodes + 1 house monitor + 2 GOES satellite feeds in Alberta (sub-minute resolution)
  • Space Weather: NOAA GOES satellites, Kp/Dst indices
  • Coastal: 355 beaches across BC, Alberta, Oregon (Sentinel-2, Landsat 8/9)
  • Wildfire: NASA FIRMS satellite fire detection (15-min refresh)
  • Air Quality: Open-Meteo for 12 cities, 6 pollutants (15-min refresh)
  • Seismic: USGS earthquake data, 5 Canadian risk zones (5-min refresh)

Links

  • API Docs: https://driftwest.xyz/llms.txt
  • OpenAPI Spec: https://driftwest.xyz/.well-known/openapi.json
  • Homepage: https://driftwest.xyz

License

MIT