loading…
Search for a command to run...
loading…
Enables AI assistants to search for hotels globally via the MCP protocol, supporting filters like city, landmark, star rating, and distance.
Enables AI assistants to search for hotels globally via the MCP protocol, supporting filters like city, landmark, star rating, and distance.
License: MIT Python 3.8+ FastMCP
AIGOHOTEL 酒店搜索 MCP Server。通过标准的 Model Context Protocol (MCP) 协议为 AI 助手提供全球酒店搜索能力。
search_hotels - 查询全球酒店信息
必填参数:
可选参数:
{
"hotelId": "酒店ID",
"name": "酒店名称",
"address": "酒店位置",
"destinationId": "目的地",
"latitude": 30.665025, # 纬度
"longitude": 104.066475, # 经度
"starRating": 5.0, # 星级
"bookingUrl": "酒店预定详情页",
"description": "酒店描述",
"imageUrl": "酒店首图",
"areaCode": "国家",
"price": 549.0, # 价格
"hotelAmenities": [
"咖啡厅咖啡厅",
"会议厅会议室",
// ... 部分省略
], # 酒店设施
"hotelRoomAmenities": [], # 房间设施
"tags": [], # 酒店个性化标签
"score": "个性化评分",
"currency": "CNY" # 币种
}
示例 1: 搜索西雅图的酒店
{
"place": "西雅图",
"placeType": "城市"
}
示例 2: 搜索白金汉宫附近的高星级酒店
{
"place": "白金汉宫",
"placeType": "景点",
"checkIn": "2026-01-01",
"starRatings": [4.5, 5.0]
}
目前仅支持streamable-http 传输
# 创建虚拟环境
python -m venv venv
# 激活虚拟环境
# Windows:
venv\Scripts\activate
# Linux/Mac:
source venv/bin/activate
# 安装依赖包
pip install -r requirements.txt
获取 API Key: https://mcp.agentichotel.cn/apply
# Windows (复制文件)
copy .env.example .env
# Linux/Mac (复制文件)
cp .env.example .env
编辑 .env 文件,填入你的 API Key:
AIGOHOTEL_API_KEY=mcp_your_actual_api_key_here
重要:
- 前往 https://mcp.agentichotel.cn/apply 申请 API Key
- API Key 必须以
mcp_开头- 未配置或格式错误将导致 API 请求失败
python server.py
启动成功后会显示:
AigoHotel MCP Server 启动中...
MCP 端点: http://0.0.0.0:8000/mcp (默认)
API Key: 已配置
INFO: Uvicorn running on http://127.0.0.1:8000
如果 API Key 格式错误,会显示警告:
警告: API Key 格式错误,应以 'mcp_' 开头
在 MCP 配置文件中添加以下内容:
{
"mcpServers": {
"aigohotel": {
"url": "http://localhost:8000/mcp"
}
}
}
访问 https://mcp.agentichotel.cn/apply 申请 API Key
本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情。
Выполни в терминале:
claude mcp add aigohotel-mcp-server -- npx Web content fetching and conversion for efficient LLM usage.
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolProvides auto-configuration for setting up an MCP server in Spring Boot applications.
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzНе уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai