- Home
- MCP servers
- Food Tracker
Food Tracker
- javascript
0
GitHub Stars
javascript
Language
6 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"neonwatty-food-tracker-mcp": {
"command": "npx",
"args": [
"-y",
"@neonwatty/food-tracker-mcp"
],
"env": {
"USDA_API_KEY": "your_api_key_here"
}
}
}
}You can run a Food Tracker MCP Server locally to search the USDA FoodData Central database, log meals, and view nutrition insights. It keeps your data on your device while letting you interact with a client through simple commands and summaries.
How to use
To start using the server, connect with an MCP client and select the food-tracker MCP you added. You can search for foods to retrieve nutrition data per 100 g, log daily meals with calories and macros, and then view your daily log to compare against your goals. You can set daily targets for calories, protein, carbs, and fat, and request summaries to see averages over ranges like days, weeks, or months.
Practical workflows you can perform include: searching foods to understand their nutrition, logging a meal with its serving size and calories, updating your daily goals, and requesting a daily log or a broader nutrition summary. All data for your food logs is stored locally on your machine.
How to install
Prerequisites: ensure you have a runtime that can run Node-based MCP servers and the ability to execute npx or npm commands.
Option A — Claude Desktop configuration (JSON)
Available tools
search_food
Search the USDA FoodData Central database for foods and retrieve nutrition information per 100 g serving.
log_food
Log a food entry to your daily diary with calories and macros, associated with a meal and date.
get_daily_log
Retrieve all food entries for a specific day, including totals and goal comparisons.
set_goals
Define daily nutrition targets for calories, protein, carbs, and fat.
get_summary
Provide nutrition summaries and averages over a selected date range.
delete_entry
Remove a specific food log entry by its ID.