
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
n8n-nodes-hotelplanet-mcp-server
Advanced tools
A Model Context Protocol (MCP) server that provides hotel booking tools including search, price checking, booking, and cancellation capabilities using the HotelPlanet API.
The server exposes four main tools:
npm install
Copy the example environment file and configure your API credentials:
cp env.example .env
Edit the .env file with your HotelPlanet API credentials:
# HotelPlanet API Configuration
HOTEL_API_BASE_URL=https://thehotelplanet.com/cm
HOTEL_API_KEY=your_actual_api_key_here
npm run build
npm start
npm run start:n8n
This server can be used with n8n workflows via HTTP requests. The n8n version runs on port 3000 by default and provides REST API endpoints.
GET http://localhost:3000/healthGET http://localhost:3000/api/docsPOST http://localhost:3000/api/search-availabilityPOST http://localhost:3000/api/check-pricePOST http://localhost:3000/api/book-hotelPOST http://localhost:3000/api/cancel-bookingStart the server:
npm run start:n8n
In n8n, add HTTP Request nodes for each operation:
POSTContent-Type: application/jsonTest the connection:
node test-n8n-server.js
All endpoints return responses in this format:
{
"success": true,
"data": { /* actual response data */ },
"summary": { /* summary information */ },
"metadata": {
"timestamp": "2024-01-01T00:00:00.000Z",
"request_id": "req_1234567890_abc123"
}
}
The server integrates with the following HotelPlanet API endpoints:
POST /engine/availabilityPOST /v2/engine/v1/prebookPOST /v2/engine/v1/bookv2POST /engine/cancel{
"property_ids": [24517],
"checkin": "2025-11-25",
"checkout": "2025-11-26",
"occupancies": [
{
"occupancy_index": 0,
"adults": 2
}
],
"currency": "EUR",
"agency": "1745",
"max_properties": 3,
"max_rates_per_property": 2,
"price_range": {
"min": 100,
"max": 500
},
"star_rating": [4, 5],
"board_types": ["Breakfast"]
}
💡 Best Practices for AI Agents:
property_ids to 5-10 properties for best performancemax_properties (default: 5, max: 10) to control response sizemax_rates_per_property (default: 3, max: 5) to limit rates shownprice_range, star_rating, board_types) to get targeted results{
"availability_request": {
"property_id": 23755,
"checkin": "2025-01-13",
"checkout": "2025-01-14",
"occupancies": [
{
"occupancy_index": 0,
"adults": 2
}
],
"currency": "USD",
"agency": "56458",
"nationality": "IT"
},
"booked_rates": [
{
"rate_identifier": "d14f44aa839e3d67b7bc1e6c1bce7953",
"amount": {
"price": 110,
"vat": {
"value": 0,
"included": false
}
},
"quantity": 1,
"guest_details": [
{
"leader": true,
"first_name": "Veronika Test Booking Nuitee",
"last_name": "Surname Test Booking Nuitee"
}
]
}
]
}
{
"availability_request": {
"property_id": 23755,
"checkin": "2025-01-13",
"checkout": "2025-01-14",
"occupancies": [
{
"occupancy_index": 0,
"adults": 2
}
],
"currency": "USD",
"agency": "56458",
"nationality": "IT"
},
"booked_rates": [
{
"rate_identifier": "d14f44aa839e3d67b7bc1e6c1bce7953",
"amount": {
"price": 110,
"vat": {
"value": 0,
"included": false
}
},
"quantity": 1,
"guest_details": [
{
"leader": true,
"first_name": "Veronika Test Booking Nuitee",
"last_name": "Surname Test Booking Nuitee"
}
]
}
],
"client_booking_reference": "nuitee-test-1",
"customer_remarks": "Test Booking Nuitee",
"payment_method": {
"credit_card": {
"number": "4111111111111111",
"holder_name": "Nuitee",
"expiration_month": 10,
"expiration_year": 26,
"cvv": 645
}
}
}
{
"booking_id": 83314
}
Run the test suite to verify all tools are working:
node test-server.js
npm run build
npm run dev
This project is licensed under the MIT License.
FAQs
HotelPlanet MCP Server for hotel booking operations
We found that n8n-nodes-hotelplanet-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.