AI Travel Planner MCP
Uses OpenStreetMap's Nominatim API to retrieve geographical coordinates from a destination name, enabling location-based travel planning.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
āļø AI Travel Planner MCP
An AI-powered Travel Planning Assistant built using FastMCP, LangGraph, LangChain, FastAPI, and NiceGUI.
This project was created while exploring Model Context Protocol (MCP), Agentic AI, and LangGraph workflows through a practical real-world use case.
The application helps users plan trips by fetching live weather information, generating packing suggestions, and providing AI-powered travel recommendations based on their destination and budget.
š Features
š Destination-based travel planning
š¤ Real-time weather information
š Smart packing recommendations
š¤ AI-powered travel suggestions
š MCP Tool Integration
š§ LangGraph Agent Workflow
ā” FastAPI Backend
šØ Modern NiceGUI Interface
š Dark Mode Support
Related MCP server: Travel MCP
šļø Architecture
User Input
ā
ā¼
NiceGUI Interface
ā
ā¼
FastAPI Backend
ā
ā¼
LangGraph Workflow
ā
āāāāāāāāāāāāāāāāā
ā Weather Agent ā
āāāāāāāāā¬āāāāāāāā
ā
āāāāāāāāā¼āāāāāāāā
ā Packing Agent ā
āāāāāāāāā¬āāāāāāāā
ā
āāāāāāāāā¼āāāāāāāāāāā
ā Travel Advisor ā
āāāāāāāāā¬āāāāāāāāāāā
ā
āāāāāāāāā¼āāāāāāāāāāā
ā Final Report ā
āāāāāāāāā¬āāāāāāāāāāā
ā
ā¼
Travel Recommendationš§ MCP Tools
Location Tool
Uses OpenStreetMap's Nominatim API to retrieve geographical coordinates from a destination name.
Weather Tool
Uses Open-Meteo API to fetch real-time weather information.
Packing Tool
Generates packing suggestions based on weather conditions.
š ļø Tech Stack
AI & Agents
LangChain
LangGraph
FastMCP
Groq LLM
Backend
FastAPI
Python
Frontend
NiceGUI
APIs
Open-Meteo API
OpenStreetMap Nominatim API
š Project Structure
travel-planner-mcp/
āāā app.py
āāā graph.py
āāā state.py
ā
āāā agents/
ā āāā weather_agent.py
ā āāā packing_agent.py
ā āāā travel_advisor_agent.py
ā āāā final_report_agent.py
ā
āāā tools/
ā āāā weather_tool.py
ā āāā location_tool.py
ā āāā packing_tool.py
ā
āāā mcp/
ā āāā mcp_server.py
ā
āāā ui/
ā āāā ui.py
ā
āāā .env
āāā requirements.txt
āāā README.mdāļø Installation
Clone Repository
git clone <YOUR_REPOSITORY_URL>
cd travel-planner-mcpCreate Virtual Environment
python -m venv .venvActivate Environment
Windows:
.venv\Scripts\activateLinux/macOS:
source .venv/bin/activateInstall Dependencies
pip install -r requirements.txtš Environment Variables
Create a .env file in the root directory.
GROQ_API_KEY=YOUR_GROQ_API_KEYā¶ļø Running the Application
Start FastAPI
uvicorn app:app --reloadSwagger Documentation:
http://127.0.0.1:8000/docsStart MCP Server
python mcp/mcp_server.pyStart NiceGUI
python ui/ui.pyApplication URL:
http://localhost:8080šø Example Request
{
"city": "Ooty",
"budget": "Medium"
}šø Example Response
{
"weather": {
"temperature": 18,
"windspeed": 12
},
"packing_list": [
"Jacket",
"Water Bottle",
"Comfortable Shoes"
],
"recommendation": "Good weather for sightseeing and outdoor activities."
}š What I Learned
This project helped me gain hands-on experience with:
Model Context Protocol (MCP)
FastMCP Tool Development
LangGraph State Management
Agent-Based Workflows
LLM Tool Calling
FastAPI Development
API Integrations
NiceGUI Dashboard Development
š Future Improvements
Hotel Recommendation Agent
Restaurant Recommendation Agent
Multi-Day Trip Planning
Budget Estimation
Google Maps Integration
Travel Itinerary Generator
PDF Export
Multi-Agent Collaboration
šØāš» Author
Shyam Sundhar
Computer Science Engineering (AI & ML)
Passionate about:
Artificial Intelligence
Machine Learning
Generative AI
Agentic AI
Mobile App Development
Full Stack Development
š LinkedIn: https://www.linkedin.com/in/shyamgsundhar/
š» GitHub: https://github.com/shyamgsundhar
ā Support
If you found this project useful or interesting, consider giving it a ā on GitHub.
Feedback, suggestions, and contributions are always welcome!
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
Related MCP Connectors
Your personal AI travel concierge ā flights, hotels, 116M+ POIs, visas, weather & more
Plan trips with your AI: cards, itinerary, board, files and comments, with role-aware OAuth access.
All-in-one travel planner and tracker for perpetual travelers and digital nomads, in your AI chat.
AI-first trip planner: ask about your flights, stays and events, and add or change anything.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables intelligent travel planning by combining weather forecasts and route calculations for destinations. Provides personalized travel recommendations based on weather conditions and supports trip planning with persistent conversation memory.-
- AlicenseNot gradedqualityDmaintenanceA comprehensive travel planning copilot that provides geographic data, weather forecasts, transportation details, currency exchange rates, and contextual content to create personalized travel experiences. Enables users to plan itineraries, check real-time conditions, and gather inspirational content for destinations.ISC
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI-assisted travel planning with real-time weather forecasts, place discovery, customized itinerary generation based on interests and budget, and travel distance calculations between cities.-
- FlicenseNot gradedqualityDmaintenanceProvides personalized travel recommendations by analyzing climate, currency exchange rates, safety, and budget constraints through AI agents and multiple public APIs.-