生活即時查詢
生活即時查詢:油價、統一發票、國定假日、樂透。台灣繁體中文 MCP 工具。
我该使用它吗
质量与安全性
B
发现(7)
- LOW在 get_holidays 中
- LOW在 is_holiday 中
- LOW在 get_lottery_results 中
- LOW在 check_lottery 中
- LOW在 get_fuel_prices 中
- LOW在 get_invoice_numbers 中
- LOW在 check_invoice 中
基于对工具定义和协议合规性的自动分析。
上下文开销
~789token 数(工具定义)
~392 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.62%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"life": {
"url": "https://life.penguindriver.com/mcp"
}
}
}远程端点
https://life.penguindriver.com/mcpstreamable-http它能做什么
工具清单
工具(7)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get_holidays(year)
取得台灣國定假日、連假與補班日(依人事行政總處辦公日曆),含今天是否放假、下一個連假。
输入模式
{
"type": "object",
"properties": {
"year": {
"type": "number",
"description": "年份(西元),不填則回傳今天起的近期資訊"
}
}
}⚪is_holiday(date)
查詢台灣某一天是否放假(含補假、補班)。
输入模式
{
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "YYYY-MM-DD"
}
},
"required": [
"date"
]
}🟢get_lottery_results(game, period)
取得台灣彩券大樂透、威力彩、今彩539 開獎號碼與各獎項獎金。
输入模式
{
"type": "object",
"properties": {
"game": {
"type": "string",
"enum": [
"lotto649",
"superlotto638",
"daily539"
]
},
"period": {
"type": "string",
"description": "期別,不填為最新"
}
}
}🟢check_lottery(game, numbers, second, period)
幫使用者對彩券:輸入遊戲與號碼,回傳對中幾個、獎項、每注獎金與兌獎期限。
输入模式
{
"type": "object",
"properties": {
"game": {
"type": "string",
"enum": [
"lotto649",
"superlotto638",
"daily539"
]
},
"numbers": {
"type": "array",
"items": {
"type": "number"
}
},
"second": {
"type": "number",
"description": "威力彩第二區(1–8)"
},
"period": {
"type": "string"
}
},
"required": [
"game",
"numbers"
]
}🟢get_fuel_prices
取得台灣中油本週油價(92、95、98 無鉛汽油、酒精汽油、超級柴油,每公升新台幣)與比上週漲跌。
输入模式
{
"type": "object",
"properties": {}
}🟢get_invoice_numbers(period)
取得台灣統一發票中獎號碼(特別獎、特獎、頭獎)與領獎期間。
输入模式
{
"type": "object",
"properties": {
"period": {
"type": "string",
"description": "期別,例如 115-05-06;不填為最新一期"
}
}
}🟢check_invoice(number, period)
幫使用者對統一發票:輸入 8 碼發票號碼,回傳是否中獎、獎別、獎金與領獎期間。
输入模式
{
"type": "object",
"properties": {
"number": {
"type": "string",
"description": "8 碼發票號碼"
},
"period": {
"type": "string",
"description": "期別,不填為最新一期"
}
},
"required": [
"number"
]
}社区
证据
最近观测
已验证未记录版本7 个工具