Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aiagenta2z avatar

Fdcnal Usda Fooddata Central Agent

  • 1 installs
  • 48 repo stars
  • Updated April 10, 2026
  • aiagenta2z/onekey-gateway

fdcnal-usda-fooddata-central-agent is a Claude Code skill that wraps the USDA FoodData Central REST API through the OneKey Agent Gateway to fetch nutrient data.

About

fdcnal-usda-fooddata-central-agent is a Claude Code skill that wraps the USDA FoodData Central (FDC) REST API through the OneKey Agent Gateway. It provides scripts to search foods, list foods, and fetch nutrient details by FDC ID. A developer uses it when integrating USDA nutrient data into an application.

  • Wraps the USDA FoodData Central REST API via the OneKey Agent Gateway
  • Ships Node, Python, and TypeScript scripts for search, list, and fetch-by-ID
  • Exposes get_foods_multiple, get_food_by_id, list_foods, and search_foods

Fdcnal Usda Fooddata Central Agent by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #3,836 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Jul 7, 2026 (Skillselion catalog sync)
At a glance

fdcnal-usda-fooddata-central-agent capabilities & compatibility

Requires a USDA FDC or OneKey Gateway (DEEPNLP_ONEKEY_ROUTER_ACCESS) access key

Capabilities
api integration · food data lookup · nutrient search
Use cases
api development · research
Pricing
Bring your own API key
From the docs

What fdcnal-usda-fooddata-central-agent says it does

The FoodData Central API provides REST access to FoodData Central (FDC), assisting developers in incorporating nutrient data into their applications.
SKILL.md
Auto-generated skill for OneKey Agent Gateway registered agent `fdcnal/usda-fooddata-central-agent` based on its `api_list` from registered API metas.
SKILL.md
Returns a list of foods that matched search (query) keywords
SKILL.md
npx skills add https://github.com/aiagenta2z/onekey-gateway --skill fdcnal-usda-fooddata-central-agent

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars48
Last updatedApril 10, 2026
Repositoryaiagenta2z/onekey-gateway

What it does

Integrate USDA FoodData Central nutrient data into an application via search and fetch calls.

Who is it for?

Pulling USDA nutrient and branded-food data into an app

When should I use this skill?

Incorporating USDA FoodData Central nutrient data into an application

What you get

App code that queries and retrieves USDA nutrient data by search or FDC ID

  • API call scripts (JS/Python/TS)

By the numbers

  • 4 exposed APIs (get_foods_multiple, get_food_by_id, list_foods, search_foods)
  • scripts in 3 languages (JS, Python, TS)

Files

SKILL.mdMarkdownGitHub ↗

fdcnal-usda-fooddata-central-agent

Auto-generated skill for OneKey Agent Gateway registered agent fdcnal/usda-fooddata-central-agent based on its api_list from registered API metas. Available to use in CLIs, Skills, Rest APIs, and more agent preferred formats.

Quick Start

Set the API providers access key `` or the registered OneKey Gateway access key DEEPNLP_ONEKEY_ROUTER_ACCESS from AI Agent Marketplace.

export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_REGISTRY_KEY

Run an API via scripts:

  • Node (JS): node scripts/<api_name>.js --data '{"key":"value"}'
  • Python: python3 scripts/<api_name>.py --data '{"key":"value"}'

APIs

get_foods_multiple

Fetches details for multiple food items using input FDC IDs

  • Method: GET,POST
  • Endpoint: https://api.nal.usda.gov/fdc/v1/foods

Parameters:

  • fdcIds: array[string]
  • format: string=full
  • nutrients: array[integer]
Curl
curl -X GET,POST "https://api.nal.usda.gov/fdc/v1/foods" \
  -H "Content-Type: application/json" \
  -d '{}'
Scripts
node scripts/get_foods_multiple.js --data '{}'
python3 scripts/get_foods_multiple.py --data '{}'

get_food_by_id

Fetches details for one food item by FDC ID

  • Method: GET
  • Endpoint: https://api.nal.usda.gov/fdc/v1/food/{fdcId}

Parameters:

  • fdcId: string
  • format: string=full
  • nutrients: array[integer]
Curl
curl -X GET "https://api.nal.usda.gov/fdc/v1/food/{fdcId}"
Scripts
node scripts/get_food_by_id.js --data '{}'
python3 scripts/get_food_by_id.py --data '{}'

list_foods

Returns a paged list of foods, in the 'abridged' format

  • Method: GET,POST
  • Endpoint: https://api.nal.usda.gov/fdc/v1/foods/list

Parameters:

  • dataType: array[string]
  • pageSize: integer=50
  • pageNumber: integer=1
  • sortBy: string
  • sortOrder: string
Curl
curl -X GET,POST "https://api.nal.usda.gov/fdc/v1/foods/list" \
  -H "Content-Type: application/json" \
  -d '{}'
Scripts
node scripts/list_foods.js --data '{}'
python3 scripts/list_foods.py --data '{}'

search_foods

Returns a list of foods that matched search (query) keywords

  • Method: GET,POST
  • Endpoint: https://api.nal.usda.gov/fdc/v1/foods/search

Parameters:

  • query: string
  • dataType: array[string]
  • pageSize: integer=50
  • pageNumber: integer=1
  • sortBy: string
  • sortOrder: string
  • brandOwner: string
Curl
curl -X GET,POST "https://api.nal.usda.gov/fdc/v1/foods/search" \
  -H "Content-Type: application/json" \
  -d '{}'
Scripts
node scripts/search_foods.js --data '{}'
python3 scripts/search_foods.py --data '{}'

Scripts

Each API has a dedicated script in scripts/:

node scripts/<api_name>.js --data '{"key":"value"}'
python3 scripts/<api_name>.py --data '{"key":"value"}'

CLIs

npx onekey agent fdcnal/usda-fooddata-central-agent get_foods_multiple '{"fdcIds":[],"format":"value","nutrients":0}'
npx onekey agent fdcnal/usda-fooddata-central-agent get_food_by_id '{"fdcId":"value","format":"value","nutrients":0}'
npx onekey agent fdcnal/usda-fooddata-central-agent list_foods '{"dataType":[],"pageNumber":0,"pageSize":0,"sortBy":"value","sortOrder":"value"}'
npx onekey agent fdcnal/usda-fooddata-central-agent search_foods '{"brandOwner":"value","dataType":[],"pageNumber":0,"pageSize":0,"query":"value","sortBy":"value"}'

References

  • reference/api_list.json: original api_list payload
  • reference/api_meta.json: normalized API metadata used by scripts

Related skills

Backend & APIsintegrationsbackend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.