MCP ExplorerExplorer

Travelbird

@Heisenberg-Gaoon a year ago
10 NOASSERTION
FreeCommunity
AI Systems
# An Intelligent Travel Planning Assistant Based on the Large Model MCP

Overview

What is Travelbird

TravelBird is an intelligent travel planning assistant based on the MCP model, designed to help users plan travel routes, recommend hotels, and provide related travel operations.

Use cases

Use cases for TravelBird include asking for travel routes from one city to another, recommending nearby attractions, and planning walking routes while considering weather conditions.

How to use

To use TravelBird, you need to set up a Node.js environment, install the required packages using pip and Playwright, and configure the necessary API keys in a .env file. After configuration, you can start using the assistant for travel inquiries.

Key features

Key features of TravelBird include route planning, hotel recommendations, and the ability to provide weather updates and nearby attractions based on user queries.

Where to use

TravelBird can be used in various fields related to travel and tourism, including personal travel planning, travel agencies, and educational institutions for student travel.

Content

即使慢,驰而不息,纵令落后,纵令失败,但一定可以达到他所向往的目标。 —— 鲁迅

🤝建议🤝

我们渴望得到您的建议,如果您有任何想法,请发送邮件到 [email protected],我们随时等待您的建议!

如何使用

下载 Node.js,URL:https://nodejs.org/en

火山模型 deepseek-v3 配置 URL: https://console.volcengine.com/ark/region:ark+cn-beijing/openManagement?LLM={}&OpenTokenDrawer=false

高德地图:https://console.amap.com/dev/key/app. 创建一个应用,绑定服务为web端的,此时会有Key 和 安全密钥,这两个根据注释填入index前端页面,仔细找一下

AP_APP_ID 是支付宝的应用 ID,AP_APP_KEY 是支付宝的私钥, AP_PUB_KEY 是支付宝的公钥,这三个参数不配置也不影响使用。

API_KEY 是大模型的 API_KEY , BASE_URL 是大模型的固定 URL,MODEL_NAME 是选用的模型名称, Gao_De_API 和高德 MCP 中的 AMAP_MAPS_API_KEY 是高德地图创建应用时提供的 Key

运行在web.py生成的前端网页,本地电脑接口 8080 中使用

pip install playwright(非必要,此功能目前注释了)

配置API

MCP sever configuration

##Playwright-MCP(非必要,此功能目前注释了)

{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp@latest"
      ]
    }
  }
}

##Gaode-MCP

##Alipay-MCP(非必要,API和KEY没有配置不影响运行)

注意:npx是运行环境,必须下载node.js,不然会报错!配置的时候,如果MCP是需要密钥的,就要注意配置"env",没有密钥的,“env"就是空,配置MCP的关键参数:“args”:的第二个参数”@alipay/mcp-server-alipay",这是MCP的地址。

🌎小鸟地图🌎

这是一个旅行助手,它能帮助您规划旅行路线、酒店推荐等与旅行相关的操作,类似的,你可以询问它从昆明到北京的路线,或者云南大学东陆校区
附近的景点推荐,并给我一些步行的路线规划
,不用担心天气问题,它会一并输出。

主体框架图

项目流程图

旅游询问框架图

具体流程图

使用说明

需要创建一个.env文件来保存自己的接口信息,里面的参数包括:

  • API_KEY = “Your_API_KEY”
  • BASE_URL = “Your_Model_BASE_URL”
  • MODEL_NAME = “deep_seek-v3"
  • Gao_De_API = “Gaode_MCP_API”
  • AMAP_MAPS_API_KEY = “Gaode_MCP_API”
  • AP_APP_ID = “alipay_APP”
  • AP_APP_KEY = “alipay_KEY”
  • AP_PUB_KEY= “alipay_Public_KEY”

配置好参数后就可以使用了
一些运行截图:
image
image
image
image
54dd09c257aa21ac0bd61329ba0f6a4
image

Star History

Star History Chart\

免责申明

本项目是由个人开发的,仅供学习、研究和非商业用途。我并不对本软件的任何使用、结果或影响承担责任。

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers