Oleafly is a live collaborative LaTeX, Typst and Markdown editor for research that offers a local MCP server and an oleafly mcp stdio command so outside AI clients can use its project tools.

Canteen data MCP server for querying staff canteen dining counts
A Model Context Protocol server that queries staff canteen dining-count data and returns breakfast, lunch and total headcount statistics for a given date range.
WHAT IT DOES
- •Exposes a get_canteen_data tool that queries dining headcounts over a date range specified with start and end dates in YYYYMMDD format.
- •Supports a relative period parameter with options such as today, yesterday, day before yesterday, this week, last week, this month and last month.
- •Returns text statistics containing breakfast headcount, lunch headcount and total headcount.
- •Uses environment variables for the API authentication token and API base URL.
BEST FOR
- •Looking up staff canteen breakfast and lunch attendance for specific dates.
- •Retrieving canteen dining statistics for relative periods like this week or last month without specifying exact dates.
ABOUT MCP-SERVER-CANTEEN
Canteen data MCP server for querying staff canteen dining counts is cataloged as an MCP server attributed to wrdan. A Model Context Protocol server that queries staff canteen dining-count data and returns breakfast, lunch and total headcount statistics for a given date range. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for Canteen data MCP server for querying staff canteen dining counts are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Which time periods can be requested?
The period parameter accepts today, yesterday, day before yesterday, this week, last week, this month and last month.
What format should dates use?
Dates use YYYYMMDD format, for example 20250331.
上游原版 README
README.md · 317a88da0bc0 · 采集于 2026-11-13 12:26:28 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
餐厅数据 MCP Server
本服务用于查询职工餐厅就餐人数数据,提供指定日期范围内的早餐和午餐就餐人数统计。
docs: https://modelcontextprotocol.io/quickstart/server
安装
通过 pip 安装
pip install mcp-server-canteen
通过 uv 安装
uv pip install mcp-server-canteen
开发环境安装
git clone https://github.com/wrdan/mcp-server-canteen.git
cd mcp-server-canteen
uv pip install -e .
环境变量配置
在使用服务之前,需要配置以下环境变量:
CANTEEN_API_TOKEN: API认证令牌CANTEEN_API_BASE: API基础URL
环境变量获取方式
- 联系系统管理员获取 API 认证令牌
- API基础URL通常由系统管理员提供
设置环境变量
Windows
set CANTEEN_API_TOKEN=your_token
set CANTEEN_API_BASE=your_base_url
Linux/Mac
export CANTEEN_API_TOKEN=your_token
export CANTEEN_API_BASE=your_base_url
服务运行
使用 uv 运行
uv run mcp-server-canteen
使用 Python 运行
python -m mcp_server_canteen.server
功能说明
服务提供以下功能:
get_canteen_data: 查询指定日期范围内的餐厅就餐人数数据- 参数:
start_date: 开始日期,格式为YYYYMMDD(如20250331)end_date: 结束日期,格式为YYYYMMDD(如20250331)period: 相对时间范围,可选值:today: 今天yesterday: 昨天day_before_yesterday: 前天this_week: 本周last_week: 上周this_month: 本月last_month: 上月
- 返回: 包含早餐人数、午餐人数和总计人数的文本统计
- 参数:
使用 Claude for Desktop 作为客户端测试
配置
打开并编辑文件: ~/Library/Application\ Support/Claude/claude_desktop_config.json,内容如下:
使用 uvx
"mcpServers": {
"canteen": {
"command": "uvx",
"args": ["mcp-server-canteen"],
"env": {
"CANTEEN_API_TOKEN": "CANTEEN_API_TOKEN",
"CANTEEN_API_BASE": "ANTEEN_API_BASE"
}
}
}
使用 uv
"mcpServers": {
"canteen": {
"command": "uv",
"args": ["run", "mcp-server-canteen"],
"env": {
"CANTEEN_API_TOKEN": "CANTEEN_API_TOKEN",
"CANTEEN_API_BASE": "ANTEEN_API_BASE"
}
}
}
本地测试
"mcpServers": {
"canteen": {
"command": "python",
"args": ["-m", "mcp-server-canteen.server"],
"env": {
"CANTEEN_API_TOKEN": "CANTEEN_API_TOKEN",
"CANTEEN_API_BASE": "ANTEEN_API_BASE"
}
}
}
重启 Claude for Desktop
重启不报错,且有锤子图标显示可用的 MCP Tool,即为成功;否则,查看日志排查
错误处理
常见错误及解决方案
-
环境变量未设置
- 错误信息:
缺少必要的环境变量配置 - 解决方案:确保已正确设置所有必需的环境变量
- 错误信息:
-
日期格式错误
- 错误信息:
日期格式不正确,请使用YYYYMMDD格式 - 解决方案:检查日期格式是否正确,例如:20240321
- 错误信息:
-
API请求失败
- 错误信息:
HTTP请求失败或API返回错误 - 解决方案:
- 检查网络连接
- 验证API令牌是否正确
- 确认API基础URL是否正确
- 错误信息:
-
服务器连接失败
- 错误信息:
无法连接到MCP服务器 - 解决方案:
- 确保服务器正在运行
- 检查端口是否被占用
- 验证配置文件是否正确
- 错误信息:
Claude for Desktop 日志
日志文件夹:~/Library/Logs/Claude
来自具体 MCP Server 的日志:mcp-server-canteen.log
MCP 连接通用日志:mcp.log
工作原理
- 客户将您的查询发送给 Claude
- Claude 分析可用的工具并决定使用哪一个
- 客户端通过 MCP 服务器执行所选工具
- 结果被发回给 Claude
- Claude 制定了自然语言响应
- 答案已经展示给你了!
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Canteen data MCP server for querying staff canteen dining counts from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-canteen)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related productivity work MCP Servers
Alternative and complementary servers in the same category
Buddy is an Android app that offers its phone tools through a local MCP server to Claude Code, Codex, OpenCode, Antigravity, and Grok sessions.

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

