Skip to main content

特色民宿搜索MCP Server - 景区民宿、古镇客栈、乡村精品民宿,结构化搜索+AI语义推荐(飞猪旅行数据)

Project description

🏡 特色民宿搜索

特色民宿搜索与智能推荐MCP服务,连接大语言模型与全国民宿数据,为AI助手、旅行智能体及Cursor/Windsurf等IDE提供景区民宿、古镇客栈、乡村精品民宿等非标住宿的搜索与推荐能力。

✨ 核心特性

▸ 结构化搜索:按目的地、关键词、景点、价格等多维度搜索民宿,返回名称、价格、地址、预订链接 ▸ AI语义推荐:用自然语言描述需求,AI理解意图并推荐最匹配的特色民宿,包含风格、设施、景观等维度详情 ▸ 零配置接入:无需额外申请Key,配置即接入

🛠 工具

search_homestay

搜索特色民宿:按条件搜索,返回民宿列表(名称、价格、地址、预订链接)。

参数:

dest_name(string,✅必填):目的地,如"大理""莫干山""三亚" ▸ key_words(string,选填):关键词,如"海景""亲子""山景""温泉" ▸ poi_name(string,选填):附近景点,如"洱海""灵隐寺" ▸ check_in_date(string,选填):入住日期,YYYY-MM-DD格式 ▸ check_out_date(string,选填):退房日期,YYYY-MM-DD格式 ▸ max_price(int,选填):最高价格(人民币),0表示不限 ▸ sort(string,选填):排序方式,distance_asc/rate_desc/price_asc/price_desc


recommend_homestay

智能民宿推荐:用自然语言描述需求,AI推荐最匹配的特色民宿。

参数:

query(string,✅必填):自然语言需求描述

📝 使用示例

▸ "大理海景民宿500以内" → search_homestay搜索 ▸ "莫干山带院子能烧烤的亲子民宿,要有山景" → recommend_homestay推荐 ▸ "杭州西湖附近民宿" → search_homestay按景点搜 ▸ "丽江古城纳西风格小院,适合两个人安静住几天" → recommend_homestay推荐

📦 安装

pip install mcp-homestay-finder

⚙️ 配置

API密钥为选填,不配置也可直接使用服务:

export HOMESTAY_API_KEY="your_api_key_here"
export HOMESTAY_SIGN_SECRET="your_sign_secret_here"

🚀 MCP客户端配置

{
  "mcpServers": {
    "homestay-finder": {
      "command": "uvx",
      "args": ["mcp-homestay-finder"],
      "env": {
        "HOMESTAY_API_KEY": "",
        "HOMESTAY_SIGN_SECRET": ""
      }
    }
  }
}

💡 HOMESTAY_API_KEY和HOMESTAY_SIGN_SECRET留空即可使用内置密钥。

📄 许可证

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_homestay_finder-1.0.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_homestay_finder-1.0.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file mcp_homestay_finder-1.0.3.tar.gz.

File metadata

  • Download URL: mcp_homestay_finder-1.0.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for mcp_homestay_finder-1.0.3.tar.gz
Algorithm Hash digest
SHA256 28beb89bb8edfb0d6880ab63fbec558cda1b7b7b6b0906ddbfef2043de1ccf6c
MD5 01a850a8d02e72407393fae8191344c4
BLAKE2b-256 7c7c5a5cb94ddd6a8eeee31140c6c653b5f92907e7494cf73208cce1f8e58dba

See more details on using hashes here.

File details

Details for the file mcp_homestay_finder-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_homestay_finder-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5479c9517266bf78fb7bdd695079a2745654b59fb365d8f1341cde0365bd439a
MD5 957570bb5fead44fcdb3c4c1fc41e53b
BLAKE2b-256 f362e3119c7da55387d0b302633bfca7c52de7915f5166b2d70b708c28edc2b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page