nutrition_db
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| API_NINJAS_KEY | No | API key for API Ninjas to get real macro numbers | |
| OPENAI_API_KEY | No | API key for OpenAI to enable LLM-generated meals | |
| OPENWEATHER_API_KEY | No | API key for OpenWeather to enable weather-based adjustment |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_food_nutrientsA | Look up macros (calories/protein/carbs/fat/fiber/sugar) for a food query via API Ninjas (cached). |
| get_current_conditionsA | Fetch current temperature and humidity for a city via OpenWeather. |
| compute_targetsB | Compute daily calorie + macro targets from a profile (Mifflin-St Jeor BMR -> TDEE -> goal). |
| generate_weekly_meal_planB | Generate a 7-day meal plan of concrete foods (LLM-proposed, API-Ninjas-grounded, reconciled to targets). |
| log_daily_intakeC | Record foods eaten on a date (default today) and return running totals. |
| adjust_daily_caloriesB | Compare a day's logged intake to target; if under, suggest catch-up foods / roll shortfall into tomorrow. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- 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/harmehak0173/mcp-nutrition'
If you have feedback or need assistance with the MCP directory API, please join our Discord server