mcpField
通
通胜 MCP 服务

通胜 MCP 服务

Local
npmjs.comGames & Entertainment37Updated 69w ago

About 通胜 MCP 服务

The Tung Shing MCP Service provides calculations for the Chinese traditional almanac, including conversion between Gregorian and lunar dates and daily auspicious and inauspicious activities. It suits users who need traditional almanac data.

Key features

  1. 01Gregorian and lunar date conversion
  2. 02Daily auspicious and inauspicious activities
  3. 03Hour-by-hour fortune for the twelve hours
  4. 04Five elements, spirits and star mansion data
  5. 05Filtering dates by taboo-related items

Use cases

  1. 01Looking up auspicious and inauspicious activities for a given date
  2. 02Filtering a date range by activities marked as suitable or unsuitable

MCP support

The service exposes a get-tung-shing tool that returns almanac information for a start date and day count, with options for hour details and activity filters.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"tung-shing": {
"command": "npx",
"args": [
"-y",
"mcp-tung-shing"
]
}
}
}
Run commandnpx -y mcp-tung-shing

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-tung-shing

Tools

1

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
startDatestringNoStart date, as a string in the format "YYYY-MM-DD"
daysanyNoNumber of consecutive days to retrieve
includeHoursbooleanNoWhether to include time-of-day information
tabooFiltersarrayNoMultiple auspicious/inauspicious activity filters, with OR logic between conditions

Details

From the project README

通胜 MCP 服务

smithery badge NPM Version License

简体中文 | English

中国传统黄历(通胜)计算服务,基于 Model Context Protocol (MCP)

✨ 功能特点

  • 📅 公历农历转换 - 支持公历与农历日期的相互转换
  • 🍀 每日宜忌 - 提供每日吉凶、宜忌活动的详细信息
  • 🕐 时辰信息 - 十二时辰(子、丑、寅等)的吉凶宜忌
  • 🔮 命理元素 - 五行、神煞、星宿等传统命理学详细数据

🚀 安装与使用

在你的 MCP 配置文件中添加以下内容:

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

⚙️ 工具

get-tung-shing

获取指定日期的黄历信息

参数:

参数名类型必填默认值描述
startDatestring否当天开始日期,格式:"YYYY-MM-DD"
daysnumber否1获取天数
includeHoursboolean否false是否包含时辰信息
tabooFiltersarray否-筛选宜忌事项类型,条件之间为或关系
tabooFilters[].type1 | 2是-过滤类型:宜(1)、忌(2)
tabooFilters[].valuestring是-要筛选的宜忌事项

🤝 贡献

欢迎提交 Issues 和 Pull Requests 来完善此项目。

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.