fatsecret-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fatsecret-mcp-serversearch for quinoa nutrition facts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FatSecret MCP Server
A remote Model Context Protocol server for the FatSecret nutrition API, deployed on Cloudflare Workers.
MCP Tools
Tool | Description |
| Search the FatSecret food database |
| Get detailed nutrition info for a food |
| Search for recipes |
| Get recipe details, ingredients, and instructions |
| Get the authenticated user's profile |
| Get food diary entries for a date |
| Log a food entry to the user's diary |
| Get weight entries for a month |
| Check current authentication status |
Related MCP server: fitatu-wrapper
Self-Hosting
Prerequisites
A FatSecret developer account with API credentials
Wrangler CLI installed
Deploy
# Clone and install
git clone https://github.com/fcoury/fatsecret-mcp.git
cd fatsecret-mcp
npm install
# Create KV namespace and note the ID
npx wrangler kv namespace create OAUTH_KV
# Update wrangler.jsonc with your KV namespace ID
# Set the encryption secret (generate with: openssl rand -hex 32)
npx wrangler secret put COOKIE_ENCRYPTION_KEY
# Deploy
npm run deployUsage
Visit your deployed server URL (e.g.
https://fatsecret-mcp-server.<you>.workers.dev)Click Setup Your Account
Enter your FatSecret Client ID, Client Secret, and Consumer Secret
Connect your FatSecret account via OAuth
Copy the MCP configuration shown on the setup page into your MCP client
The configuration looks like:
{
"mcpServers": {
"fatsecret": {
"url": "https://fatsecret-mcp-server.<you>.workers.dev/mcp",
"transport": {
"type": "http",
"headers": {
"Authorization": "Bearer <your-session-token>"
}
}
}
}
}Development
npm run dev # Local dev server on port 8787
npm run test # Run tests (vitest)
npm run test:run # Run tests once
npm run type-check # TypeScript type checking
npm run format # Format with Biome
npm run lint:fix # Lint and auto-fix with BiomeLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Edamam MCP — wraps three Edamam APIs in one pack:
Log meals, check calories and macros, set up a nutrition plan, and search foods.
Food and nutrition data: search, macros, and comparisons
Spoonacular food API: recipes, nutrition, ingredients, meal plans. Free 150/day.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides access to the Spoonacular food API for recipes, nutrition, ingredients, and meal plans.MIT
- AlicenseCqualityCmaintenanceEnables programmatic access to Fitatu nutrition tracking via MCP tools for login, food search, product lookup, daily nutrition read, and adding entries.9MIT
- AlicenseAqualityCmaintenanceEnables searching and retrieving nutrition data from the USDA FoodData Central API, with tools for food search, nutrient lookups, and bulk operations.1613MIT
- AlicenseBqualityCmaintenanceEnables searching FatSecret's food and recipe database, and managing personal food diary, weight, exercise, saved meals, and favorites, with multi-user support and secure OAuth authentication.28Apache 2.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/thaynam/fatsecret-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server