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 🙏

© 2025 – Pkg Stats / Ryan Hefner

sh-disney-mcp

v0.1.2

Published

sh-disney-mcp

Downloads

13

Readme

项目介绍

sh-disney-mcp 是一个基于 Model Context Protocol (MCP) 的mcp server,旨在通过标准化的接口,帮助大模型快速获取上海迪士尼乐园的门票价格和售卖状态信息。

NPM 包地址sh-disney-mcp

功能特性

| 功能描述 | 说明 | 状态栏标记 | | -------------------- | ---------------------------------------- | ---------- | | 查询一日门票价格信息 | 获取上海迪士尼乐园一日门票的最新价格数据 | ✅ 支持 | | 查询一日门票售卖情况 | 检查一日门票是否售罄,支持未来日期查询 | ✅ 支持 | | 查询两日门票价格信息 | 获取上海迪士尼乐园两日门票的最新价格数据 | ✅ 支持 | | 查询两日门票售卖情况 | 检查两日门票是否售罄,支持未来日期查询 | ✅ 支持 |

安装指南

前提条件

  • Node.js 16.x 或更高版本
  • npm 或 pnpm 包管理器

安装步骤

  1. 克隆项目仓库
git clone [仓库地址]
cd sh-disney-mcp
  1. 安装依赖
pnpm install
  1. 构建项目
pnpm run build
  1. 本地调试
pnpm run inspect

使用说明

集成MCP host

{
  "mcpServers": {
    "sh-disney-mcp": {
      "command": "npx",
      "args": ["-y", "sh-disney-mcp"]
    }
  }
}

工具函数说明

getOneDayTicketSaleInfo

功能:检查一日门票的售卖情况,可以用来查看从今天开始未来30天的门票是否售罄。

参数:无

返回值:包含日期和门票状态的文本信息

getOneDayTicketPrice

功能:获取一日门票的不同类型门票的价格信息。

参数

  • date: string - 要查询的日期,格式为"yyyy-MM-dd",例如"2023-12-25"

返回值:包含不同类型门票价格的文本信息

getTwoDayTicketSaleInfo

功能:检查两日门票的售卖情况,可以用来查看从今天开始未来30天的门票是否售罄。

参数:无

返回值:包含日期和门票状态的文本信息

getTwoDayTicketPrice

功能:获取两日门票的不同类型门票的价格信息。

参数

  • date: string - 要查询的日期,格式为"yyyy-MM-dd",例如"2023-12-25"

返回值:包含不同类型门票价格的文本信息

许可证

本项目采用 MIT 许可证 - 详情请查看 LICENSE 文件

贡献指南

欢迎提交 Issues 和 Pull Requests 来帮助改进这个项目。在提交代码前,请确保运行代码质量检查工具以保持代码风格的一致性。