Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
API_NINJAS_KEYNoAPI key for API Ninjas to get real macro numbers
OPENAI_API_KEYNoAPI key for OpenAI to enable LLM-generated meals
OPENWEATHER_API_KEYNoAPI key for OpenWeather to enable weather-based adjustment

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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