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-jetblue

v1.0.0

Published

MCP server connector for JetBlue Airlines using Playwright browser automation

Readme

@striderlabs/mcp-jetblue

An MCP (Model Context Protocol) server connector for JetBlue Airlines, built with Playwright browser automation. Enables AI assistants to search flights, manage bookings, check in, and interact with your JetBlue TrueBlue account.

Installation

npm install -g @striderlabs/mcp-jetblue
npx playwright install chromium

Or install locally:

npm install @striderlabs/mcp-jetblue
npx playwright install chromium

Usage with Claude Desktop

Add to your claude_desktop_config.json:

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

Or with npx:

{
  "mcpServers": {
    "jetblue": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-jetblue"]
    }
  }
}

Tools

Authentication

jetblue_login

Log in to your JetBlue TrueBlue account. Required before using account-specific tools.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | email | string | Yes | TrueBlue account email | | password | string | Yes | TrueBlue account password |

Example:

{
  "email": "[email protected]",
  "password": "your-password"
}

Flight Search & Booking

jetblue_search_flights

Search for available JetBlue flights between two airports.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | origin | string | Yes | Origin airport code (e.g., JFK, BOS) | | destination | string | Yes | Destination airport code (e.g., MCO, LAX) | | date | string | Yes | Travel date in MM/DD/YYYY format | | passengers | number | No | Number of passengers (default: 1) | | cabin_class | string | No | Economy, Even More Space, or Mint (default: Economy) |

Example:

{
  "origin": "JFK",
  "destination": "LAX",
  "date": "04/15/2025",
  "passengers": 2,
  "cabin_class": "Economy"
}

jetblue_get_flight_details

Get detailed information about a specific flight from search results.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | flight_id | string | Yes | Flight ID from search results (e.g., flight-0) |


jetblue_select_flight

Select a flight from search results to proceed with booking.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | flight_id | string | Yes | Flight ID to select |


Seat Selection

jetblue_get_seat_map

Retrieve the seat map for a flight showing available and occupied seats.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | flight_id | string | Yes | Flight ID to retrieve seat map for |

Returns: List of seats with availability, type (standard, extra-legroom, Mint), row, and column.


jetblue_select_seat

Select a specific seat on a flight.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | flight_id | string | Yes | Flight ID | | seat | string | Yes | Seat number (e.g., 12A, 15C) |


Trip Management

jetblue_get_booking

Retrieve booking details for a reservation.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | confirmation_code | string | Yes | 6-character booking confirmation code |


jetblue_check_in

Check in for a flight. Available 24 hours before departure.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | confirmation_code | string | Yes | Booking confirmation code |


jetblue_cancel_booking

Cancel a flight booking. This action may be irreversible.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | confirmation_code | string | Yes | Booking confirmation code to cancel |


jetblue_get_upcoming_trips

Get all upcoming trips for the logged-in account. Requires jetblue_login first.

No parameters required.


Account & Status

jetblue_get_trueblue_balance

Get TrueBlue points balance and account information. Requires jetblue_login first.

No parameters required.


jetblue_get_flight_status

Get real-time status of a JetBlue flight.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | flight_number | string | Yes | JetBlue flight number (e.g., B61234 or 1234) | | date | string | Yes | Flight date in MM/DD/YYYY format |

Returns: Status, gate, terminal, scheduled/estimated departure and arrival times.


How It Works

This MCP server uses Playwright to automate the JetBlue website (jetblue.com). It launches a headless Chromium browser, navigates to the appropriate pages, fills forms, and extracts data.

Important notes:

  • A browser session is maintained across tool calls within the same session
  • Login is required before using account-specific tools (jetblue_get_trueblue_balance, jetblue_get_upcoming_trips, jetblue_check_in, jetblue_cancel_booking)
  • The server scrapes the JetBlue website; changes to the website may affect functionality
  • Use responsibly and in accordance with JetBlue's Terms of Service

Development

# Clone and install
git clone https://github.com/markswendsen-code/mcp-jetblue
cd mcp-jetblue
npm install
npx playwright install chromium

# Build
npm run build

# Run locally
node dist/index.js

Requirements

  • Node.js >= 18.0.0
  • Chromium (installed via npx playwright install chromium)

License

MIT