[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [GolfNow nearby courses](https://spiral.ai/integrations/opencode/golfnow-nearby-courses)

# How to Use GolfNow nearby courses in opencode

Returns courses near a location with distances, ratings, and dated tee-time information. Use it to compare local options before inspecting one course's available starts.

|  |  |
| --- | --- |
| Model | GolfNow nearby courses |
| 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 GolfNow nearby courses in opencode

- Use GolfNow nearby courses to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from GolfNow nearby courses and tell me what changed since last week.
- Check GolfNow nearby courses and summarize what you find in three bullet points.
- Pull the newest data from GolfNow nearby courses and give me the result as a table.
- Check GolfNow nearby courses every morning and tell me only when something changed.

## How to set up GolfNow nearby courses in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 GolfNow nearby courses**: 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": "golfnow-com/tee-times/courses_near",
    "input": {
      "latitude": -90,
      "longitude": -180
    }
  }'
```

Then paste one of the prompts above: opencode finds GolfNow nearby courses on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## GolfNow nearby courses tools and prices

- [GolfNow US · Courses near](https://spiral.ai/tools/alexandria/golfnow-com/tee-times/courses_near) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| date |  | — | Play date, `YYYY-MM-DD`. Defaults to tomorrow (UTC). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| page | 0 to 1000 | — | 0-based page (default 0). |
| holes | Any, 9, 18 | — | `Any` (default), `9` or `18`. |
| players | 0 to 4 | — | Number of players, 0 = any (default). |
| time_max | 0 to 48 | — | Latest tee time as a half-hour slot: 48 = midnight (default 48). |
| time_min | 0 to 48 | — | Earliest tee time as a half-hour slot: 0 = midnight, 14 = 7:00 AM (default 0). |

## What can you do with GolfNow nearby courses in opencode?

Build a personal golf planner that turns GolfNow course information into a shortlist of playable rounds. Use place and course identities to connect profiles, golfer feedback, daily availability, and individual tee times.

### Plan a golf weekend in Orlando

Resolve the destination, identify courses, compare profiles and golfer feedback, then narrow the playing days, starts, and rate options.

### Compare two golf destinations

Build personal shortlists for Orlando and Scottsdale using local courses, course characteristics, golfer feedback, and available rounds across the planned dates.

### Find a backup round nearby

Locate alternatives around the original destination, identify the courses, compare available days, and inspect specific starts and rate options.

### Fit nine holes into a trip

Find courses around the destination, review their profiles and golfer feedback, then check which dates, starts, and offers fit a nine-hole round.

### Resolve an ambiguous golf destination

Distinguish matching place names, compare course search results with nearby courses, and inspect the selected course's profile.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## GolfNow nearby courses in other agents

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

## More opencode guides

- [GolfNow location search](https://spiral.ai/integrations/opencode/golfnow-location-search)
- [GolfNow tee time rate options](https://spiral.ai/integrations/opencode/golfnow-tee-time-rate-options)
- [GolfNow daily course availability](https://spiral.ai/integrations/opencode/golfnow-daily-course-availability)
- [Google Flights airport and city lookup](https://spiral.ai/integrations/opencode/google-flights-airport-and-city-lookup)
- [GolfNow course tee times](https://spiral.ai/integrations/opencode/golfnow-course-tee-times)
- [Google Flights fare search](https://spiral.ai/integrations/opencode/google-flights-fare-search)

## Questions about GolfNow nearby courses in opencode

**Can opencode use GolfNow nearby courses?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run GolfNow nearby courses like any built-in tool.

**How much does GolfNow nearby courses cost in opencode?**

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

**Do I need an Alexandria account to use GolfNow nearby courses in opencode?**

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

**How long does it take to set up GolfNow nearby courses in opencode?**

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

**Does opencode wait while GolfNow nearby courses runs?**

GolfNow nearby courses runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**What part of GolfNow does this cover?**

The documented scope is public GolfNow US course, review, and tee-time data. It does not establish worldwide coverage.

**How far ahead do courses release tee times?**

GolfNow says many courses release tee times 7, 14, or 30 days ahead. The booking window depends on the course.

**How quickly can available tee times change?**

GolfNow says desirable starts can disappear within hours during peak season. A listed opening is a changing availability observation.

**Who supplies the course information?**

GolfNow relies on the facilities for information such as descriptions, images, playing conditions, and restrictions. Those details originate with the course rather than an independent inspection.

**Does public access permit commercial reuse?**

GolfNow's standard service license is for personal, noncommercial use. Public visibility alone does not grant commercial reuse rights.

