MCP server for Chinese food nutrition data (~1724 foods, 25 nutrients per 100g)
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add cn-food -- npx -y cn-food-mcp~/.codex/config.toml
[mcp_servers.cn-food]
command = "npx"
args = ["-y", "cn-food-mcp"]
# codex mcp add cn-food -- npx -y cn-food-mcp~/.cursor/mcp.json
{
"mcpServers": {
"cn-food": {
"command": "npx",
"args": [
"-y",
"cn-food-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"cn-food": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cn-food-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"cn-food": {
"command": "npx",
"args": [
"-y",
"cn-food-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"cn-food": {
"command": "npx",
"args": [
"-y",
"cn-food-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"cn-food": {
"command": "npx",
"args": [
"-y",
"cn-food-mcp"
]
}
}
}