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: mcp-spoonacular
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
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 Servers
- AlicenseAqualityBmaintenanceMCP server for managing food diary, nutrition tracking, meal planning, and weight logging via the FatSecret Platform API.Last updated15MIT
- Alicense-qualityCmaintenanceProvides access to the Spoonacular food API for recipes, nutrition, ingredients, and meal plans.Last updatedMIT
- Alicense-qualityDmaintenanceEnables programmatic access to Fitatu nutrition tracking via MCP tools for login, food search, product lookup, daily nutrition read, and adding entries.Last updatedMIT
- Flicense-qualityDmaintenanceProvides AI assistants with real-time access to nutrition data from USDA FoodData Central and FatSecret, enabling accurate answers with citations for nutrition queries.Last updated
Related MCP Connectors
Spoonacular food API: recipes, nutrition, ingredients, meal plans. Free 150/day.
Barcode lookup, nutrition search, and product comparison for 3M+ crowd-sourced food products.
Nutrition MCP — wraps Open Food Facts API (free, no auth)
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