How to Use Recreation.gov campground and permit search in Codex
Finds campgrounds, recreation areas, and permits by destination, location, or stay dates. Use it to discover places and obtain the identifiers needed to inspect sites, rules, or permit quotas.
Prompts to try with Recreation.gov campground and permit search in Codex
Copy an example into Codex, or ask in your own words.
Use Recreation.gov campground and permit search to find campgrounds matching Yosemite National Park, then add their names, IDs, and source links to the project's destination comparison view.
Use Recreation.gov campground and permit search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Recreation.gov campground and permit search and tell me what changed since last week.
Check Recreation.gov campground and permit search and summarize what you find in three bullet points.
Pull the newest data from Recreation.gov campground and permit search and give me the result as a table.
How to set up Recreation.gov campground and permit search in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Recreation.gov campground and permit search
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": "recreation-gov/camping-availability/search", "input": { "size": 20 } }'
Then paste one of the prompts above: Codex finds Recreation.gov campground and permit search on Spiral, shows the price and runs it.
Recreation.gov campground and permit search providers and prices
Spiral runs Recreation.gov campground and permit search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Size | 1 to 50 | 20 | Results per page (1-50). |
| Sort | available or score |
| |
| Start | a number from 0 | 0 | Offset of the first result; use |
| Latitude | a number | Search centre latitude; requires | |
| Longitude | a number | Search centre longitude; requires | |
| Entity type | campground, recarea, permit, ticketfacility, tour, timedentry, vehiclepermit, venuereservations and 4 more | campground | Inventory type to return. |
| Radius miles | 1 to 2000 | Search radius around the centre, miles (default 50 when coordinates are given). |
Every API field of Recreation.gov · Search is on its tool page: open its card above.
What can you do with Recreation.gov campground and permit search in Codex?
Build a federal recreation planner that turns destination names into campground, campsite, and permit records. Use Recreation.gov location details, visitor feedback, and availability to populate the project's trip comparisons.
Pair a wilderness hike with a campground stay
Resolve a Yosemite destination, compare wilderness entry quotas, and find a campground for the nights before or after the hike. Check individual site details and visitor feedback before selecting a camping option.
Shortlist dates for an outfitter's scouting trip
Find wilderness permit entry dates and nearby campground openings for a guide's scouting visit. Compare campground rules and individual campsite suitability before choosing the dates.
Choose camping stops for a public lands road trip
Find federal campgrounds around each planned destination, then compare open nights, facilities, individual sites, and visitor comments. Produce a shortlist of camping stops with a site choice for each stay.
Compare alternative hiking destinations
Compare Yosemite and another federal recreation destination using available wilderness entry dates and nearby campground options. Read campground rules and visitor reviews to decide which destination deserves further planning.
Find a stay without changing campsites
Search a destination, inspect the monthly availability calendar, and compare individual campsite openings. Look for one site with consecutive available nights across the proposed stay.
Compare wilderness entry points
Resolve a park or wilderness name, find its permit record, and compare the published daily quotas across entry points. Build a list of alternative entry dates for a backpacking trip.
Build a federal campground comparison directory
Resolve destination names and collect campground records, campsite listings, and visitor feedback. Organize the directory by recreation destination so readers can compare locations and inspect their site choices.
More on Recreation.gov campground and permit search and Codex
Overview
Recreation.gov campground and permit search in other agents
Questions about Recreation.gov campground and permit search in Codex
Can Codex use Recreation.gov campground and permit search?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Recreation.gov campground and permit search like any built-in tool.
How much does Recreation.gov campground and permit search cost in Codex?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need an Alexandria account to use Recreation.gov campground and permit search in Codex?
No. Spiral runs Recreation.gov campground and permit search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Recreation.gov campground and permit search in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Recreation.gov campground and permit search runs?
Recreation.gov campground and permit search runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.
Does Recreation.gov cover every campground in the United States?
No. Its content focuses on federally managed recreation destinations, and participating agencies and facilities join voluntarily. A missing location does not establish that the campground does not exist.
How far ahead does Recreation.gov publish bookable camping dates?
Most campsites can be booked six months before arrival. Individual facilities set their own booking windows, so use the location's published window when evaluating future dates.
How quickly can campground availability change?
Recreation.gov says some popular campgrounds book up in minutes. An opening is useful for choosing where to try, but it can disappear before you reserve it.
Who maintains the location information and reservation rules?
Individual facilities update their content and set their booking windows. Policies on a specific location's page supersede Recreation.gov's general policies.
What experiences do Recreation.gov reviews describe?
The review system invites visitors to rate and comment on locations they reserved through Recreation.gov, including their experience with mobile coverage. These are visitor reports about reserved locations.
Start using Recreation.gov campground and permit search in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


