Fatsecret MCP Server

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

Local serverstdio

What is the Fatsecret MCP MCP server?

Fatsecret MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. MCP server for FatSecret API - food search, nutrition, diary, recipes, weight tracking (unofficial).

What you get

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.

What the assistant can call

Once Fatsecret MCP is connected, these are the calls the assistant has available:

  • 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
  • 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
  • search_recipes — Search recipes with filters
  • get_recipe — Get recipe details with ingredients and directions
  • get_food_categories — Get food categories
  • get_food_sub_categories — Get food sub categories

Setting it up

The server ships on npm as fatsecret-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

You will need 3 environment variables: FATSECRET_CLIENT_ID, FATSECRET_CLIENT_SECRET, FATSECRET_CONSUMER_SECRET. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

Plenty of database access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Fatsecret MCP's toolset — check_auth_status, setup_credentials, start_auth and 11 more — is a fair guide to whether it matches your workflow. It is maintained by fliptheweb; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Fatsecret MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the fatsecret mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
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
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
search_recipesSearch recipes with filters
get_recipeGet recipe details with ingredients and directions
get_food_categoriesGet food categories
get_food_sub_categoriesGet food sub categories
get_brandsGet food brands
get_recipe_typesGet recipe types

How to install the Fatsecret MCP MCP server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
FATSECRET_CLIENT_IDCredential the server authenticates with.Yes
FATSECRET_CLIENT_SECRETCredential the server authenticates with.Yes
FATSECRET_CONSUMER_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use Fatsecret MCP to check auth status.
  • Use Fatsecret MCP to setup credentials.
  • Use Fatsecret MCP to start auth.

Frequently asked questions

It connects Fatsecret MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (check_auth_status, setup_credentials, start_auth, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Fatsecret MCP directly.