baranwang
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"tung-shing": {
"args": [
"-y",
"mcp-tung-shing@latest"
],
"command": "npx"
}
}
}
可用工具 (1 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
get-tung-shing
获取通胜黄历,包括公历、农历、宜忌、吉凶、冲煞等信息
该工具无需必填参数,直接调用即可
服务介绍
Tung Shing MCP Service
Simplified Chinese | English
A traditional Chinese almanac (Tung Shing) calculation service, based on the Model Context Protocol (MCP)
✨ Features
- 📅 Gregorian and Lunar Calendar Conversion - Supports mutual conversion between Gregorian and lunar dates
- 🍀 Daily Auspicious and Inauspicious Activities - Provides detailed information on daily fortune, auspicious, and inauspicious activities
- 🕐 Hour Information - Details of fortune, auspicious, and inauspicious activities for the twelve hours (Zi, Chou, Yin, etc.)
- 🔮 Astrological Elements - Detailed data on traditional astrology including the Five Elements, Deities, and Constellations
🚀 Installation and Usage
Add the following to your MCP configuration file:
json
{
"mcpServers": {
"tung-shing": {
"command": "npx",
"args": ["-y", "mcp-tung-shing@latest"]
}
}
}
⚙️ Tools
get-tung-shing
Fetches almanac information for a specified date.
Parameters:
| Parameter Name | Type | Required | Default | Description |
|---|---|---|---|---|
startDate |
string | No | Today | Start date, format: "YYYY-MM-DD" |
days |
number | No | 1 | Number of days to fetch |
includeHours |
boolean | No | false | Whether to include hour information |
tabooFilters |
array | No | - | Filter types of auspicious and inauspicious activities, conditions are OR-based |
tabooFilters[].type |
1 | 2 | Yes | - |
tabooFilters[].value |
string | Yes | - | The specific auspicious or inauspicious activity to filter |
🤝 Contributions
We welcome Issues and Pull Requests to improve this project.