原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Fatsecret MCP

作者:fliptheweb版本 0.0.10i★ –i在你的电脑上运行
注册名称io.github.fliptheweb/fatsecret-mcp

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 游戏、体育、美食与学习
  • 你需要填写:FATSECRET_CLIENT_ID, FATSECRET_CLIENT_SECRET, FATSECRET_CONSUMER_SECRET

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: FATSECRET_CLIENT_ID, FATSECRET_CLIENT_SECRET, FATSECRET_CONSUMER_SECRET

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "fatsecret": {
      "command": "npx",
      "args": [
        "-y",
        "fatsecret-mcp"
      ],
      "env": {
        "FATSECRET_CLIENT_ID": "your-value",
        "FATSECRET_CLIENT_SECRET": "your-value",
        "FATSECRET_CONSUMER_SECRET": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add fatsecret --env FATSECRET_CLIENT_ID=your-value --env FATSECRET_CLIENT_SECRET=your-value --env FATSECRET_CONSUMER_SECRET=your-value -- npx -y fatsecret-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "fatsecret": {
      "command": "npx",
      "args": [
        "-y",
        "fatsecret-mcp"
      ],
      "env": {
        "FATSECRET_CLIENT_ID": "your-value",
        "FATSECRET_CLIENT_SECRET": "your-value",
        "FATSECRET_CONSUMER_SECRET": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "fatsecret": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "fatsecret-mcp"
      ],
      "env": {
        "FATSECRET_CLIENT_ID": "your-value",
        "FATSECRET_CLIENT_SECRET": "your-value",
        "FATSECRET_CONSUMER_SECRET": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • FATSECRET_CLIENT_ID 机密 必填 env
    FatSecret API Client ID
  • FATSECRET_CLIENT_SECRET 机密 必填 env
    FatSecret API Client Secret (OAuth 2.0)
  • FATSECRET_CONSUMER_SECRET 机密 必填 env
    FatSecret API Consumer Secret (OAuth 1.0)

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 fliptheweb 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“游戏、体育、美食与学习”中的其他服务器比较i

  • 星标数多于此分类中其他 1301 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1301 个服务器的 81% 更新
  • 基础检查结果等于或优于此分类中其他 1301 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Fatsecret MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:FATSECRET_CLIENT_ID, FATSECRET_CLIENT_SECRET, FATSECRET_CONSUMER_SECRET

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.0.10)于7天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:像塑 MCP Plus, Zovo Recipe Card Maker, Zovo Paper Finder

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

像塑 MCP Plus

Unofficial macOS MCP for Douyin AR (像塑): assets, menus, AI combine, delivery. For learning only.

作者:Muqian-Sun非常新今天更新

在你的电脑上运行

Zovo Recipe Card Maker

Make printable recipe cards from your own recipes as a print-ready PDF.

作者:theluckystrike起步阶段今天更新

在云端运行

Zovo Paper Finder

Build a literature list for a student paper, thesis or research project from Crossref.

作者:theluckystrike起步阶段今天更新

在云端运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

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.

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

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.

问 PopNx