npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@meituan-travel/ht-ai

v0.0.1

Published

美团酒旅对外 Skill CLI

Readme

美团酒旅 AI (ht-ai)

您的一站式 AI 旅行管家,由美团官方出品。无论是查机票、订酒店、找景点,还是规划行程,一句话即可搞定。

Setup

  • 获取 Token — 打开 developer.meituan.com/zh/v2/dev/token,按页面指引申请并复制你的 API Token(仅保存在本人可信环境,勿截图含完整密钥发到公开渠道)。

  • 提供 Token — 在 skill 运行环境中配置环境变量:

    export MEITUAN_HT_TOKEN=your-token
  • 验证访问 — 发起一次真实查询确认可用:

    npx @meituan-travel/ht-ai@latest query --query "北京到上海的机票"

Security & trust (before production use)

  • Endpoint:确认请求发往官方域名(https://mcp-open-cater.meituan.com),勿在未核实的情况下改用未知域名。
  • Key scope / billing:向提供方确认 Token 权限、计费与配额,避免误用或超额。
  • External content:响应来自美团酒旅服务,可能含链接、营销文案或结构化信息;按你方产品策略决定是否展示、是否需过滤或摘要,不要假定第三方正文永远无害或永远准确。
  • Invocation:本技能适合旅行类意图;若平台支持限制自动调用频率或范围,可按合规要求配置。

使用方法

安装方式

npx 免安装执行(推荐,始终使用最新版):

npx @meituan-travel/ht-ai@latest query --query "北京到上海的机票"

全局安装:

npm install -g @meituan-travel/ht-ai
ht-ai query --query "北京到上海的机票"

参数说明

| 参数 | 必填 | 说明 | |------|------|------| | --query | 是 | 用户的自然语言查询 | | --city | 否 | 城市名称(默认北京) | | --origin-query | 否 | 用户原始查询内容(用于统计,不影响结果) |

全局选项

| 选项 | 说明 | |------|------| | -o json | 输出原始 JSON(也可设置环境变量 MEITUAN_RAW_JSON=1) | | -v, --version | 查看版本号 | | -h, --help | 查看帮助 |

适用场景

| 场景 | 示例查询 | |------|---------| | 机票查询 | "北京到上海明天的机票" / "去三亚最便宜的航班" | | 酒店预订 | "上海外滩附近五星级酒店" / "三亚海景房预算500" | | 火车票查询 | "北京到上海的高铁票" / "明天成都到重庆的动车" | | 景点推荐 | "杭州西湖附近景点" / "带孩子去迪士尼攻略" | | 行程规划 | "云南7天行程规划,预算5000" / "日本自由行攻略" |

注意事项

  • 默认将 API 返回的 Markdown 如实展示给用户
  • 响应不完整或超时时,可重试或提示用户稍后再试;勿在日志中打印完整 Token。
  • 退出码:0 成功 / 1 普通错误 / 3 鉴权失败(Token 无效或未配置)。