Skip to main content
Glama

@striderlabs/mcp-lyft

MCP server connector for Lyft ride-sharing — request rides, get fare estimates, and track trips via browser automation.

Installation

npm install -g @striderlabs/mcp-lyft

Or run directly with npx:

npx @striderlabs/mcp-lyft

Related MCP server: mcp-zen

MCP Configuration

Add to your claude_desktop_config.json:

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

Tools

status

Check current session and route status.

Returns: Login state, user info, and saved pickup/destination.


login

Authenticate with your Lyft account.

Parameter

Type

Required

Description

identifier

string

Yes

Email or phone number

password

string

Yes

Lyft account password

headless

boolean

No

Run browser headlessly (default: true)

Note: If Lyft requires a verification code (OTP), you must complete sign-in manually in a browser first.


logout

Clear saved session, cookies, and route data.


set_pickup

Set the pickup location for your ride.

Parameter

Type

Required

Description

location

string

Yes

Address or place name (e.g. "Times Square, NYC")


set_destination

Set the destination for your ride.

Parameter

Type

Required

Description

location

string

Yes

Address or place name (e.g. "JFK Airport")


get_fare_estimate

Get fare estimates for the current pickup/destination route.

Requires: Both pickup and destination to be set via set_pickup and set_destination.

Returns: List of ride types with estimated fares and ETAs.


get_ride_options

Get available Lyft ride types for the current route.

Requires: Login + both pickup and destination set.

Returns: Available options (Lyft, Lyft XL, Lux, Lux Black, etc.) with prices and wait times.


request_ride

Request a Lyft ride. Returns a preview by default — set confirm=true to actually book.

Parameter

Type

Required

Description

ride_type

string

No

Ride type (default: "Lyft")

confirm

boolean

No

Set true to book (default: false — preview)

Requires: Login + both pickup and destination set.


get_ride_status

Get the status of your current or most recent Lyft ride.

Requires: Login.

Returns: Driver info, ETA, vehicle details, and trip status.


cancel_ride

Cancel a pending or active ride.

Parameter

Type

Required

Description

reason

string

No

Optional cancellation reason

Note: Cancellation fees may apply depending on timing.


get_ride_history

Get recent ride history.

Parameter

Type

Required

Description

limit

number

No

Number of rides to return (default: 10)

Returns: List of past rides with date, route, fare, and status.


Typical Workflow

1. login          → Authenticate with Lyft
2. set_pickup     → "123 Main St, San Francisco, CA"
3. set_destination → "SFO Airport"
4. get_fare_estimate → See prices for all ride types
5. request_ride   → Preview the ride (confirm=false)
6. request_ride   → confirm=true to actually book
7. get_ride_status → Track your driver
8. cancel_ride    → Cancel if needed

Session Storage

Session data is stored locally at ~/.striderlabs/lyft/:

File

Contents

cookies.json

Browser session cookies

auth.json

Login metadata (identifier, time)

route.json

Saved pickup/destination

Technical Details

  • Uses Playwright (Chromium) for browser automation

  • Stealth techniques applied to avoid bot detection

  • Cookies persist across MCP calls for seamless sessions

  • Default geolocation: New York City

  • User-agent: Chrome 120 on macOS

Important Notes

  • OTP/Verification: Lyft frequently requires SMS or email verification codes. If prompted, complete sign-in manually in a browser — cookies will be reused.

  • CAPTCHA: If a CAPTCHA appears, complete it manually in a browser to establish a session.

  • Cancellation Fees: Lyft may charge a fee if you cancel after a driver has been assigned.

  • Mobile vs Web: Some Lyft features may only be available in the mobile app and not accessible via browser automation.

License

MIT © Strider Labs

Available Tools

11 tools
cancel_rideA

Cancel a pending or active Lyft ride.

Inputs: reason.

get_fare_estimateA

Get fare estimates for the current pickup and destination. Both locations must be set first.

Inputs: no named parameters.

get_ride_historyB

Get recent Lyft ride history.

Inputs: limit.

get_ride_optionsA

Get available Lyft ride types (Lyft, Lyft XL, Lux, Lux Black, etc.) for the current route.

Inputs: no named parameters.

get_ride_statusB

Get the status of your current or most recent Lyft ride.

Inputs: no named parameters.

loginA

Authenticate with Lyft using email/phone and password. Saves session cookies for future requests.

Inputs: password (required), identifier (required), headless.

logoutA

Clear saved session, cookies, and route data.

Inputs: no named parameters.

request_rideA

Request a Lyft ride. Returns a confirmation preview by default — set confirm=true to actually book the ride.

Inputs: confirm, ride_type.

set_destinationB

Set the destination for your ride.

Inputs: location (required).

set_pickupB

Set the pickup location for your ride.

Inputs: location (required).

statusA

Check current connection and session status — shows login state, saved route, and session info.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 11 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes, but 'status' and 'get_ride_status' could be confused at first glance. Descriptions clarify that 'status' is about session/login state, while 'get_ride_status' is about a specific ride, so the ambiguity is minimal.

    Naming Consistency3/5

    Tool names mix standalone verbs (login, logout, status) with verb_noun patterns (set_pickup, get_fare_estimate, request_ride). The inconsistency is noticeable but still readable, with clear conventions for core operations.

    Tool Count5/5

    With 11 tools, the server is well-scoped for a Lyft ride-hailing workflow, covering authentication, trip setup, fare estimation, booking, status, cancellation, and history. Each tool serves a clear purpose without unnecessary bloat.

    Completeness4/5

    The core ride lifecycle is well covered: login, set pickup/destination, estimate/options, request, status, cancel, and history. Minor gaps include no explicit ride-type selection in request_ride (only via get_ride_options) and lack of payment management, but these are workable.

    Related MCP Connectors

    Related MCP Servers