Skip to content
MCP server
Registry

fatsecret-mcp MCP Server

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

fatsecret-mcp scores 70 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 40 tools. Filed under Search. GitHub shows 12 stars. Package registries report about 92 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by flipthewebMITTypeScript12 stars
Trust score
70Good
Trust score 70 of 100, Good

Good trust

70 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 70 comes from

22 + 20 + 4 + 10 + 4 + 10 = 70. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity4 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 4 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "fliptheweb-fatsecret-mcp": {      "command": "npx",      "args": [        "-y",        "fatsecret-mcp@0.0.10"      ],      "env": {        "FATSECRET_CLIENT_ID": "YOUR_FATSECRET_CLIENT_ID",        "FATSECRET_CLIENT_SECRET": "YOUR_FATSECRET_CLIENT_SECRET",        "FATSECRET_CONSUMER_SECRET": "YOUR_FATSECRET_CONSUMER_SECRET"      }    }  }}

Environment variables

NameRequiredNotes
FATSECRET_CLIENT_IDSecretRequiredFatSecret API Client ID
FATSECRET_CLIENT_SECRETSecretRequiredFatSecret API Client Secret (OAuth 2.0)
FATSECRET_CONSUMER_SECRETSecretRequiredFatSecret API Consumer Secret (OAuth 1.0)

Tools40Tool docs quality grade D

All capabilities

About

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

๐Ÿ’Ž Premier Keys

If your FatSecret application has Premier access (e.g. branded food data), the server requests the basic premier OAuth 2.0 scope by default so Premier-only data is included in search results. Free keys aren't entitled to the premier scope โ€” when FatSecret rejects it with invalid_scope, the server automatically retries with the basic scope, so nothing extra is needed for non-Premier keys.

To force a specific scope (e.g. skip the premier attempt, or request a different scope your key supports), set:

FATSECRET_OAUTH2_SCOPE=basic

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.

[!WARNING] If one-click install fails or the extension doesn't start, it may be a Claude Desktop bug (mcpb#281). Workaround: download fatsecret-mcp.zip, extract it, and use Settings โ†’ Extensions โ†’ Advanced settings โ†’ Install Unpacked Extension. Or use the npx config above.

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

ToolDescription
๐Ÿ” Setup & Auth
check_auth_statusCheck if credentials and profile auth are configured. Call this first.
setup_credentialsSave FatSecret API credentials to persistent config
start_authStart OAuth 1.0 authorization โ€” returns URL for user to visit
complete_authComplete OAuth with verifier PIN from authorization page
๐Ÿ” Food Search (public)
search_foodsSearch the food database
get_foodGet detailed nutrition info for a food
find_food_by_barcodeFind food by GTIN-13 barcode
autocomplete_foodsGet search autocomplete suggestions
๐Ÿณ Recipes (public)
search_recipesSearch recipes with filters
get_recipeGet recipe details with ingredients and directions
๐Ÿ“š Reference (public)
get_food_categoriesGet food categories
get_food_sub_categoriesGet food sub categories
get_brandsGet food brands
get_recipe_typesGet recipe types
๐Ÿ“ Food Diary (profile auth)
get_food_entriesGet food diary entries for a date
get_food_entries_monthGet monthly nutrition summary (calories & macros per day)
create_food_entryAdd a food diary entry
edit_food_entryEdit a food diary entry
delete_food_entryDelete a food diary entry
copy_food_entriesCopy entries from one date to another
copy_saved_meal_entriesCopy a saved meal to a date
โญ Favorites (profile auth)
get_favorite_foodsGet favorite foods
delete_favorite_foodRemove food from favorites
get_most_eaten_foodsGet most eaten foods
get_recently_eaten_foodsGet recently eaten foods
get_favorite_recipesGet favorite recipes
add_favorite_recipeAdd recipe to favorites
delete_favorite_recipeRemove recipe from favorites
๐Ÿฝ๏ธ Saved Meals (profile auth)
get_saved_mealsGet saved meals
create_saved_mealCreate a saved meal
edit_saved_mealEdit a saved meal
delete_saved_mealDelete a saved meal
get_saved_meal_itemsGet items in a saved meal
add_saved_meal_itemAdd food to a saved meal
edit_saved_meal_itemEdit saved meal item
delete_saved_meal_itemRemove item from saved meal
โš–๏ธ Weight (profile auth)
update_weightRecord weight for a date
get_weight_monthGet weight history for a month
๐Ÿƒโ€โ™‚๏ธ Exercise (profile auth)
get_exercisesGet exercise types
edit_exercise_entriesShift exercise time between activities
get_exercise_entries_monthGet exercise data for a month
save_exercise_templateSave exercise template for weekdays
๐Ÿ‘ค Profile (profile auth)
get_profileGet user profile info
create_foodCreate 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.

Frequently asked questions

What is fatsecret-mcp MCP Server?

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

How do I install fatsecret-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. fatsecret-mcp MCP Server runs locally from the npm package fatsecret-mcp with the command npx -y fatsecret-mcp@0.0.10.

Is fatsecret-mcp MCP Server free and open source?

Yes. fatsecret-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does fatsecret-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for fatsecret-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does fatsecret-mcp MCP Server provide?

fatsecret-mcp MCP Server provides 40 tools, including add_favorite_recipe, add_saved_meal_item, autocomplete_foods, and check_auth_status. See the full tool list for descriptions and parameters.

How is fatsecret-mcp MCP Server's trust score calculated?

fatsecret-mcp MCP Server scores 70 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

โ€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server