restaurant-mcp
Provides tools to query a SQLite database for restaurant data including orders, inventory, tables, and sales.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@restaurant-mcpWhich menu item is most popular?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
restaurant-mcp
MCP server for Spice Garden, a demo restaurant, with an optional OpenRouter-powered chat client. The assistant queries a live SQLite database for orders, inventory, tables, and sales data.
Prerequisites
Node.js 20.6+ (required for
--env-file)An OpenRouter API key (for the chat client only)
Related MCP server: mcp-sqlite-chat
Quick start
npm install
cp .env.example .env # Windows: copy .env.example .env
# Edit .env — add your OPENROUTER_API_KEY and pick a tool-capable model
npm run seed
npm run chatExample questions:
How many orders today?Which is our most popular dish?What's running low in inventory?How many tables are occupied?
Type exit to quit.
Scripts
Command | Description |
| Create and populate |
| Start the interactive OpenRouter assistant |
| Run the MCP server directly (stdio) |
Environment variables
Copy .env.example to .env:
Variable | Required | Description |
| For chat | Your OpenRouter API key |
| For chat | Model ID — must support tool calling |
| No | Set to |
Choosing a model
The chat client sends tools with every request, so the model must support function/tool calling. Browse compatible models at:
https://openrouter.ai/models?supported_parameters=tools
Free-tier examples that work:
meta-llama/llama-3.3-70b-instruct:freeqwen/qwen3-coder:freeopenai/gpt-oss-20b:free
MCP server tools
Tool | Description |
| Order count, revenue, and pending orders for a date |
| Current stock levels for all items |
| Items below their reorder threshold |
| Best-selling menu items by quantity |
| Table occupancy and capacity |
Use with Cursor (or any MCP client)
Add to your MCP config:
{
"mcpServers": {
"restaurant": {
"command": "node",
"args": ["/absolute/path/to/restaurant-mcp/server.js"]
}
}
}Run npm run seed first. The server exits with a clear message if the database is missing or empty.
Project structure
restaurant-mcp/
├── server.js # MCP server (stdio)
├── client.js # OpenRouter chat client
├── db/
│ ├── seed.js # Database schema + sample data
│ └── restaurant.db # Generated (gitignored)
├── lib/
│ ├── db.js # Database bootstrap check
│ └── paths.js # Shared paths and version
└── .env # Your secrets (gitignored)License
ISC
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityBmaintenanceDemo MCP server that exposes order and customer data as read-only tools for AI assistants, simulating a business API or internal data source.Last updated
- Flicense-qualityCmaintenanceEnables querying and managing a SQLite database using natural language, with an MCP server and Groq LLM.Last updated
- Alicense-qualityCmaintenanceMCP server that exposes tools to query an e-commerce database (customers, sales, products) using natural language, orchestrated by a LangChain agent with Groq's LLM.Last updatedMIT
- AlicenseAqualityCmaintenanceA production-grade MCP server for enterprise sales analytics, enabling LLM clients to query, analyze, and visualize sales data from a SQLite database through structured tools, resources, and prompts.Last updated6MIT
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
GibsonAI MCP server: manage your databases with natural language
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rick001/restaurant-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server