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.2.tar.gz (5.4 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.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_homestay_finder-1.0.2.tar.gz
  • Upload date:
  • Size: 5.4 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.2.tar.gz
Algorithm Hash digest
SHA256 e5f732f1368b026c50fd3788fbe58a54c2591db00926c8d0aee4f8c4c0b1b5a1
MD5 582c2000b3340ea3f1669b5ccc1a50cd
BLAKE2b-256 2d3f35385ccaed9f68ec22914a64b43c40cc6fefdc9ef625ae23b9e33ff27c97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_homestay_finder-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0acfb265634e1af7cf50b563f9b59ef18793e65fcb11bf96511ff5505034dc62
MD5 33d4628b852832e53896566e3526326c
BLAKE2b-256 b2621c3c862baa242f633bd321fe661eb4c82fc3432c887a28ab63daf3886102

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