Back to MCP directory
publicPublicdnsLocal runtime

mcp-tung-shing

中国传统黄历计算服务,提供公历农历转换、每日宜忌、时辰信息和命理元素查询功能

article

README

🚀 通胜 MCP 服务

通胜 MCP 服务是一个基于 Model Context Protocol (MCP) 的中国传统黄历(通胜)计算服务,能够提供公历农历转换、每日宜忌、时辰信息以及命理元素等丰富功能。

smithery badge NPM 版本 许可证

简体中文 | English

✨ 主要特性

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

📦 安装指南

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

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

📚 详细文档

get-tung-shing

获取指定日期的黄历信息。

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

🤝 贡献

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

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client