OrderFood MCP

OrderFood MCP

An MCP server that enables AI agents to discover restaurants and place food delivery orders on Uber Eats and Thuisbezorgd (Just Eat Takeaway). It provides tools for restaurant discovery and order management through normalized platform APIs.

Category
访问服务器

README

OrderFood MCP

CI npm License: MIT

MCP server that lets AI agents search restaurants and place food delivery orders on Uber Eats and Thuisbezorgd via 11 MCP tools.

Legal: Reverse engineering for interoperability is explicitly permitted under EU Directive 2009/24/EC Article 6. This project is personal use and open-source research — not commercial, not affiliated with Uber Eats or Just Eat Takeaway.


Who this is for

  • AI power users who want to tell Claude or Codex "find me sushi nearby and add the best-rated option to my cart" and have it actually work
  • Developers exploring MCP server design for real-world consumer API integrations
  • Researchers studying reverse-engineered API interoperability under EU Directive 2009/24/EC Article 6

Who this is not for

  • Anyone looking for a fully automated "place order without touching anything" experience — order placement requires a browser payment step on both platforms and is not yet automatable (see Platform Support below)
  • High-volume or commercial use — this tool is designed for personal, single-account use only
  • Users who need a rock-solid session — Uber Eats cookies expire in 24–48 hours and require manual refresh; Thuisbezorgd tokens auto-refresh but the APIs can change without notice

Features

Tool Description
search_restaurants Find restaurants by location, cuisine, or query
get_restaurant Get full restaurant details and menu
get_cart View current cart
add_to_cart Add an item to the cart with options
clear_cart Empty the cart
get_saved_addresses List saved delivery addresses
get_payment_methods List available payment methods
place_order Place the current cart as an order
track_order Get live order status
get_order_history List past orders
cancel_order Cancel an active order
ping_platform Check auth + connectivity for a platform

All tools accept platform: "ubereats" | "thuisbezorgd" as a required parameter.

Platform Support

Capability Uber Eats Thuisbezorgd Notes
Search restaurants
Get restaurant + menu TB uses SSR HTML scraping
Cart management
Saved addresses UE resolves addresses on-the-fly
Payment methods
Place order ⚠️ ⚠️ Blocked by browser payment flow (Apple Pay / iDeal / Adyen)
Track order 🚧 TB tracking endpoint not yet captured
Order history 🚧 🚧 UE: endpoint returns null — correct request params unknown; TB: not yet captured
Cancel order 🚧 🚧 Endpoint not yet captured
Health check ping_platform tool verifies auth + connectivity

Legend: ✅ working · ⚠️ blocked by external dependency · 🚧 stub (API not yet captured) · — not applicable

Architecture

pnpm workspace monorepo — TypeScript 5, strict, pure ESM, Node.js 20+.

packages/
  shared/               @orderfood/shared — normalized types + PlatformClient interface
  ubereats-client/      @orderfood/ubereats-client — Uber Eats REST client
  thuisbezorgd-client/  @orderfood/thuisbezorgd-client — Thuisbezorgd REST client
  mcp-server/           @henkas/orderfood — MCP server + setup CLI
tools/
  api-capture/          mitmproxy addon for capturing API traffic
docs/
  api-reference/        Documented endpoints per platform

Prerequisites

  • Node.js 20+
  • pnpm 9+
  • Python 3.11+ (only for API capture tooling)

Installation

git clone https://github.com/henkas/orderfood.git
cd orderfood
pnpm install
pnpm build

Setup

npx @henkas/orderfood setup --platform ubereats
npx @henkas/orderfood setup --platform thuisbezorgd

Credentials are stored encrypted at ~/.orderfood/ (AES-256-GCM). See the Setup Guide for full step-by-step instructions including where to find the Uber Eats cookies and how the Thuisbezorgd OAuth flow works.

Usage with Claude Code

claude mcp add orderfood -- npx @henkas/orderfood

Or if running from source:

claude mcp add orderfood -- node /path/to/orderfood/packages/mcp-server/dist/index.js

Usage with Codex

codex mcp add orderfood -- npx @henkas/orderfood

Then talk to Claude:

Find Italian restaurants near Amsterdam Centraal on Thuisbezorgd
Add a Margherita pizza from [restaurant] to my Uber Eats cart
What's in my Thuisbezorgd cart?
Show my Uber Eats payment methods

Development

pnpm install        # install all workspace packages
pnpm typecheck      # type-check all packages
pnpm test           # run all tests
pnpm build          # compile all packages

# Per-package
pnpm --filter @orderfood/shared test
pnpm --filter @henkas/orderfood build

API Capture

Platform client code is based on mitmproxy captures of the real apps. To contribute new endpoint discoveries:

  1. pip install mitmproxy
  2. Follow tools/api-capture/README.md to install the cert on your device
  3. mitmproxy -s tools/api-capture/capture.py
  4. Use the app — captured calls land in tools/api-capture/output/{platform}/
  5. Document findings in docs/api-reference/{platform}.md

Documentation

Setup Guide Install, authenticate, connect to your agent
Uber Eats API Reference Discovered endpoints and request shapes
Thuisbezorgd API Reference Discovered endpoints and request shapes

Contributing

See CONTRIBUTING.md.

Security

Credentials are encrypted at rest (AES-256-GCM, HKDF-SHA256 key from machine ID). See SECURITY.md for the vulnerability reporting process.

License

MIT — see LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选