China Travel Mcp

by mako202605

331 downloads
Not rated
GitHub

Description

<!-- mcp-name: io.github.mako202605/china-travel-mcp --> # China Travel MCP [![PyPI version](https://badge.fury.io/py/china-travel-mcp.svg)](https://pypi.org/project/china-travel-mcp/) [![License…

About

<!-- mcp-name: io.github.mako202605/china-travel-mcp --> # China Travel MCP [![PyPI version](https://badge.fury.io/py/china-travel-mcp.svg)](https://pypi.org/project/china-travel-mcp/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) An MCP (Model Context…

Details

Author
mako202605
Downloads
331
Categories
Media

- Search hotels across China with real-time pricing and booking links
- Query domestic and international flights to/from China
- Discover top attractions, ticket prices, and opening hours
- Generate complete multi-day travel itineraries
- Get practical advice on visa, transportation, and culture

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name China Travel Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via pip install china-travel-mcp, then run as a standalone server with china-travel-mcp or configure in an MCP client like Claude Desktop or Cursor using the uvx command.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "china travel mcp": {
            "china-travel": {
                "command": "uvx",
                "args": [
                    "china-travel-mcp"
                ]
            }
        }
    }
}

McpServers

{
    "china-travel": {
        "command": "uvx",
        "args": [
            "china-travel-mcp"
        ]
    }
}

China Travel MCP

PyPI version
License: MIT

An MCP (Model Context Protocol) server that provides AI assistants with comprehensive China inbound travel capabilities. Powered by TripGenie API with Trip.com affiliate booking links.

Features

- 🏨 Search Hotels — Find hotels across China with real-time pricing and Trip.com booking links
- ✈️ Search Flights — Query domestic and international flights to/from China
- 🎫 Search Attractions — Discover top attractions, ticket prices, and opening hours
- 📋 Plan Itinerary — Generate complete multi-day travel itineraries
- 💡 Travel Tips — Get practical advice on visa, transportation, payment, safety, and culture

Quick Start

Installation

pip install china-travel-mcp

Run as Standalone Server

china-travel-mcp

Configure in Claude Desktop / Cursor

Add to your MCP client configuration:

{
  "mcpServers": {
    "china-travel": {
      "command": "uvx",
      "args": ["china-travel-mcp"]
    }
  }
}

Build from Source

git clone https://github.com/mako2026/china-travel-mcp.git
cd china-travel-mcp
pip install -e .

Tools

search_hotels

Search hotels in any Chinese city with pricing and booking links.

Parameters:
- city (required) — City name, e.g. "Beijing", "Shanghai", "Xi'an"
- check_in — Check-in date (YYYY-MM-DD)
- check_out — Check-out date (YYYY-MM-DD)
- guests — Number of guests (default: 2)
- budget — Budget level, e.g. "budget", "mid-range", "luxury"
- preferences — Preferences, e.g. "near city center", "with breakfast"

search_flights

Search flights to, from, or within China.

Parameters:
- origin (required) — Departure city, e.g. "Tokyo", "New York"
- destination (required) — Arrival city, e.g. "Shanghai", "Beijing"
- date (required) — Travel date (YYYY-MM-DD)
- trip_type — "one way" or "round trip" (default: "one way")
- cabin — "economy", "business", or "first" (default: "economy")

search_attractions

Discover top attractions and things to do in Chinese cities.

Parameters:
- city (required) — City name, e.g. "Beijing", "Guilin", "Hangzhou"
- days — Number of sightseeing days (default: 1)
- interests — Interests, e.g. "history", "nature", "food", "photography"

plan_itinerary

Generate a complete multi-day travel itinerary.

Parameters:
- city (required) — City name
- days (required) — Number of days
- travelers — Number of travelers (default: 2)
- interests — Travel interests
- budget — Budget level

get_travel_tips

Get practical travel advice for China.

Parameters:
- question (required) — Your travel question in natural language

Examples

Ask your AI assistant:

- "Find me a hotel in Shanghai near the Bund for 3 nights"
- "What flights are available from Tokyo to Beijing next Friday?"
- "What are the must-visit attractions in Xi'an?"
- "Plan a 5-day trip to Chengdu for a couple interested in food and pandas"
- "Do I need a visa to visit China? What about the 144-hour transit visa?"

Supported Languages

The server defaults to English responses. The underlying API also supports: Chinese (zh), Japanese (ja), Korean (ko), Russian (ru), Spanish (es), French (fr), German (de), Arabic (ar), Thai (th), Vietnamese (vi).

Data Source

Powered by Trip.com — the world's leading online travel platform. All booking links include affiliate tracking.

License

MIT

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.