MCP server for FatSecret API - food search, nutrition, diary, recipes, weight tracking (unofficial)
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
[!IMPORTANT] This is not an official MCP server by FatSecret. It uses the FatSecret Platform API which requires a free developer account.
An MCP (Model Context Protocol) server that connects Claude/Cursor to the FatSecret Platform API. Search foods, track your diet, manage recipes, and monitor weight directly from your AI assistant.
Available on NPM: npx fatsecret-mcp | Claude Desktop Extension: fatsecret-mcp.mcpb
Add to your MCP client configuration:
That's it! On first use, the AI will guide you through setup:
check_auth_status โ detects missing credentials and tells you what to dosetup_credentials โ you provide your API keys (saved to ~/.fatsecret-mcp/config.json)start_auth โ complete_auth โ authorize your FatSecret account for diary/weight toolsAlternatively, you can pass credentials as environment variables:
๐ Step-by-step guide: Getting Started with FatSecret API
Download and open fatsecret-mcp.mcpb with Claude Desktop. You'll be prompted to enter your FatSecret credentials โ secrets are stored securely in the OS keychain.
See Building Desktop Extensions with MCPB for more details.
~/Library/Application Support/Claude/claude_desktop_config.json
Or with env vars:
Verify with claude mcp list.
Settings โ MCP โ + Add new MCP server, then fill in the command, args, and env.cursor/mcp.json in your project root~/.cursor/mcp.json| Tool | Description |
|---|---|
| ๐ Setup & Auth | |
check_auth_status | Check if credentials and profile auth are configured. Call this first. |
setup_credentials | Save FatSecret API credentials to persistent config |
start_auth | Start OAuth 1.0 authorization โ returns URL for user to visit |
complete_auth | Complete OAuth with verifier PIN from authorization page |
| ๐ Food Search (public) | |
search_foods | Search the food database |
get_food | Get detailed nutrition info for a food |
find_food_by_barcode | Find food by GTIN-13 barcode |
autocomplete_foods | Get search autocomplete suggestions |
| ๐ณ Recipes (public) | |
search_recipes | Search recipes with filters |
get_recipe | Get recipe details with ingredients and directions |
| ๐ Reference (public) | |
get_food_categories | Get food categories |
get_food_sub_categories | Get food sub categories |
get_brands | Get food brands |
get_recipe_types | Get recipe types |
| ๐ Food Diary (profile auth) | |
get_food_entries | Get food diary entries for a date |
get_food_entries_month | Get monthly nutrition summary (calories & macros per day) |
create_food_entry | Add a food diary entry |
edit_food_entry | Edit a food diary entry |
delete_food_entry | Delete a food diary entry |
copy_food_entries | Copy entries from one date to another |
copy_saved_meal_entries | Copy a saved meal to a date |
| โญ Favorites (profile auth) | |
get_favorite_foods | Get favorite foods |
delete_favorite_food | Remove food from favorites |
get_most_eaten_foods | Get most eaten foods |
get_recently_eaten_foods | Get recently eaten foods |
get_favorite_recipes | Get favorite recipes |
add_favorite_recipe | Add recipe to favorites |
delete_favorite_recipe | Remove recipe from favorites |
| ๐ฝ๏ธ Saved Meals (profile auth) | |
get_saved_meals | Get saved meals |
create_saved_meal | Create a saved meal |
edit_saved_meal | Edit a saved meal |
delete_saved_meal | Delete a saved meal |
get_saved_meal_items | Get items in a saved meal |
add_saved_meal_item | Add food to a saved meal |
edit_saved_meal_item | Edit saved meal item |
delete_saved_meal_item | Remove item from saved meal |
| โ๏ธ Weight (profile auth) | |
update_weight | Record weight for a date |
get_weight_month | Get weight history for a month |
| ๐โโ๏ธ Exercise (profile auth) | |
get_exercises | Get exercise types |
edit_exercise_entries | Shift exercise time between activities |
get_exercise_entries_month | Get exercise data for a month |
save_exercise_template | Save exercise template for weekdays |
| ๐ค Profile (profile auth) | |
get_profile | Get user profile info |
create_food | Create a custom food (Premier) |
API reference: FatSecret Postman Collection
Or with env vars:
npm install.env.example to .env and fill in your credentialsnpm run dev to run in development modeDebugging with MCP Inspector:
MIT License - see LICENSE file for details.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/fatsecret-mcp)<a href="https://allmcps.com/mcp/fatsecret-mcp"><img src="https://allmcps.com/api/badge/fatsecret-mcp?style=directory" alt="Fatsecret MCP on AllMCPs" /></a>