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.0.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.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_homestay_finder-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c788d5aee95dcef599fb56276d4bb2328ff378ac78772676dced3b628a856359
MD5 9037a5952ffe28eb3d75462a551e1f1f
BLAKE2b-256 8944cf4f1d6b2436136f0641cf6585fcc0703afbdcb1490381b75eb77a143bd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_homestay_finder-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2dfce90e1dc526a138c0b49615f8180381521554b0a1cabead9eeb7bfbc50e9a
MD5 43143d14f670c20b43d9df1323f836bc
BLAKE2b-256 e5568b4caefaf21db50791f38d74cffd92a91f9b263e4eb7d49a6f0dcd1dff75

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