venue-ops-mcp
Provides read-only access to daily trading figures for multi-site restaurant groups, detecting anomalies in control blocks such as void rates and labor percentages to uncover subtle financial leaks.
README
venue-ops-mcp
An MCP server that gives Claude or any MCP client direct, read-only access to the daily trading figures of a multi-site restaurant group — and, more to the point, to the numbers where money leaves without anyone writing it down.
You: is anything leaking this week?
Claude: Eixample (BCN-01) — voided tickets have drifted from 1.55% of gross
to 4.60% over the last seven days, against a 28-day baseline. That is
799.16 EUR over the window. It is not a spike on one shift; it is a slope
across the whole week, which is the shape a till problem makes.
Why this exists
Most reporting tools answer the question everybody already asks: what did we sell? Sales are the easy number. They are on the till, on the dashboard, in the WhatsApp group by ten past midnight.
The numbers that decide whether a site makes money are discounts, comped items and voided tickets — the control block — and they almost never reach a daily report. A void rate sliding from 1% to 4% over three weeks does not look like anything on any given night. It looks like a bad Tuesday, then a quiet Thursday. It only looks like a problem when you compare a window against the window before it, which is what this server does.
The thresholds here are not copied from a statistics textbook. They come from having run venues.
Tools
| Tool | What it answers |
|---|---|
venue_ops_list_venues |
Which sites exist and what period the data covers |
venue_ops_get_day |
Everything about one day: sales by channel, covers, average ticket, control block, labour |
venue_ops_compare_weekday |
Was this Saturday actually bad, or does it just feel bad? |
venue_ops_period_summary |
Totals for a range, per venue and for the group |
venue_ops_find_anomalies |
What is moving against its own baseline, in euros |
Every tool is read-only, annotated as such, and takes response_format: "markdown" for a person or "json" for a program.
The two shapes of anomaly
venue_ops_find_anomalies compares the last 7 days against the 28 before them
and reports two different things, because they mean different things:
- Drift — the whole recent window has moved. An unfixed rota, a till problem, a manager who has started comping to keep the peace. This is the expensive one and the one nobody spots.
- Spike — one day far outside the baseline. Usually a promotion nobody logged. Cheap to explain, worth confirming.
Findings under 40 EUR are dropped. They are real and they are not worth a phone call, and a report that cries wolf gets ignored by week three.
The data
data/operations.json is synthetic. Three venues, 182 days, generated by
scripts/generate_data.py from a fixed seed so results are reproducible. It
is not a real business and no real business is identifiable from it.
The numbers are invented; the shape is not. Weekday seasonality, the dine-in/delivery split, discount and void rates and labour percentage all sit inside the bands you see in casual dining.
Three anomalies are planted on purpose, so the detection has something real to find and so anyone can check that it works:
| Venue | What | When |
|---|---|---|
| BCN-01 | Void rate drifts 0.9% → 5.2% and stops | 15 Jun – 5 Jul 2026 |
| MAD-02 | Labour percentage blows out to 41% for one week | 6 – 12 Apr 2026 |
| MAD-01 | Two isolated discount days at 14% | 9 May, 18 Jul 2026 |
To point this at a real point-of-sale system, replace the loader in
venue_ops_mcp/data.py. The tool layer does not care where rows come from.
Install
pip install -r requirements.txt
python scripts/generate_data.py
Use it with Claude Desktop
Add this to claude_desktop_config.json:
{
"mcpServers": {
"venue-ops": {
"command": "python",
"args": ["-m", "venue_ops_mcp.server"],
"cwd": "/absolute/path/to/venue-ops-mcp"
}
}
}
Restart Claude Desktop. Then ask it things like:
- Which venues do we have?
- How did Gran Via do last Saturday compared with the Saturdays before it?
- Check Barcelona for problems in the week ending 5 July.
- What did the group do in July?
Verify it
python scripts/smoke_test.py # every tool, and the planted anomalies
python scripts/stdio_check.py # the MCP handshake a real client performs
smoke_test.py asserts that the Barcelona drift is still detected and that a
clean window produces no findings. A detector that fires on everything is
worse than no detector, so both directions are tested.
Built with
Python 3.10+, the MCP Python SDK (MCPServer, stdio transport), Pydantic v2
for input validation. No external services, no credentials, no network calls —
the server only reads a local file.
Licence
MIT.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。