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

@striderlabs/mcp-hopper

v1.0.0

Published

MCP server for Hopper travel booking with price prediction

Readme

@striderlabs/mcp-hopper

An MCP (Model Context Protocol) server for Hopper — the AI-powered travel booking app with price prediction. This server enables AI assistants to search flights and hotels, get price forecasts, set alerts, and initiate bookings through Hopper's platform.

Features

  • Flight search with real-time pricing and AI price predictions
  • Hotel search with ratings, amenities, and buy/wait recommendations
  • Price forecasting — buy now, wait, or watch recommendations with confidence %
  • Price alerts — get notified when prices hit your target
  • Flight & hotel booking — full booking flow initiation
  • Booking history — view current and past trips

Powered by patchright for stealth browser automation (bypasses bot detection).

Installation

npm install -g @striderlabs/mcp-hopper

Or run directly with npx:

npx @striderlabs/mcp-hopper

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "hopper": {
      "command": "striderlabs-mcp-hopper"
    }
  }
}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Usage with Claude Code

claude mcp add hopper striderlabs-mcp-hopper

Tools

search_flights

Search for available flights with Hopper's price predictions.

origin: "JFK"
destination: "LAX"
departure_date: "2025-06-15"
return_date: "2025-06-22"      # optional, omit for one-way
passengers: 2                  # default: 1
cabin_class: "economy"         # economy | premium_economy | business | first

search_hotels

Search for hotels with ratings, amenities, and price forecasts.

destination: "Paris"
check_in: "2025-06-15"
check_out: "2025-06-22"
guests: 2                      # default: 2
rooms: 1                       # default: 1
min_price: 100                 # optional USD filter
max_price: 300                 # optional USD filter

get_price_forecast

Get Hopper's AI buy/wait/watch recommendation with confidence percentage.

trip_type: "flight"            # flight | hotel
origin: "NYC"                  # required for flights
destination: "Tokyo"
travel_date: "2025-08-01"
return_date: "2025-08-14"      # optional

set_price_alert

Configure a price drop alert via Hopper app/email.

trip_type: "flight"
origin: "BOS"
destination: "LHR"
travel_date: "2025-07-20"
target_price: 450              # USD
email: "[email protected]"

book_flight

Initiate a flight booking with passenger and payment details.

flight_id: "flight_1"          # from search_flights
passenger_first_name: "Jane"
passenger_last_name: "Smith"
passenger_email: "[email protected]"
passenger_phone: "+1-555-0100"
payment_method: "credit_card"

book_hotel

Initiate a hotel booking. Hopper's Price Drop Guarantee refunds the difference if prices fall.

hotel_id: "hotel_2"            # from search_hotels
check_in: "2025-06-15"
check_out: "2025-06-22"
guest_first_name: "Jane"
guest_last_name: "Smith"
guest_email: "[email protected]"
payment_method: "credit_card"

get_bookings

View current and past bookings from a Hopper account.

email: "[email protected]"
booking_type: "all"            # flight | hotel | all

Example Prompts

  • "Search for flights from New York to London in July, one week round trip"
  • "What's Hopper's price forecast for hotels in Barcelona next month?"
  • "Set a price alert for flights from SFO to Tokyo under $700"
  • "Book the cheapest flight you found for Jane Smith, email [email protected]"
  • "Show me my past Hopper bookings for [email protected]"

Notes

  • Booking and booking history features require a Hopper account. The server will guide users to authenticate at hopper.com when needed.
  • Price predictions use Hopper's displayed AI recommendations extracted from the live site.
  • For best results, use IATA airport codes (e.g. JFK, LHR, CDG) for flight searches.

Development

git clone https://github.com/markswendsen-code/mcp-hopper
cd mcp-hopper
npm install
npm run build
node dist/index.js

License

MIT — Strider Labs [email protected]