Skip to main content
Glama
ChocoTonic

FatSecret MCP Server

by ChocoTonic

FatSecret MCP Server

An independent Python MCP server backed by the fatsecret package. It exposes the supported FatSecret Platform API separately from experimental member-site recipe and RDI operations.

This project has independent source code and Git history. Compatibility tool names were transcribed from a pre-existing public tool list; no implementation, schemas, configuration, tests, or architecture were copied from that project.

Install

Run the current GitHub version with a fresh dependency resolution at each MCP server start:

uvx --refresh --from git+https://github.com/ChocoTonic/fatsecret-mcp-server \
  fatsecret-mcp-server --profile default

uvx --refresh is the update mechanism. The running server does not rewrite its own executable or dependency environment. Each server release pins the reviewed fatsecret backend and exact resolver-executable endpoint versions; backend upgrades arrive through a tested server release rather than being silently selected at startup.

Related MCP server: Food Facts MCP Server

Configure

Platform credentials:

export FATSECRET_CONSUMER_KEY=...
export FATSECRET_CONSUMER_SECRET=...
export FATSECRET_ACCESS_TOKEN=...       # required for user-scoped tools
export FATSECRET_ACCESS_SECRET=...
export FATSECRET_ACCOUNT_ID=...         # stable account label for mutations

Member recipe and RDI credentials:

export FATSECRET_USERNAME=...
export FATSECRET_PASSWORD=...

Credentials may instead be stored in the operating-system keyring. Credential tools are disabled unless FATSECRET_MCP_ALLOW_CREDENTIAL_TOOLS=true and should only be exposed temporarily through the bootstrap profile.

Profiles are default, member, discovery, diary, bootstrap, and full. The capability resolver is present in every profile. It can execute only an explicitly reviewed read allowlist permitted by the active profile, without advertising every backend schema. Resolved writes and authentication metadata are blocked.

Mutation contract

Every resource mutation requires an idempotency key. Reuse the same key after a timeout; using it for a different payload is rejected. Recipe-copy resumes use their durable operation ID as the idempotency identity. Ambiguous outcomes are retained as unknown and must be reconciled before another write.

Durable state is namespaced by a one-way account identifier. Account writes are serialized across server processes, and the state directory, database, and lock files are restricted to the current operating-system user.

Recipe ingredients use a known FatSecret food_id. Omit portion_id for grams, or first call list_member_food_portions to select an exact opaque portion ID.

Member recipe and RDI operations automate unsupported FatSecret website forms and can break when that website changes.

See architecture and the tool inventory.

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
Release cycle
2Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Household-aware kitchen brain for AI agents: manage pantry inventory with freshness tracking, shopping lists, recipe collections with cook notes and per-diner ratings, dietary profiles with allergen safety, and kitchen equipment — all through 27 tools with OAuth 2.1 authentication. Includes a free tool for ingredient-based recipe generation without an account (accounts are free!).
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables searching and retrieving nutrition data, recipes, and managing food diary entries through the FatSecret API.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides LLM agents with read-only access to FatSecret's food and recipe database through MCP tools for searching foods and retrieving detailed nutritional information.
    97
    MIT

View all related MCP servers

Related MCP Connectors

  • Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.

  • Spoonacular food API: recipes, nutrition, ingredients, meal plans. Free 150/day.

  • Bounded tools for rendering, extraction, RAG, enrichment, local discovery and review analysis.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ChocoTonic/fatsecret-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server