meals-mcp-server
README.md
# š½ļø meals-mcp-server
A Model Context Protocol (MCP) server that connects **Claude AI** to a live meals database. Ask Claude anything about meals ā search by name, ingredient, or ID, or get a random meal suggestion ā all through natural language.
---
## š Project Structure
```
meals-mcp-server/
ā
āāā meals_server.py # MCP server ā all tools defined here
āāā requirements.txt # Python dependencies
āāā README.md
āāā screenshots/
āāā mcp_server.png
āāā claude_connect.png
āāā meal_by_name.png
āāā meal_by_ingredient.png
āāā meal_by_id.png
āāā random_meal.png
```
---
## āļø Setup & Installation
### 1. Clone the repo
```bash
git clone https://github.com/YOUR-USERNAME/meals-mcp-server.git
cd meals-mcp-server
```
### 2. Create a virtual environment
```bash
python -m venv venv
source venv/bin/activate # Mac/Linux
venv\Scripts\activate # Windows
```
### 3. Install dependencies
```bash
pip install -r requirements.txt
```
### 4. Run the server
```bash
python meals_server.py
```
---
## š Connect to Claude Desktop
1. Open **Claude Desktop ā Settings ā Developer**
2. Click **Edit Config** to open `claude_desktop_config.json`
3. Add the following (replace the path with your actual path):
```json
{
"mcpServers": {
"meals": {
"command": "/Users/spartan/Desktop/DATA 236 (Distributed)/Homework/HW 5/part 2/venv/bin/python",
"args": [
"/Users/spartan/Desktop/DATA 236 (Distributed)/Homework/HW 5/part 2/meals_server.py"
]
}
},
"preferences": {
"coworkWebSearchEnabled": true,
"sidebarMode": "chat",
"coworkScheduledTasksEnabled": false
}
}
```
4. **Restart Claude Desktop**
5. The meals tools will appear in Claude's tool panel ā
---
## š§° Available Tools
| Tool | Description |
|------|-------------|
| `meal_by_name` | Search for meals by name |
| `meal_by_ingredient` | Find meals containing a specific ingredient |
| `meal_by_id` | Get full details of a meal by its ID |
| `random_meal` | Fetch a random meal suggestion |
---
## šø Screenshots
### ā
Claude Connected to Meals Server

### š„ļø MCP Server Running in Claude

### š Search Meals by Name



### š„¦ Search by Ingredient


### š Meal Details by ID



### š² Random Meal

---
## š ļø Built With
- [MCP (Model Context Protocol)](https://modelcontextprotocol.io) ā Claude tool integration
- [TheMealDB API](https://www.themealdb.com/api.php) ā Meals data source
- Python + httpx
---
## š¤ Author
**Anushka Khadatkar**
- GitHub: [AnushkaKhadatkar](https://github.com/AnushkaKhadatkar)
- Email: Anushkak1202@gmail.com
- LinkedIn: [Anushka Khadatkar](https://www.linkedin.com/in/anushka-khadatkar/)
- Medium: [Anushka Khadatkar] (https://medium.com/@anushkak1202)
---
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues