Spiral gives your agent every tool with one account. Browse the tools →

Windsurf · Maps & Reviews

How to Use ClassPass nearby classes in Windsurf

Returns scheduled classes near a location. Use it when the decision starts with a workout you can attend, rather than a studio you already know.

Prompts to try with ClassPass nearby classes in Windsurf

Copy an example into Windsurf, or ask in your own words.

Use ClassPass nearby classes to look this up and give me the result as a table. Save the result in ./assets.

ClassPass nearby classesWindsurf
Try asking
  • Pull the latest numbers from ClassPass nearby classes and tell me what changed since last week.

  • Check ClassPass nearby classes and summarize what you find in three bullet points.

  • Pull the newest data from ClassPass nearby classes and give me the result as a table.

  • Check ClassPass nearby classes every morning and tell me only when something changed.

How to set up ClassPass nearby classes in Windsurf

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run ClassPass nearby classes

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "classpass-com/fitness-classes/search_schedules",
        "input": {
          "date": "<date>"
        }
      }'

Then paste one of the prompts above: Windsurf finds ClassPass nearby classes on Spiral, shows the price and runs it.

ClassPass nearby classes providers and prices

Spiral runs ClassPass nearby classes through Alexandria. Open a card for today's price, with every fee included.

AlexandriaMaps & Reviews
ClassPass · Search schedules
classpass-com/fitness-classes/search_schedules

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Latitude-90 to 90

Search centre. Required unless cursor is given.

Verticalfitness, wellness, or beautyfitness

vertical

Longitude-180 to 180

longitude

Radius km0.5 to 503

Search radius in kilometres (the site's unit).

Max results1 to 5050

Trim the page to this many results (the site pages by 50).

Every API field of ClassPass · Search schedules is on its tool page: open its card above.

What can you do with ClassPass nearby classes in Windsurf?

Build a personal workout planner that moves from ClassPass city coverage to nearby studios and individual sessions. Use place coordinates, venue details, and timetables to organize choices around a trip or neighborhood.

Plan workouts during a city trip

Check whether the destination has ClassPass coverage, locate the hotel neighborhood, shortlist studios, and inspect their timetables and individual sessions to find workouts between travel plans.

Find a workout near a conference

Confirm the host city's coverage, center discovery on the conference venue, and compare nearby studios and session times against the event agenda.

Choose a studio after moving

Check the destination market, locate the new neighborhood, and compare listed studios, class types, daily timetables, and specific sessions before choosing where to try a workout.

Keep a workout routine while traveling

Check coverage in each destination, locate the areas you will visit, and find studios and sessions that match your preferred activity and available hours.

Find an alternative when plans change

Search around a public landmark for another class, inspect nearby studios, and check a selected session before changing your workout plan.

Questions about ClassPass nearby classes in Windsurf

Can Windsurf use ClassPass nearby classes?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run ClassPass nearby classes like any built-in tool.

How much does ClassPass nearby classes cost in Windsurf?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

Do I need an Alexandria account to use ClassPass nearby classes in Windsurf?

No. Spiral runs ClassPass nearby classes on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up ClassPass nearby classes in Windsurf?

About two minutes: add the server, then sign in, then check it.

Does Windsurf wait while ClassPass nearby classes runs?

ClassPass nearby classes runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

How broad is ClassPass coverage?

ClassPass reported more than 88,000 listed businesses in 643 cities and 31 countries as of January 2026. That describes its platform footprint, not the number of studios or sessions returned by a search.

Does ClassPass include every class a studio offers?

No. Some studios reserve certain classes for their direct customers, so a ClassPass timetable can omit sessions offered elsewhere by the studio.

Why can a class appear after an earlier search found nothing?

ClassPass says a cancellation can reopen a spot. Its Fitness Classes search shows sessions with open spots, so an absent result does not establish that the studio has no scheduled class.

How far ahead do reservations usually open?

For most businesses, reservations open at noon local time one week before the session date. This booking window does not establish an endpoint's maximum search horizon.

What session information is publicly visible?

Public ClassPass studio pages can show a daily timetable with class names, start times, UTC offsets, and durations. GROUNDUP Studio's public page provides an example.

Get started

Start using ClassPass nearby classes in Windsurf

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Windsurf:

Set up Windsurf

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options