1. Conduid
  2. Healthcare
  3. io.github.fliptheweb/fatsecret-mcp
MCP server · Healthcare

io.github.fliptheweb/fatsecret-mcp

MCP server for FatSecret API - food search, nutrition, diary, recipes, weight tracking (unofficial)

Unclaimed healthcare
37Low

Scored 6 months ago · breakdown

About io.github.fliptheweb/fatsecret-mcp

io.github.fliptheweb/fatsecret-mcp is an MCP server in the Healthcare category: mCP server for FatSecret API - food search, nutrition, diary, recipes, weight tracking (unofficial).

Install

Claude Code
claude mcp add io-github-fliptheweb-fatsecret-mcp -- npx -y fatsecret-mcp
npx
npx -y fatsecret-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (54)

**⚖️ Weight** *(profile auth)*No description in manifest

Parameters not published.

**⭐ Favorites** *(profile auth)*No description in manifest

Parameters not published.

**🍳 Recipes** *(public)*No description in manifest

Parameters not published.

**🍽️ Saved Meals** *(profile auth)*No description in manifest

Parameters not published.

**🏃‍♂️ Exercise** *(profile auth)*No description in manifest

Parameters not published.

**👤 Profile** *(profile auth)*No description in manifest

Parameters not published.

**📚 Reference** *(public)*No description in manifest

Parameters not published.

**📝 Food Diary** *(profile auth)*No description in manifest

Parameters not published.

**🔍 Food Search** *(public)*No description in manifest

Parameters not published.

**🔐 Setup & Auth**No description in manifest

Parameters not published.

Show all 54 tools
add_favorite_recipeAdd recipe to favorites

Parameters not published.

add_saved_meal_itemAdd food to a saved meal

Parameters not published.

autocomplete_foodsGet search autocomplete suggestions

Parameters not published.

check_auth_statusCheck if credentials and profile auth are configured. **Call this first.**

Parameters not published.

complete_authComplete OAuth with verifier PIN from authorization page

Parameters not published.

copy_food_entriesCopy entries from one date to another

Parameters not published.

copy_saved_meal_entriesCopy a saved meal to a date

Parameters not published.

create_foodCreate a custom food (Premier)

Parameters not published.

create_food_entryAdd a food diary entry

Parameters not published.

create_saved_mealCreate a saved meal

Parameters not published.

delete_favorite_foodRemove food from favorites

Parameters not published.

delete_favorite_recipeRemove recipe from favorites

Parameters not published.

delete_food_entryDelete a food diary entry

Parameters not published.

delete_saved_mealDelete a saved meal

Parameters not published.

delete_saved_meal_itemRemove item from saved meal

Parameters not published.

edit_exercise_entriesShift exercise time between activities

Parameters not published.

edit_food_entryEdit a food diary entry

Parameters not published.

edit_saved_mealEdit a saved meal

Parameters not published.

edit_saved_meal_itemEdit saved meal item

Parameters not published.

find_food_by_barcodeFind food by GTIN-13 barcode

Parameters not published.

get_brandsGet food brands

Parameters not published.

get_exercise_entries_monthGet exercise data for a month

Parameters not published.

get_exercisesGet exercise types

Parameters not published.

get_favorite_foodsGet favorite foods

Parameters not published.

get_favorite_recipesGet favorite recipes

Parameters not published.

get_foodGet detailed nutrition info for a food

Parameters not published.

get_food_categoriesGet food categories

Parameters not published.

get_food_entriesGet food diary entries for a date

Parameters not published.

get_food_entries_monthGet monthly nutrition summary (calories & macros per day)

Parameters not published.

get_food_sub_categoriesGet food sub categories

Parameters not published.

get_most_eaten_foodsGet most eaten foods

Parameters not published.

get_profileGet user profile info

Parameters not published.

get_recently_eaten_foodsGet recently eaten foods

Parameters not published.

get_recipeGet recipe details with ingredients and directions

Parameters not published.

get_recipe_typesGet recipe types

Parameters not published.

get_saved_meal_itemsGet items in a saved meal

Parameters not published.

get_saved_mealsGet saved meals

Parameters not published.

get_weight_monthGet weight history for a month

Parameters not published.

save_exercise_templateSave exercise template for weekdays

Parameters not published.

search_foodsSearch the food database

Parameters not published.

search_recipesSearch recipes with filters

Parameters not published.

setup_credentialsSave FatSecret API credentials to persistent config

Parameters not published.

start_authStart OAuth 1.0 authorization — returns URL for user to visit

