nutritionix-mcp-server
Enables AI agents to search foods, get nutritional breakdowns, and estimate exercise calories using the Nutritionix API through natural language input.
README
π₯¦ Nutritionix MCP Server
This is an MCP (Model Context Protocol) server for integrating with the Nutritionix API, enabling AI agents to access food search, nutrition data, and exercise calorie estimates via natural language input.
The goal of this project is to expose Nutritionix's functionality through MCP-compatible tools that can be used seamlessly by large language models and agent frameworks.
π§ What is MCP?
MCP (Model Context Protocol) is a lightweight protocol designed to let AI agents interact with external tools and APIs in a structured and modular way. Think of it like USB for AI β this server acts as a "driver" for the Nutritionix platform.
With this MCP server, AI models can:
- π Search for common and branded food items
- π½οΈ Parse natural language meals into nutritional breakdowns
- π Estimate calories burned from exercises like running, cycling, or yoga
π How to Run
To use this MCP server, you'll need:
β Prerequisites
- Python 3.11+
uvβ a modern Python package manager- A supported LLM (e.g., Claude)
- A Nutritionix API App ID and App Key β get them at developer.nutritionix.com
Add this to Claude Desktop config
{
"mcpServers": {
"nutritionix-mcp": {
"command": "uvx",
"args": [
"nutritionix-mcp-server",
"--app-id",
"YOUR APP ID",
"--app-key",
"YOUR APP KEY"
]
}
}
}
π€ Contributions Welcome!
Whether you're into nutrition tech, AI agent development, or API tooling β weβd love your help improving this project. You can contribute by:
- Adding new tools (e.g., barcode search, food logging)
- Improving response formatting
- Writing tests or documentation
- Suggesting new ideas via Issues or Discussions
Feel free to fork, explore, and submit a PR. Letβs make agent-integrated nutrition smarter, together. π§ π₯
MCP-FORGE β Building tools for the future of intelligent automation.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.