Jinko Hotel Booking MCP Server

Jinko Hotel Booking MCP Server

Enables AI agents to search, browse, and book hotels from a database of 2 million properties worldwide. Provides comprehensive hotel search capabilities with location lookup, filtering by amenities, detailed property information, and integrated booking functionality.

Category
访问服务器

README

Hotel Booking MCP Server

Source Attribution

This repository was originally from https://github.com/jinkoso/jinko-mcp

  • Original Author: Jinko
  • Original Repository is no longer available on GitHub

Description

We are the first MCP server to give access to 2 millions of hotels with shopping and booking capabilities. You can integrate our MCP and start to sell within minutes in your agents. The prod version is available on request by requesting it on our website https://www.jinko.so/. Feel free to reach out!

MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs - think of it as a USB-C port for AI applications, connecting models to external data sources and tools.

Features

  1. Find Place: Convert user's location query into standardized place information with coordinates
  2. Search Hotels: Search for available hotels based on location coordinates and booking requirements
  3. Get Hotel Details: Get comprehensive details about a specific hotel
  4. Book Hotel: Book a hotel by creating a quote and returning a payment link
  5. Get Facilities: Retrieve hotel facilities in different languages for filtering searches

Development

You can install the package globally:

npm install -g jinko-mcp-dev

Or run it directly with npx:

npx jinko-mcp-dev

Running the Server

Using npm

npm run start

Using npx (after publishing)

npx jinko-mcp-dev

The MCP server uses stdio transport, which means it can be used directly with MCP clients that support this transport type.

Installation

You can install our MCP locally for now. Remote support is coming. For developers that want access to the production environment and earn commission on sales, please contact us via our website https://www.jinko.so/.

{
  "mcpServers": {
    "jinko-travel": {
      "command": "npx",
      "args": [
        "jinko-mcp-dev@latest"
      ]
    }
  }
}

Tools

1. find-place

Convert a user's location query into standardized place information with coordinates.

Parameters:

  • query: User's input for place search (e.g., 'New York', 'Paris', 'Tokyo')
  • language (optional): Language for the place search, default: 'en'

This tool is essential when you need latitude and longitude for hotel searches but only have a text description. It accepts city names, hotel names, landmarks, or other location identifiers and returns a list of matching places with their details and precise coordinates.

2. search-hotels

Search for available hotels based on location coordinates and booking requirements.

Parameters:

  • latitude: Latitude of the location
  • longitude: Longitude of the location
  • check_in_date: Check-in date (YYYY-MM-DD), default: '2025-06-25'
  • check_out_date: Check-out date (YYYY-MM-DD), default: '2025-06-26'
  • adults: Number of adults, default: 2
  • children: Number of children, default: 0
  • facilities (optional): Facility IDs to filter hotels by, the IDs can be inferred with facilities resource

This tool returns a paginated list of hotels with their key details including name, address, star rating, price range, and available room types. Each hotel includes summary information about amenities and available rates. The results are limited to 50 hotels per request.

3. load-more-hotels

Retrieve additional hotel results from a previous search using the session_id.

Parameters:

  • session_id: Session ID from a previous search-hotels or load-more-hotels response

This tool continues pagination from a previous search-hotels request, returning the next batch of hotels with the same format and details as the original search.

4. get-hotel-details

Retrieve comprehensive details about a specific hotel identified by its ID.

Parameters:

  • session_id: The session ID from a previous search
  • hotel_id: ID of the hotel to get details for

This tool provides more extensive information than what's available in search results, including complete descriptions, all available room types, detailed rate information, cancellation policies, and full amenity lists.

5. book-hotel

Initiate a hotel booking process for a specific hotel and rate option.

Parameters:

  • session_id: The session ID from a previous search
  • hotel_id: ID of the hotel to book
  • rate_id: ID of the specific rate option the user has selected

This tool creates a booking quote for the specified hotel and room, and returns a payment link for the user to complete the booking.

6. get-facilities

Retrieve a list of hotel facilities in the specified language.

Parameters:

  • language: Language code for facility names (en, es, it, he, ar, de), default: 'en'

This tool must be called before search-hotels whenever the user mentions specific hotel amenities or requirements. It returns facility IDs that must be used with the search-hotels tool's facilities parameter to properly filter hotels.

Resources

The standard server provides hotel facilities data as resources in multiple languages:

  • English (en)
  • Spanish (es)
  • Italian (it)
  • Hebrew (he)
  • Arabic (ar)
  • German (de)

These resources can be accessed using the hotel://facilities/{language} URI pattern, where {language} is one of the supported language codes.

Facilities Data

The server includes built-in facilities data to provide information about hotel amenities. This data is used to filter hotel searches based on specific amenities requested by users.

Each facility includes:

  • facility_id: Unique identifier for the facility
  • facility: Name of the facility in English
  • sort: Sort order for display
  • translation: Array of translations in different languages

When using the get-facilities tool, the available facilities are returned as part of the response, allowing LLMs to use the appropriate facility IDs when filtering hotel searches with the search-hotels tool.

Workflow Example

A typical workflow for using the standard server would be:

  1. Use find-place to convert a user's location query into coordinates
  2. Use get-facilities to identify facility IDs for any amenities the user requested
  3. Use search-hotels with the coordinates and facility IDs to find matching hotels
  4. Use load-more-hotels if more results are needed beyond the initial 50
  5. Use get-hotel-details to retrieve comprehensive information about a specific hotel
  6. Use book-hotel to initiate the booking process and generate a payment link

Publishing to npm

To publish this package to npm, follow these steps:

  1. Make sure you have an npm account and are logged in:

    npm login
    
  2. Update the version number in package.json:

    npm version patch  # or minor or major
    
  3. Build the project:

    npm run build
    
  4. Publish to npm:

    npm publish
    

After publishing, users can install and run the package using npm or npx as described in the Installation section.

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选