RehmTheGreat/foodpanda-ai-mcp
GitHub: RehmTheGreat/foodpanda-ai-mcp
一个非官方的 MCP 服务器,让 AI 助手能以自然语言查询 foodpanda 在 10 个市场的公开餐厅、菜单和价格数据。
Stars: 0 | Forks: 0
# 🐼 foodpanda-ai-mcp
**问问你的 AI 助手附近有什么好吃的 —— 获取真实的答案,来自真实的菜单,基于真实的价格。**
[](https://github.com/RehmTheGreat/foodpanda-ai-mcp/actions/workflows/ci.yml)
[](https://www.npmjs.com/package/foodpanda-ai-mcp)
[](https://nodejs.org)
[](LICENSE)
[](https://modelcontextprotocol.io)
[](tests/)
一个 [MCP](https://modelcontextprotocol.io) 服务器,为 Claude、ChatGPT、Cursor 以及任何
其他 MCP 客户端提供对 foodpanda 在 **10 个国家/地区**公开餐厅数据的**只读**访问权限。
**无需 API key。无需账户。无需登录。它不能订餐。**
## 目录
- [你可以问它什么](#-what-you-can-ask-it)
- [安装](#-install) · [Claude Desktop](#claude-desktop) · [Claude Code](#claude-code) · [Cursor](#cursor) · [ChatGPT 及其他](#chatgpt--other-mcp-clients)
- [工具](#-tools)
- [支持的国家/地区](#-supported-countries)
- [工作原理](#-how-it-works)
- [配置](#-configuration)
- [自托管与部署](#-self-hosting--deployment)
- [故障排除](#-troubleshooting)
- [局限性](#-known-limitations-read-this)
- [开发](#-development)
- [法律与道德](#-legal--ethics)
## 🍽 你可以问它什么
以下是来自实时服务器的**真实、未经编辑的摘录**(卡拉奇,2026-07-27)。
1. “目前为我配送的评分最高的地方有哪些?”
``` > Find the best rated restaurants near Clifton, Karachi 5 of 50 matching restaurants near 24.81442, 67.07164 Scanned 50 of 305 nearby restaurants · sorted by rating 1. Mondo Coffee Bar [Beverages, Tea & Coffee] 🏷 5.0★ (218) · 2.7 km · ~45 min · fee Rs.99 · min Rs.249 code: sbhg 2. Cafeela [Shakes, Pasta, Paratha] 4.9★ (15689) · 1.4 km · ~45 min · fee Rs.99 · min Rs.249 code: s8ge 3. Quetta Chai [Beverages, Pakistani, Pizza] 4.9★ (15440) · 3.8 km · ~45 min · fee Rs.99 · min Rs.249 code: w4bf ```2. “帮我找附近最便宜的 biryani(炒饭)”
``` > What's the cheapest biryani near me? 23 matches for "biryani" across 8 restaurants near Clifton, Karachi Showing the 5 cheapest by item price + delivery fee: 1. Salad — Rs.80 (was Rs.100) · Rs.179 with delivery at Al Naz Biryani Center - Iqra University (p4rc) 4.6★ · 2.8 km · ~45 min · min Rs.249 Cucumber and onions for your biryani serving 2. Aloo Biryani — Rs.192 (was Rs.240) · Rs.291 with delivery at Al Naz Biryani Center - Iqra University (p4rc) 4.6★ · 2.8 km · ~45 min · min Rs.249 ``` 请注意,它是根据**菜品价格 + 配送费**排名的,因为最便宜的菜和最便宜的 总价通常在不同的餐厅。3. “现在到底有没有开门的店?”
``` > Are Mondo, Cafeela and Quetta Chai open? 3 of 3 restaurants are open right now (local time 2026-07-27 11:30 (Asia/Karachi)): - Mondo Coffee Bar (sbhg): OPEN, closes 23:59 - Cafeela (s8ge): OPEN, closes 23:45 - Quetta Chai (w4bf): OPEN, closes 23:59 ```4. “比较这三家在成本和速度上的表现”
``` > Compare them for delivery Comparing 3 restaurants in pk: Mondo Coffee Bar [Beverages, Tea & Coffee] 🏷 5.0★ (218) · 2.7 km · ~5 min · fee Rs.0 · min Rs.249 · OPEN until 23:59 code: sbhg deals: 50% off for your first food order ⇒ cheapest delivery, fastest, best rated Cafeela [Fast Food, Pasta, Pakistani] 🏷 4.9★ (15689) · 1.4 km · ~10 min · fee Rs.0 · min Rs.149 · OPEN until 23:45 code: s8ge deals: 10% off; 50% off for your first food order ⇒ lowest minimum ```5. “在这附近我到底能吃到些什么类型的食物?”
``` > What cuisines are available near me? 32 cuisines available near 24.81442, 67.07164 (305 restaurants total): - Pakistani — 169 restaurants (id 139) - Beverages — 86 restaurants (id 89) - Western — 67 restaurants (id 151) - Desserts — 65 restaurants (id 84) - Tea & Coffee — 60 restaurants (id 240) - Biryani — 36 restaurants (id 193) ```Windows: 如果找不到 npx
Windows 有时无法从 Claude Desktop 解析 `npx`。请改用 `cmd`:
```
{
"mcpServers": {
"foodpanda": {
"command": "cmd",
"args": ["/c", "npx", "-y", "foodpanda-ai-mcp"]
}
}
}
```
设置巴基斯坦以外的默认国家/地区
``` { "mcpServers": { "foodpanda": { "command": "npx", "args": ["-y", "foodpanda-ai-mcp"], "env": { "FOODPANDA_DEFAULT_MARKET": "sg" } } } } ```通用 stdio 配置 (Zed, Windsurf, Continue, LibreChat, …)
几乎所有客户端都接受相同的 command/args 对: ``` { "command": "npx", "args": ["-y", "foodpanda-ai-mcp"] } ```从源码运行而不是使用 npx
``` git clone https://github.com/RehmTheGreat/foodpanda-ai-mcp.git cd foodpanda-ai-mcp npm install && npm run build ``` ``` { "mcpServers": { "foodpanda": { "command": "node", "args": ["/absolute/path/to/foodpanda-ai-mcp/dist/index.js"] } } } ``` Windows 路径需要转义反斜杠:`"C:\\Users\\you\\foodpanda-ai-mcp\\dist\\index.js"`。标签:GNU通用公共许可证, MCP, MITM代理, Node.js, URL抓取, 人工智能, 数据抓取, 数据接口, 暗色界面, 生活服务, 用户模式Hook绕过, 自动化攻击