Uses Google Maps Geocoding API to convert city names to coordinates for location-based campground searches.
The code was generated using JetBrains AI Pro in PyCharm.
Rec-MCP: Recreation & Campground Search
A Model Context Protocol (MCP) server that provides tools for finding camping facilities and recreational areas using Recreation.gov's Recreation Information Database (RIDB) API and Google Maps Geocoding API.
Features
- 🏕️ Find Camping Facilities: Search for campgrounds and recreational facilities near any location
- 🌍 Geocoding Support: Convert city names to coordinates using Google Maps API
- 🔍 Flexible Search: Customize search radius, result limits, and activity types. Change your prompts to locate reservable vs. first-come, first-serve campgrounds, etc.
- 📊 Rich Data: Get detailed facility information including contact details, amenities, and image URLs
- 🛠️ MCP Integration: Works seamlessly with MCP clients
Prerequisites
- Python 3.12 or higher
- API keys for:
Setup
- Clone the repository
- Install dependencies
uv add requests python-dotenv mcp
- Create a
.env
file in the project root:- env RIDB_API_KEY=your_recreation_gov_api_key_here
- GOOGLE_GEOCODE_KEY=your_google_maps_api_key_here
- Run the server
uv --directory /your_file_path/rec_mcp/ run ridb_mcp_server.py
Testing the MCP Server
Use the MCP Inspector to ensure the MCP Server is working before integrating it into any clients.
Install MCP inspector globally
npm install -g @modelcontextprotocol/inspector
Run the inspector
mcp-inspector uv run python ridb_mcp_server.py
Integrating the MCP Server with Clients
The MCP Server can be integrated into clients such as Claude Desktop and VSCode.
For Claude Desktop, add the server to the claude_desktop_config.json file.
Credits
JetBrains AI Pro generated 90 % of the code written for this project in PyCharm.
This server cannot be installed
A Model Context Protocol server that enables searching for camping facilities and recreational areas using Recreation.gov's API and Google Maps Geocoding.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides search and crawl functionality using Search1API.Last updated -5719143TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides Google Maps API integration, allowing users to search locations, get place details, geocode addresses, calculate distances, obtain directions, and retrieve elevation data through LLM processing capabilities.Last updated -71,24153TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol (MCP) based search API server that provides standardized access to Google Maps, Google Flights, Google Hotels and other services. This server enables AI assistants to access various search services through a unified interface.Last updated -57PythonMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.Last updated -241JavaScript