VeloceMCP
A read-only MCP server that enables restaurant staff to query Veloce POS data using natural language, supporting sales summaries, payment breakdowns, and weekly reports.
README
Veloce MCP Server
A read-only Model Context Protocol (MCP) server that lets restaurant staff query their Veloce POS data in plain language through an MCP client — Claude Desktop, the MCP Inspector, Claude Code, etc.
Built with the FastMCP Python SDK. Every Veloce endpoint it touches is read-only — there are no tools that can change or delete data.
About this repository. This is a generalized, portfolio version of a server originally built for a multi-location restaurant client. Credentials, real location names, and all business data have been removed; the location names here (
Downtown,Midtown, …) are placeholders you can rename. Veloce is a third-party POS platform and is not affiliated with this project.
What it can answer
| Tool | Answers questions like |
|---|---|
list_locations |
"Which locations can I ask about?" |
get_sales_summary |
"What were Downtown's total sales last Saturday?" |
get_daily_sales |
"Show me Uptown day-by-day for last week." |
get_payment_breakdown |
"How much came in via Uber vs cash at Midtown yesterday?" |
get_top_products |
"What were Eastside's 10 best sellers in May?" |
get_category_sales |
"Food vs beverage split at Westside last month?" |
get_hourly_sales |
"What's the busiest hour at Downtown on Sundays?" |
get_service_mode_sales |
"Dine-in vs delivery at Midtown last week?" |
get_employee_sales |
"Who were the top servers at Uptown in April?" |
get_refunds_and_voids |
"Any unusual refunds at Eastside yesterday?" |
Weekly reports
| Tool | Produces |
|---|---|
get_upsell_report |
Per-server upsell performance: beverages + food upgrades + sides as a % of each server's sales. |
get_lto_report |
Per-server Limited Time Offer sales vs. the tracked LTO list. |
get_avm_report |
Average Meal Value (net sales ÷ meal count) with a daily breakdown. |
LTO items — managed as data, not code
The Limited Time Offer list lives in lto_items.json and is matched as case-insensitive substrings. When a promo changes, update it by conversation instead of combing the item list:
| Tool | Use |
|---|---|
get_lto_items / set_lto_items |
View or replace the tracked LTO list. |
search_menu_items |
Find sold items by keyword (e.g. every "blueberry" item). |
find_new_items |
Surface items that started selling recently but weren't selling in an earlier baseline period — i.e. likely new LTOs. |
Typical flow: "What new items showed up this month at Downtown?" → find_new_items lists candidates → "Track those as LTOs" → set_lto_items saves them → get_lto_report uses them automatically.
It also exposes the location list as a resource (veloce://locations) and a daily_briefing prompt that produces an end-of-day manager summary.
Setup
-
Install dependencies (Python 3.10+):
cd veloce-mcp-server python3 -m venv .venv && source .venv/bin/activate pip install -r requirements.txt -
Configure your locations. Edit
_LOCATION_KEYSinconfig.pyto match your locations, then add credentials. Each location is a separate Veloce login, so each needs its own email/password.cp .env.example .envOpen
.envand fill in the values. Never commit.env— only.env.example(which holds no secrets) is safe to share.
Test it locally with the MCP Inspector
mcp dev server.py
This opens the browser-based Inspector. Click Connect, then try a tool: pick get_sales_summary, enter a location (e.g. Downtown) and a date, and run it. This is the fastest way to confirm credentials and the connection work before wiring it into a client.
Connect it to Claude Desktop
Add this to your Claude Desktop config file
(~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"veloce": {
"command": "/absolute/path/to/veloce-mcp-server/.venv/bin/python",
"args": ["/absolute/path/to/veloce-mcp-server/server.py"]
}
}
}
Use absolute paths, then restart Claude Desktop. The Veloce tools will appear and you can ask questions like "What were Downtown's sales last Saturday and how did people pay?"
Notes & conventions
- Dates are
YYYY-MM-DD. Where a range is optional it defaults to today. - Tokens are cached in memory per location and refreshed automatically on a 401, so the server logs in once per location per session.
- Locations are matched case-insensitively and by prefix (
down→Downtown). - The server only loads locations that have both an email and password set, so it still runs with a subset configured.
Architecture
server.py— defines the MCP tools, resource, and prompt (FastMCP).veloce_client.py— per-location auth, in-memory token caching, automatic re-auth on 401, and a generic authenticated GET helper. All calls are read-only.config.py— loads per-location credentials from the environment and resolves friendly location names.lto_items.json— the editable Limited Time Offer list.
Extending it
The Veloce API exposes many read-only endpoints; this server wraps the most useful ~10. To add another (e.g. /sales/taxes, /transactions/giftCards, /sales/discounts), add a new @mcp.tool() function in server.py that calls vc.api_get(location, "/the/path", {params}). See the Veloce API documentation for the full endpoint list.
License
MIT — see LICENSE.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。