Quest Apartment Hotels MCP Server

Quest Apartment Hotels MCP Server

Enables AI assistants to search for Quest Apartment Hotels across Australia by interpreting location-based queries for cities, suburbs, and landmarks. It calculates distances to the nearest properties and provides detailed hotel data including amenities, pricing, and ratings.

Category
访问服务器

README

Quest Apartment Hotels MCP Server & App

A Model Context Protocol (MCP) server and interactive web app for Quest Apartment Hotels that enables AI assistants (ChatGPT, Claude, Gemini) to search properties near specific locations and landmarks across Australia.

Features

  • AI-Powered Location Matching: Intelligently interprets any location input (cities, suburbs, landmarks, hotel names)
  • Dynamic Distance Calculation: Returns the closest 3 properties with exact distances from any point
  • Flexible Search: Works with "Sydney", "North Sydney", "Quest Melbourne", or any location description
  • Interactive UI: Beautiful, minimal web interface for browsing hotel results
  • Cross-platform: Works with both ChatGPT and Claude
  • Rich Data: Includes amenities, pricing, ratings, and room details

Available Tools

quest_search_nearby

Find Quest Apartment Hotels near a specific location or landmark. Returns the closest 3 properties.

Parameters:

  • location (required): Any location description - city name, suburb, landmark, or hotel name (e.g., "Sydney", "North Sydney", "Quest Melbourne", "169 Thomas Street")
  • amenities (optional): Array of required amenities (e.g., ["Gym", "Pool"])
  • maxGuests (optional): Maximum number of guests needed

Example:

{
  "location": "North Sydney",
  "amenities": ["Gym", "Pool"],
  "maxGuests": 2
}

quest_get_property_details

Get detailed information about a specific Quest property.

Parameters:

  • propertyId (required): The ID of the Quest property

Example:

{
  "propertyId": "quest-sydney-cbd"
}

quest_list_all_properties

List all Quest Apartment Hotels with basic information.

Parameters:

  • state (optional): Filter by state (e.g., "NSW", "VIC", "QLD")

Example:

{
  "state": "NSW"
}

Installation & Setup

Prerequisites

  • Node.js 18+
  • npm or yarn

Local Development

  1. Clone and install dependencies:
cd quest-apartment-hotels-mcp
npm install
  1. Build the project:
npm run build
npm run build-app  # Build the web app
  1. Run the MCP server:
npm run serve

Testing with MCP Inspector

  1. Install MCP Inspector:
npm install -g @modelcontextprotocol/inspector
  1. Run the inspector:
mcp-inspector tsx main.ts
  1. Open your browser to http://localhost:3000 to test the tools.

Testing in ChatGPT

  1. Open chatgpt.com and start a new conversation
  2. Click the Tools (plug) icon → Add a tool → MCP Server
  3. Enter your server URL (if running with HTTP transport)
  4. Set approval to No approval required (for testing)
  5. Click Connect

Try prompts like:

  • "Find Quest hotels in Sydney with a gym"
  • "What Quest properties are near North Sydney?"
  • "Show me hotels near Quest Melbourne for 2 guests"
  • "Find apartments with a pool in Brisbane CBD"
  • "Hotels near 169 Thomas Street Sydney"

Testing in Claude Desktop

  1. Open Claude Desktop settings
  2. Add MCP server configuration
  3. Point to your server executable
  4. Restart Claude

Project Structure

quest-apartment-hotels-mcp/
├── src/
│   ├── types.ts           # TypeScript interfaces
│   ├── data.ts            # Hotel data and landmarks
│   ├── mcp-server.ts      # Core MCP server logic
│   ├── quest-app.html     # Web app HTML
│   └── quest-app.ts       # Web app TypeScript
├── dist/
│   └── quest-app.html     # Built web app
├── main.ts                # Main server entry point
├── package.json
├── tsconfig.json
├── vite.config.ts         # Vite build config
└── README.md

Data Structure

The server includes 9 real Quest Apartment Hotels across major Australian cities:

  • Sydney: Quest Sydney CBD
  • Melbourne: Quest Melbourne on Bourke
  • Brisbane: Quest Brisbane CBD
  • Perth: Quest Perth CBD
  • Adelaide: Quest Adelaide CBD
  • Canberra: Quest Canberra Civic
  • Hobart: Quest Hobart CBD
  • Darwin: Quest Darwin CBD

Each property includes:

  • Full address and coordinates
  • Amenities (Gym, Pool, WiFi, Kitchen, etc.)
  • Room types with pricing
  • Ratings and descriptions
  • Contact information

Intelligent Location Matching

The system uses AI-driven location matching that can handle:

City & Suburb Names

  • "Sydney", "Melbourne", "Brisbane"
  • "North Sydney", "South Yarra", "Fortitude Valley"
  • "CBD", " Civic", "Kingston"

Hotel Names & Addresses

  • "Quest Sydney", "Quest Melbourne on Bourke"
  • "169 Thomas Street", "443 Bourke Street"
  • Partial matches work too: "Quest Syd", "Melbourne Bourke"

Flexible Input

The AI intelligently parses and matches:

  • Exact matches: "sydney cbd" → Sydney CBD coordinates
  • Partial matches: "north sydney" → North Sydney coordinates
  • Hotel names: "Quest Melbourne" → Melbourne hotel
  • Addresses: "169 Thomas" → Sydney hotel
  • City names: "Brisbane" → Brisbane center

Distance Calculation

Once a location is identified, the system:

  1. Calculates distances from that point to all Quest hotels
  2. Returns the closest 3 properties
  3. Shows exact distances in kilometers
  4. Provides full hotel details and pricing

Web App Features

The included web app provides:

  • Modern UI: Clean, minimal design with smooth animations
  • Search Interface: Easy-to-use form with location, amenities, and guest filters
  • Hotel Cards: Beautiful cards showing images, ratings, amenities, and pricing
  • Distance Display: Shows exact distance from search location
  • Detailed Views: Click any hotel to see full details including room types
  • Responsive Design: Works on desktop and mobile devices

API Response Format

The tools return both human-readable text and structured JSON data:

{
  "content": [
    {
      "type": "text",
      "text": "Human-readable summary..."
    },
    {
      "type": "resource", 
      "resource": {
        "uri": "quest-app://search-results",
        "mimeType": "application/json",
        "text": "JSON data..."
      }
    }
  ]
}

Development

Adding New Hotels

Edit src/data.ts to add new Quest properties:

{
  id: 'quest-new-hotel',
  name: 'Quest New Hotel',
  address: '123 Street, City State 2000',
  // ... other properties
}

Adding New Landmarks

Add to the landmarks object in src/data.ts:

'New Landmark': { latitude: -xx.xxxx, longitude: xxx.xxxx }

Customizing the UI

Edit src/quest-app.html for styling and src/quest-app.ts for functionality.

Deployment

Vercel (Recommended)

  1. Push to GitHub
  2. Connect repository to Vercel
  3. Set build command: npm run build && npm run build-app
  4. Set output directory: dist
  5. Deploy

Docker

FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY dist ./dist
CMD ["node", "dist/main.js"]

License

MIT License - see LICENSE file for details.

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

Support

For issues and questions:

  • Create an issue on GitHub
  • Check the troubleshooting section
  • Review the MCP specification documentation

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选