usda-nass
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@usda-nassWhat was corn planting progress in Iowa in 2024?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
xippios-usda-nass
Typed Python client, MCP server and FastAPI routes for USDA NASS Quick Stats, part of the xippios SDK family. Names and semantics follow the upstream documentation; every response carries release metadata (source, endpoint, retrieved_at, published_at, vintage).
Install
uv add xippios-usda-nass # client only
uv add "xippios-usda-nass[mcp]" # + MCP server
uv add "xippios-usda-nass[http]" # + FastAPI routerSet NASS_API_KEY in the environment. Nothing is read from files.
Related MCP server: USDA NASS MCP Server
30-second example
from xippios.usda.nass import tasks
filters = {
"commodity_desc": "CORN",
"statisticcat_desc": "AREA PLANTED",
"agg_level_desc": "STATE",
"state_alpha": "VA",
"year": 2012,
}
tasks.get_counts(filters).data # 2 records would come back from api_GET
records = tasks.get_data(filters).data
records[0].short_desc # 'CORN - ACRES PLANTED'
records[0].value, records[0].value_number # '510,000', Decimal('510000'); JSON: 510000get_data calls get_counts first: zero matches return an empty result, more than
50,000 raise QueryTooLarge with the count and a hint to narrow, before anything is
fetched. list_param_values("sector_desc") lists the values a filter can take.
Task-shaped functions sit on top for the slices an agent reaches in one call:
from xippios.usda.nass import tasks
from xippios.usda.nass.enums import ProgressStage, StateAlpha
weekly = tasks.get_crop_progress(
"CORN", 2024, state=StateAlpha.IA, stage=ProgressStage.PCT_PLANTED
).data
weekly[-1].week_ending, weekly[-1].value_number # datetime.date(2024, 6, 9), Decimal('98')They return projections of the Quick Stats record under upstream column names, never a
renamed or computed field (ADR-0003); value stays the published string and
value_number its parsed form. meta.published_at stays empty: Quick Stats publishes
no release time and each row's load_time carries no zone, so nothing is read into it.
The task-shaped functions skip the count check, their fixed filters keep them small; an
over-limit answer still raises QueryTooLarge.
Filters are Quick Stats column names, optionally suffixed with an operator (__GE,
__LE, __LIKE, ...), mapped to values; the columns are listed in
docs/upstream/param_define.md. Quick Stats ignores unknown column names, so the
package checks every key against its column table and raises InvalidRequestError,
naming the closest valid names, before anything is sent. xippios.usda.nass.enums
holds StrEnums for the six packaged lists (StateAlpha.VA, SectorDesc.CROPS, ...) and
for the progress stages and condition categories derived from the data
(ProgressStage.PCT_PLANTED, ConditionCategory.PCT_GOOD).
MCP
{
"mcpServers": {
"usda-nass": {
"command": "uvx",
"args": ["--from", "xippios-usda-nass[mcp]", "xippios-usda-nass-mcp"],
"env": { "NASS_API_KEY": "..." }
}
}
}Tools are read-only and named usda.nass_<verb>_<noun>. Results are capped at
200 rows or 64 KB with a note on how to narrow the query. --http serves streamable
HTTP instead of stdio.
Status
Upstream operation | Task function | MCP tool | Status |
|
|
| alpha |
|
|
| alpha |
|
|
| alpha |
|
|
| alpha |
|
|
| alpha |
|
|
| alpha |
|
|
| alpha |
|
|
| alpha |
|
|
| alpha |
|
|
| alpha |
Upstream terms and attribution
Data comes from USDA NASS Quick Stats (https://quickstats.nass.usda.gov) under its own terms of use;
this package adds no rights to it. Documentation snapshot: docs/upstream/.
Licence
Apache-2.0. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
USDA farm data for AI agents: grain, fertilizer, WASDE, export sales. 27 tools, free, no key.
USDA farmland values and county cash rents for AI agents. NASS data, 3 tools, free, no key.
Read-only, source-linked cattle, sheep, and goat prices, market reports, coverage, and methodology.
Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables plain English queries about US agricultural data, including historical crop statistics from NASS QuickStats and current cash grain prices from AMS Market News.-
- FlicenseNot gradedqualityDmaintenanceEnables access to USDA NASS agricultural statistics data through natural language queries, supporting full dataset retrieval, record counts, and parameter discovery.4-
- AlicenseNot gradedqualityBmaintenanceMCP server for accessing USDA National Agricultural Statistics Service (Quick Stats) data, enabling natural language queries about agricultural statistics.13 npmMIT
- FlicenseNot gradedqualityBmaintenanceRead-only access to approved federal APIs using the data.gov API gateway. Provides tools to call federal APIs and retrieve rate limit information.-