Parameters not published.

update_weightRecord weight for a date

Parameters not published.

Ask AI

✦

Ask AI about io.github.fliptheweb/fatsecret-mcp

Powered by Claude · Grounded in docs

I know everything about io.github.fliptheweb/fatsecret-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

FatSecret MCP Server

[!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

✨ Features

  • 🔐 Authentication — Interactive credential setup and OAuth authorization
  • 🔍 Food Search — Search FatSecret's extensive food database with detailed nutrition data
  • 📷 Barcode Lookup — Find foods by GTIN-13 barcode
  • 🍳 Recipe Search — Browse and filter recipes by calories, macros, and prep time
  • 📝 Food Diary — Add, edit, copy, and delete food diary entries
  • 🍽️ Saved Meals — Create and manage reusable meal templates
  • ⚖️ Weight Tracking — Record and view weight history
  • 🏃‍♂️ Exercise Tracking — View exercises and manage activity entries
  • ⭐ Favorites — Manage favorite foods and recipes

🚀 Quick Start

Add to your MCP client configuration:

{
  "mcpServers": {
    "fatsecret": {
      "command": "npx",
      "args": ["-y", "fatsecret-mcp"]
    }
  }
}

That's it! On first use, the AI will guide you through setup:

  1. check_auth_status — detects missing credentials and tells you what to do
  2. setup_credentials — you provide your API keys (saved to ~/.fatsecret-mcp/config.json)
  3. start_auth → complete_auth — authorize your FatSecret account for diary/weight tools

Alternatively, you can pass credentials as environment variables:

{
  "mcpServers": {
    "fatsecret": {
      "command": "npx",
      "args": ["-y", "fatsecret-mcp"],
      "env": {
        "FATSECRET_CLIENT_ID": "your_client_id",
        "FATSECRET_CLIENT_SECRET": "your_client_secret",
        "FATSECRET_CONSUMER_SECRET": "your_consumer_secret"
      }
    }
  }
}

🔑 Where to Get Credentials

  1. Create a free account at platform.fatsecret.com
  2. Navigate to My Account → API Keys
  3. You'll see three values:
    • Client ID (used for both OAuth 2.0 and OAuth 1.0)
    • Client Secret (OAuth 2.0 - for public food/recipe search)
    • Consumer Secret (OAuth 1.0 - for user profile/diary access)

📖 Step-by-step guide: Getting Started with FatSecret API

Claude Desktop (Extension)

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.

Claude Desktop (Manual)

~/Library/Application Support/Claude/claude_desktop_config.json

Claude Code (CLI)

claude mcp add fatsecret -- npx -y fatsecret-mcp

Or with env vars:

claude mcp add fatsecret \
  -e FATSECRET_CLIENT_ID=your_client_id \
  -e FATSECRET_CLIENT_SECRET=your_client_secret \
  -e FATSECRET_CONSUMER_SECRET=your_consumer_secret \
  -- npx -y fatsecret-mcp

Verify with claude mcp list.

Cursor

  • Settings UI — Settings → MCP → + Add new MCP server, then fill in the command, args, and env
  • Project config — add JSON to .cursor/mcp.json in your project root
  • Global config — add JSON to ~/.cursor/mcp.json

🛠️ Available Tools

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

🧪 Test Connection

npx fatsecret-mcp

Or with env vars:

FATSECRET_CLIENT_ID='...' FATSECRET_CLIENT_SECRET='...' FATSECRET_CONSUMER_SECRET='...' npx fatsecret-mcp

📋 Requirements

  • Node.js 18+
  • FatSecret Platform API account (platform.fatsecret.com)
  • MCP-compatible client (Claude Desktop, Cursor, etc.)

🔧 Development

  1. Clone the repository
  2. npm install
  3. Copy .env.example to .env and fill in your credentials
  4. npm run dev to run in development mode

Debugging with MCP Inspector:

FATSECRET_CLIENT_ID=X FATSECRET_CLIENT_SECRET=X FATSECRET_CONSUMER_SECRET=X npx -y @modelcontextprotocol/inspector npx <local-path>/fatsecret-mcp

📄 License

MIT License - see LICENSE file for details.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.fliptheweb/fatsecret-mcp

How do I install io.github.fliptheweb/fatsecret-mcp?

Run claude mcp add io-github-fliptheweb-fatsecret-mcp -- npx -y fatsecret-mcp, then add the server to your MCP client's configuration.

Is io.github.fliptheweb/fatsecret-mcp safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.fliptheweb/fatsecret-mcp still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.