[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [ClassPass location lookup](https://spiral.ai/integrations/claude-code/classpass-location-lookup)

# How to Use ClassPass location lookup in Claude Code

Returns coordinates for a city, address, or selected place. Use it to center a neighborhood search instead of starting from a city's general location.

|  |  |
| --- | --- |
| Model | ClassPass location lookup |
| Available through | Alexandria |
| Category | Maps & Reviews |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ClassPass location lookup in Claude Code

- Use ClassPass location lookup to resolve Moscone Center, San Francisco, and show the returned location in my project's map view.
- Use ClassPass location lookup to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from ClassPass location lookup and tell me what changed since last week.
- Check ClassPass location lookup and summarize what you find in three bullet points.
- Pull the newest data from ClassPass location lookup and give me the result as a table.

## How to set up ClassPass location lookup in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run ClassPass location lookup**: One request; the result comes back by polling or a webhook.

```bash
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/location",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds ClassPass location lookup on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## ClassPass location lookup tools and prices

- [ClassPass · Location](https://spiral.ai/tools/alexandria/classpass-com/fitness-classes/location) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| query |  | — | Free text place name; mutually exclusive with `place_id`. |
| place_id |  | — | A `place_id` from a previous `query` answer. Pattern: ^[A-Za-z0-9_-]+$. |

## What can you do with ClassPass location lookup in Claude Code?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## ClassPass location lookup in other agents

- [Amp](https://spiral.ai/integrations/amp/classpass-location-lookup)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/classpass-location-lookup)
- [Claude](https://spiral.ai/integrations/claude-desktop/classpass-location-lookup)
- [Cline](https://spiral.ai/integrations/cline/classpass-location-lookup)
- [Codex](https://spiral.ai/integrations/codex/classpass-location-lookup)
- [Cursor](https://spiral.ai/integrations/cursor/classpass-location-lookup)
- [Devin](https://spiral.ai/integrations/devin/classpass-location-lookup)
- [dots](https://spiral.ai/integrations/dots/classpass-location-lookup)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/classpass-location-lookup)
- [Gemini](https://spiral.ai/integrations/gemini/classpass-location-lookup)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/classpass-location-lookup)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/classpass-location-lookup)
- [goose](https://spiral.ai/integrations/goose/classpass-location-lookup)
- [Grok](https://spiral.ai/integrations/grok/classpass-location-lookup)
- [Grok Build](https://spiral.ai/integrations/grok-build/classpass-location-lookup)
- [Hermes](https://spiral.ai/integrations/hermes/classpass-location-lookup)
- [Instinct](https://spiral.ai/integrations/instinct/classpass-location-lookup)
- [Manus](https://spiral.ai/integrations/manus/classpass-location-lookup)
- [Muse](https://spiral.ai/integrations/muse/classpass-location-lookup)
- [Muse Code](https://spiral.ai/integrations/muse-code/classpass-location-lookup)
- [n8n](https://spiral.ai/integrations/n8n/classpass-location-lookup)
- [Notion](https://spiral.ai/integrations/notion/classpass-location-lookup)
- [OpenClaw](https://spiral.ai/integrations/openclaw/classpass-location-lookup)
- [opencode](https://spiral.ai/integrations/opencode/classpass-location-lookup)
- [Perplexity](https://spiral.ai/integrations/perplexity/classpass-location-lookup)
- [Raycast](https://spiral.ai/integrations/raycast/classpass-location-lookup)
- [VS Code](https://spiral.ai/integrations/vscode/classpass-location-lookup)
- [Windsurf](https://spiral.ai/integrations/windsurf/classpass-location-lookup)
- [Zapier](https://spiral.ai/integrations/zapier/classpass-location-lookup)

## More Claude Code guides

- [ClassPass class session details](https://spiral.ai/integrations/claude-code/classpass-class-session-details)
- [ClassPass nearby classes](https://spiral.ai/integrations/claude-code/classpass-nearby-classes)
- [Campspot location suggestions](https://spiral.ai/integrations/claude-code/campspot-location-suggestions)
- [ClassPass nearby studios](https://spiral.ai/integrations/claude-code/classpass-nearby-studios)
- [Campspot campsite availability](https://spiral.ai/integrations/claude-code/campspot-campsite-availability)
- [ClassPass studio details](https://spiral.ai/integrations/claude-code/classpass-studio-details)

## Questions about ClassPass location lookup in Claude Code

**Can Claude Code use ClassPass location lookup?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run ClassPass location lookup like any built-in tool.

**How much does ClassPass location lookup cost in Claude Code?**

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

**Do I need an Alexandria account to use ClassPass location lookup in Claude Code?**

No. Spiral runs ClassPass location lookup 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 location lookup in Claude Code?**

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

**Does Claude Code wait while ClassPass location lookup runs?**

ClassPass location lookup runs in the background. Claude Code 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.

