crop-prices
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
crop-prices
A Claude Code plugin for US commodity crop prices. It bundles an MCP server that fetches prices for 37 crops from three free sources, and a skill that turns them into a one-screen market brief.
Source | What it is | Freshness |
Yahoo Finance | Front-month futures (CBOT, ICE) | Daily |
USDA NASS | Average price received by US farmers | Monthly (yearly for nuts, tobacco, sugarbeets) |
FRED (IMF) | Global benchmark prices | Monthly |
What you get
MCP tools
list_commodities: crops and groups the server knows about.get_current_price: latest price for one crop (futures first, then farm, then global).get_price_history: a price series with start, end, low, high, and % change. Supports state-level farm prices (e.g. Iowa soybeans).compare_commodities: rank up to 12 crops by % change over the same period.get_group_snapshot: current prices for a whole group (grains, oilseeds, fiber, softs, specialty, forage, other).
Skill: crop-market-brief
Ask "give me a crop market brief" and Claude writes a short report: a headline, futures price tables by group, a 12-month trend table, and notes on units and how fresh each price is.
Related MCP server: USDA MCP Server
Install
Requirements: uv (the server runs with uv run).
/plugin marketplace add RootedInData/crop-prices
/plugin install crop-prices@crop-pricesUSDA NASS API key (optional)
Futures and global prices work without a key. For USDA farm prices, get a free key at https://quickstats.nass.usda.gov/api and set it:
claude plugin configure crop-pricesThe key is stored as a sensitive plugin option. For local development you can put it
in .env instead (see .env.example).
Notes on the data
Every price comes with its unit and source. Units differ across sources, even for the same crop (soybeans: cents/bushel futures, $/bushel farm price, $/metric ton global).
Futures and farm prices measure different things; the skill never computes a % change between them.
Prices are nominal (not adjusted for inflation).
Not investment advice.
Development
uv sync
uv run pytest
uv run python -m server.crop_prices_server # run the server over stdio
claude --plugin-dir . # load the plugin for one sessionSelf-hosting over HTTP (optional)
The plugin runs the server on your machine over stdio. server/http_app.py serves the
same tools over Streamable HTTP, protected by a bearer token, for hosting.
Run locally
export MCP_AUTH_TOKEN=$(python3 -c "import secrets; print(secrets.token_urlsafe(32))")
uv run uvicorn server.http_app:app --port 8080
claude mcp add --transport http crop-prices-http http://localhost:8080/mcp \
--header "Authorization: Bearer $MCP_AUTH_TOKEN"Requests without the token get 401. If MCP_AUTH_TOKEN is unset, every request is refused.
Deploy to Google Cloud Run (needs a project with billing enabled; small personal use normally stays in the free tier, but Google Cloud has no hard spending cap)
PROJECT=your-project-id REGION=us-central1
gcloud services enable run.googleapis.com cloudbuild.googleapis.com \
artifactregistry.googleapis.com secretmanager.googleapis.com --project $PROJECT
printf %s "$MCP_AUTH_TOKEN" | gcloud secrets create mcp-auth-token --data-file=- --project $PROJECT
printf %s "$NASS_API_KEY" | gcloud secrets create nass-api-key --data-file=- --project $PROJECT
# Let Cloud Run's default service account read the secrets
SA=$(gcloud projects describe $PROJECT --format="value(projectNumber)")-compute@developer.gserviceaccount.com
for s in mcp-auth-token nass-api-key; do
gcloud secrets add-iam-policy-binding $s --member=serviceAccount:$SA \
--role=roles/secretmanager.secretAccessor --project $PROJECT
done
gcloud run deploy crop-prices --source . --region $REGION --project $PROJECT \
--max-instances 1 --memory 512Mi --allow-unauthenticated \
--set-secrets MCP_AUTH_TOKEN=mcp-auth-token:latest,NASS_API_KEY=nass-api-key:latest--allow-unauthenticated lets requests reach the app; the app itself checks the token.
Then connect with claude mcp add --transport http crop-prices-cloud <service-url>/mcp --header "Authorization: Bearer $MCP_AUTH_TOKEN". Set a budget alert in the Billing console.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Real-time and historical price feeds for 500+ crypto, equities, FX, and commodities assets.
AI-powered commodity price forecasts and Brazil trade intelligence via MCP. Access Brazilian exports and imports from MDIC/ComexStat since 2000, by HS4, HS6 and NCM code, partner country, USD FOB and kilograms — plus crop production, supply & demand, climate data and production forecasts for major commodities including soybeans, coffee, corn, beef and cocoa. Compare trade flows, markets, countries and time periods with like-for-like windows. Every answer identifies the measurement period and data source. 15 read-only tools. Metered in credits. Connect directly via Streamable HTTP — no installation required: https://mcp.kyrodata.com/mcp Authentication: Bearer key or OAuth 2.1 (PKCE). Official MCP registry: com.kyrodata/kyrodata
Institutional digital asset prices, OHLCV, VWAP, market cap, order books and spot/derivative trades.
Live and historical prices for gold, silver and other metals, energy, currencies and crypto.
Related MCP Servers
AlicenseAqualityAmaintenanceReal-time and historical oil, gas, and commodity prices. 40+ energy commodities including Brent Crude, WTI, Natural Gas, LBMA Gold/Silver, EU Carbon, and refined products. Get current prices, compare commodities, view market overviews, and access historical data — all through natural language. Used by energy traders, fintech companies, and researchers worldwide.3299 npm4MIT- 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.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server providing global soft-commodity data (cocoa, coffee, sugar, cotton, cashew) with per-call billing in USDC, offering tools for farmgate prices, ICE futures, CFTC COT positioning, and historical series.11 npmMIT
- FlicenseNot gradedqualityBmaintenanceProvides agricultural product price monitoring, price index tracking, and daily/weekly/monthly market report queries to support price fluctuation identification and market trend analysis.1-