Recreation.gov MCP server for AI agents
Let Claude, ChatGPT or your own agent read Recreation.gov: 2 typed functions through one MCP server. No Recreation.gov API key needed.
- Site
- recreation.gov
- Functions
- 2
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just Recreation.gov
An MCP server for Recreation.gov alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/recreation_govEvery site
One MCP server for Recreation.gov and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 2
campgroundAvailabilityCampsite availability at one recreation.gov campground for a range of nights: a per-night count of bookable sites (0 on a sold-out night, never…Arguments
Name Type Required campgroundIdstringSearchCampgrounds().campgroundId, e.g. "232447".No campgroundstringOr the campground's exact name, e.g. "Upper Pines Campground".No startDatestringFirst night, YYYY-MM-DD.Yes endDatestringLast night (inclusive), YYYY-MM-DD; defaults to startDate; at most 186 nights.No Returns
recreation_govAvailabilityinterface recreation_govNight { /** YYYY-MM-DD */ date: string; /** bookable campsites that night; 0 when sold out, never omitted */ available: number; reserved: number; closed: number; /** not yet released for booking, not sold out */ notYetReleased: number; other: number; } interface recreation_govCampsite { campsiteId: string; site: string | null; loop: string | null; type: string | null; maxPeople: number | null; availableDates: string[]; availableAllNights: boolean; } interface recreation_govAvailability { campgroundId: string; campgroundName: string | null; startDate: string; endDate: string; nights: recreation_govNight[]; /** only campsites with at least one bookable night in the range */ campsites: recreation_govCampsite[]; totalCampsites: number; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/recreation_gov/campgroundAvailabilityCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.recreation_gov.campgroundAvailability({ campgroundId: "232447", startDate: { $daysFromNow: 56 }, endDate: { $daysFromNow: 58 } });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.recreation_gov.campgroundAvailability({ "campgroundId": "232447", "startDate": {"$daysFromNow": 56}, "endDate": {"$daysFromNow": 58} }))curl -X POST https://api.bowmark.ai/v1/sites/recreation_gov/campgroundAvailability \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"campgroundId":"232447","startDate":{"$daysFromNow":56},"endDate":{"$daysFromNow":58}}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.recreation_gov.campgroundAvailability({ campgroundId: "232447", startDate: { $daysFromNow: 56 }, endDate: { $daysFromNow: 58 } });searchCampgroundsSearch recreation.gov for campgrounds by name, park or place; returns each campground's id (for campgroundAvailability), park, state, location…Arguments
Name Type Required querystringA campground, park or place, e.g. "Upper Pines" or "Yosemite".Yes limitnumberDefault 10, max 50.No Returns
recreation_govCampground[]interface recreation_govCampground { /** the id campgroundAvailability takes */ campgroundId: string; name: string; parentName: string | null; city: string | null; state: string | null; latitude: number | null; longitude: number | null; reservable: boolean | null; campsiteCount: number | null; operator: string | null; averageRating: number | null; ratingCount: number | null; url: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/recreation_gov/searchCampgroundsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.recreation_gov.searchCampgrounds({ query: "Upper Pines", limit: 5 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.recreation_gov.searchCampgrounds({"query": "Upper Pines", "limit": 5}))curl -X POST https://api.bowmark.ai/v1/sites/recreation_gov/searchCampgrounds \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"Upper Pines","limit":5}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.recreation_gov.searchCampgrounds({ query: "Upper Pines", limit: 5 });
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/recreation_gov/<function> - OpenAPI
/v1/sites/recreation_gov/openapi.json