USDA API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read USDA. No USDA API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/usda_gov.md and add Bowmark's USDA MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-usda-gov https://api.bowmark.ai/mcp/site/usda_govPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-usda-gov": {
"url": "https://api.bowmark.ai/mcp/site/usda_gov"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-usda-gov","type":"http","url":"https://api.bowmark.ai/mcp/site/usda_gov"}'Run this in a terminal.
codex mcp add bowmark-usda-gov --url https://api.bowmark.ai/mcp/site/usda_govIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/usda_govIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/usda_govAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/usda_govFunctions
Open a function to see its parameters and run it with your own API key.
searchSearches usda.gov by keyword.POST /v1/sites/usda_gov/search
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/usda_gov/search \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"beef"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.usda_gov.search("beef");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.usda_gov.search("beef"))Responsereturns usda_govSearchPageinterface usda_govSearchResult { title: string; url: string; date?: string; tags: string[]; } interface usda_govSearchPage { query: string; page: number; // zero-based total: number; // matches the site reports for the query results: usda_govSearchResult[]; }