# USDA NASS MCP for AI Agents AI Agent Connect

> USDA NASS lets you pull real-time US agricultural statistics directly into your AI workflow. You can query crop yields, livestock inventory, farm economics, and census demographics without digging through government portals. It connects your agent to the National Agricultural Statistics Service so you can get hard data on commodities like corn, wheat, and cattle instantly.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_PlFn4feNqVF9wiVJS8FXbBowTEREAYjkrMR5jugU/ai-agent-connect
- **Tags:** crop-statistics, livestock-data, farm-economics, demographics, agricultural-data

## Description

This Connector connects your agent directly to the National Agricultural Statistics Service (NASS). Instead of digging through complex government portals to find crop yields or livestock data, you can just ask your agent for the numbers. It pulls data on production, prices, and acreage for major commodities like corn, wheat, and soybeans. Whether you're looking for cattle inventory across the country or farm income trends for small-scale operators, the data comes back ready to use. Because Vinkius hosts this Connector, you can plug it into your existing setup and turn your AI into a specialized agricultural data analyst. It's about getting the right numbers for your reports or trade decisions without the manual data entry.

## Tools

### get_demographics_data
Pull census data about farm operators, including age and experience. It's great for understanding who is actually running the farms.

### get_economics_data
Access farm income, production expenses, and land values. This gives you a clear picture of the financial side of agriculture.

### get_param_values
Check what filters are available for different categories like state or year. Use this to see exactly what data points you can query.

### get_quick_stats
Query the main database for specific values like yield or price. It pulls the core statistics you need for a quick overview.

### get_survey_info
See what surveys are available and how often they collect data. This helps you understand the scope of the information you can request.

### search_by_commodity
Find all available data for a specific commodity like wheat or rice. It returns production, price, and acreage stats in one go.

### get_livestock_summary
Retrieve production numbers for cattle, hogs, and poultry. You can see inventory levels and totals for specific regions.

### get_crop_summary
Get detailed stats on specific crops like corn or soybeans. You can filter by state and year to see production and price data.

## Prompt Examples

**Prompt:** 
```
What was the average price farmers got for soybeans in 2023?
```

**Response:** 
```
### 2023 Soybean Prices

| State | Avg Price Received |
| :--- | :--- |
| Iowa | $13.20/bu |
| Illinois | $13.15/bu |
| Nebraska | $13.40/bu |

**Notes:**
* Prices vary slightly by region.
* These are the average prices received by farmers.
```

**Prompt:** 
```
Give me a summary of cattle inventory for Montana.
```

**Response:** 
```
### Montana Cattle Inventory (Latest)

* **Total Cattle & Calves:** 2.1 million head
* **Beef Cows:** 850,000
* **Milk Cows:** 45,000
* **Other Cattle:** 1.2 million

Montana remains a top producer for beef cattle inventory in the western US.
```

**Prompt:** 
```
What are the demographics for farm operators in the Midwest?
```

**Response:** 
```
### Midwest Farm Operator Demographics

* **Average Age:** 54 years
* **Experience:** 22 years average
* **Key Occupations:** Owner, Manager, and Sharecropper
* **Veteran Status:** 12% of operators identify as veterans

These stats are pulled from the latest Census of Agriculture.
```

## Capabilities

### Pull crop production summaries
Get production totals, harvested acres, and yields for major commodities.

### Track livestock inventory levels
Retrieve current head counts and production stats for cattle, hogs, and poultry.

### Analyze farm economics and land values
Access data on farm income, production expenses, and land values.

### Extract census demographics for farm operators
Pull data on operator age, experience, and occupation from the Census of Agriculture.

### Search broad commodity statistics
Query all available data for a specific commodity in one step.

### Discover valid filter parameters
See which states, years, and units are available before making a query.

### Review NASS survey methodologies
Check survey frequencies and data collection methods.

## Use Cases

### Monitoring cattle inventory trends
A trader asks the agent for Texas cattle inventory. The agent pulls the latest head counts and compares them to previous years to identify trends.

### Building regional crop reports
An analyst asks for Iowa corn yields in 2024. The agent provides the total bushels, harvested acres, and average yield for that specific period.

### Analyzing farm operator demographics
A researcher asks about farm demographics. The agent pulls census stats on operator age and experience to help characterize the workforce.

### Benchmarking farm income
A farmer asks for average farm income for soybeans. The agent finds the national average and the state average to provide a benchmark.

## Benefits

- Stop manual data scraping: Use `get_quick_stats` to pull production data instantly instead of clicking through government websites.
- Faster market analysis: Use `search_by_commodity` to quickly see inventory levels and price trends for your trade reports.
- Better demographic insights: Pull operator experience and age data with `get_demographics_data` to understand rural trends.
- Accurate economic modeling: Get farm income and land values using `get_economics_data` to build more accurate financial forecasts.
- Precise crop tracking: Use `get_crop_summary` to see state-specific yields and harvested acres for any major crop.
- Live inventory checks: Use `get_livestock_summary` to monitor cattle and poultry head counts across different regions.

## How It Works

The bottom line is you get direct access to federal agricultural data through simple conversation.

1. Get your free API key from the official NASS developer site.
2. Connect the Connector to your AI client using the Vinkius dashboard.
3. Ask questions about crop yields or livestock data to see the results.

## Frequently Asked Questions

**How can I use USDA NASS to get crop yields?**
You can ask your agent to pull specific yield data for any major crop like corn or wheat. It will automatically find the production numbers and harvested acres for the state or year you specify.

**Can this Connector show me livestock numbers?**
Yes, it can pull summaries for cattle, hogs, poultry, and even milk and egg production. You just tell your agent which animal or product you want to see.

**Is the data from USDA NASS updated in real-time?**
The data reflects the latest available statistics from the National Agricultural Statistics Service. Your agent will pull the most recent records for prices, production, and inventory.

**Can I use this for farm economics research?**
Definitely. You can ask about farm income, production expenses, and land values. It's a great way to get a clear picture of the financial side of US agriculture.

**What kind of farm demographics can I see?**
You can see data on farm operators, including their age, years of experience, and occupation. It's perfect for understanding the human side of the agricultural industry.

**Does the USDA NASS MCP support all types of crops?**
It covers all the major crops like corn, soybeans, wheat, cotton, and rice. You can also check for smaller commodities by asking your agent to search for them.

**How do I get a USDA NASS API key?**
Visit [**nass.usda.gov/developer**](https://www.nass.usda.gov/developer/index.php) and register for a free API key. The key is delivered instantly via the web form. It's completely free with no usage cost.

**What crops and commodities are available?**
The NASS Quick Stats database covers all major US agricultural commodities: CORN, SOYBEANS, WHEAT, COTTON, RICE, SORGHUM, OATS, BARLEY, HAY, PEANUTS, POTATOES for crops; CATTLE, HOGS, CHICKENS, TURKEYS, MILK, EGGS, HONEY for livestock; plus fruit, vegetables, nursery products and many more. Use `get_param_values` with param 'commodity' to see the complete list.

**Can I filter data by state and year?**
Yes! All query tools support optional state and year parameters. State can be the full name (e.g. 'IOWA') or abbreviation (e.g. 'IA'). Year accepts specific years (e.g. '2024') or ranges. The data returned includes the state, year, commodity, value and unit for each record.

**What kind of economic data is available?**
The ECONOMICS sector includes: prices received by farmers for crops and livestock, prices paid by farmers (inputs, feed, fuel), farm production expenses, farm real estate values, cash rent for cropland and pasture, and agricultural income data. Use `get_economics_data` to query by commodity, state and year.