Claude-Powered AI Travel Route Planner
WanderMind is an intelligent travel planning application that uses Anthropic's Claude AI to create personalized travel itineraries. Built for Calhacks, it combines natural language processing with interactive mapping to deliver a seamless trip planning experience.
- ๐ค AI-Powered Recommendations: Claude analyzes your preferences and suggests personalized attractions
- ๐บ๏ธ Interactive Map Interface: Beautiful Google Maps-style interface using React Leaflet
- ๐ Smart Route Optimization: Automatically generates efficient routes with travel times
- ๐ฌ Natural Language Refinement: Chat with Claude to modify your itinerary
- ๐ Multi-Day Planning: Organize trips across multiple days with timeline view
- ๐จ Modern UI/UX: Sleek, responsive design with smooth animations
- Framework: Next.js 14 (React 18)
- Styling: Tailwind CSS
- Animations: Framer Motion
- Maps: React Leaflet + OpenStreetMap
- Icons: Lucide React
- Language: TypeScript
- Framework: FastAPI (Python)
- AI: Anthropic Claude 3.5 Sonnet
- Geocoding: Geopy + Nominatim
- API: RESTful endpoints
- Node.js 18+ and npm/yarn
- Python 3.8+
- Anthropic API key (Get one here)
git clone https://github.com/yuqiannemo/WanderMind.git
cd WanderMindcd backend
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Configure environment
cp .env.example .env
# Edit .env and add your ANTHROPIC_API_KEYcd ../frontend
# Install dependencies
npm install
# or
yarn install
# Configure environment (optional)
cp .env.local.example .env.localcd backend
source venv/bin/activate
python main.pyThe API will be available at http://localhost:8000
cd frontend
npm run dev
# or
yarn devThe app will be available at http://localhost:3000
- Enter your destination city
- Select travel dates
- Choose your interests from predefined tags
- View AI-recommended attractions on the map
- Click markers to see details
- Select attractions you want to visit
- Minimum 2 attractions required for route generation
- Click "Generate Route" button
- Claude optimizes the order and timing
- View your itinerary in the timeline panel
- Route shows on map with numbered markers
- Open the chat panel
- Ask Claude to modify your itinerary
- "Swap day 1 and day 2"
- "Start later in the morning"
- "Add more time at the museum"
- Claude updates your route in real-time
Initialize a new travel session
{
"city": "Paris",
"startDate": "2025-11-01",
"endDate": "2025-11-03",
"interests": ["Museums", "Food & Dining"]
}Get AI-powered attraction recommendations
{
"session_id": "uuid"
}Generate optimized route
{
"session_id": "uuid",
"attractions": [...]
}Refine route based on user message
{
"session_id": "uuid",
"message": "Make day 1 start later",
"current_route": {...}
}- Minimalist & Elegant: Clean interface inspired by Notion and Google Maps
- Glass Morphism: Modern frosted glass effects for panels
- Smooth Animations: Framer Motion for delightful interactions
- Responsive: Desktop-first but mobile-friendly
- Accessible: Semantic HTML and ARIA labels
Built for Calhacks in 24 hours, WanderMind showcases:
- โ Rapid prototyping with modern frameworks
- โ Claude AI integration for intelligent recommendations
- โ Complex state management with React hooks
- โ Real-time map interactions
- โ Beautiful, production-ready UI
- โ Full-stack TypeScript/Python implementation
- User authentication and saved trips
- Real-time collaboration
- Integration with booking platforms
- Weather and events data
- Mobile app (React Native)
- Multi-language support
- Budget tracking
- Restaurant reservations
next- React framework with App Routerreact-leaflet- React wrapper for Leaflet mapsframer-motion- Animation librarylucide-react- Icon libraryaxios- HTTP clienttailwindcss- Utility-first CSS
fastapi- Modern Python web frameworkanthropic- Official Claude SDKgeopy- Geocoding libraryuvicorn- ASGI serverpydantic- Data validation
MIT License - see LICENSE file for details
Built with โค๏ธ for Calhacks
- Anthropic for Claude AI
- OpenStreetMap contributors
- Leaflet team
- Vercel for Next.js
Happy Wandering! ๐