MCP Food Data Central MCP Server

A [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server for accessing the USDA's FoodData Central database. This server provides AI

Local serverstdioPython

What is the MCP Food Data Central MCP Server?

A Model Context Protocol (MCP) server for accessing the USDA's FoodData Central database. This server provides AI agents with the

What you get

This project demonstrates how to build an MCP server that enables AI agents to access the USDA FoodData Central API. It allows searching for foods, retrieving detailed nutritional information, and accessing comprehensive food data through keyword search and structured queries.

Configuration and credentials

  • Python 3.12+ - USDA API key (free from FoodData Central) - Docker if running the MCP server as a container (recommended)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Python 3.12+ - USDA API key (free from FoodData Central) - Docker if running the MCP server as a container (recommended)
VariableDescriptionRequired
TRANSPORTConfiguration value read at startup.Optional
USDA_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

A [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server for accessing the USDA's FoodData Central database. This server provides AI agents with the Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.