Food Data Central MCP Server
MCP service interface for the USDA FoodData Central
rating : 2.5 points
downloads : 17
What is the FoodData Central MCP Server?
The FoodData Central MCP Server is an API gateway based on the Model Context Protocol (MCP) for querying and retrieving food information from the USDA FoodData Central database. It supports multiple data types, such as foundation foods, survey foods, SR legacy data, and branded foods.How to use the FoodData Central MCP Server?
By setting environment variables and running the server, you can easily integrate this service into Claude Desktop or other MCP clients. Simply enter keywords or food IDs to quickly retrieve food information.Applicable Scenarios
Suitable for researchers, health advisors, and food service enterprises that need a large amount of food nutrition information.Main Features
Search for FoodsSearch for foods based on conditions such as keywords and data types.
Get Food DetailsRetrieve detailed food information through the food ID.
List Foods by PageGet a list of foods by page number and sorting method.
Get Specific NutrientsFilter and retrieve specific nutrient data for specified foods.
Advantages and Limitations
Advantages
Supports multiple data types to meet diverse needs.
High - precision query of food nutrition information.
Supports pagination and sorting to enhance the user experience.
Open - source and easy to integrate into existing systems.
Limitations
Requires a valid USDA API key to use.
Some advanced features may be difficult for beginners to understand.
Network latency may slow down query speed.
How to Use
Install Dependencies
After cloning the repository, run `npm install` to install all necessary dependencies.
Build the Project
Execute `npm run build` to generate an executable file.
Start the Server
Set the environment variable `USDA_API_KEY` and then run `npm start`.
Usage Examples
Get Detailed Information about ApplesDemonstrate how to query the nutritional components of apples through the food ID.
Batch Query Multiple FoodsRequest brief information about multiple foods in one request.
Search for Foods of a Specific BrandFind all foods under a certain brand.
Frequently Asked Questions
How to apply for a USDA API key?
What if the server fails to start?
Can food data be imported in batches?
Related Resources
USDA FoodData Central API Documentation
Official API documentation.
GitHub Repository
Open - source code repository.
Claude Desktop Tutorial
How to configure the MCP server in Claude Desktop.
Featured MCP Services

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
837
4.3 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
97
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
150
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
572
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
288
4.5 points