agency_posting_trend
Pack: grants-gov · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/agency_posting_trend for the schema, then POST the same URL with its arguments for the data.
An agency’s opportunity-posting trend by federal fiscal year (Oct-Sep): how many opportunities it posted, total estimated program funding, and average award ceiling, per year. Answers “is this agency posting more or fewer opportunities than last year” and “how has this agency’s funding trended”. Fiscal year is derived from each opportunity’s post_date.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
agency_code | string | no | Agency or sub-agency code, e.g. “EPA”, “NIH”, “HHS-CDC1”. Matches as a prefix/segment, same forgiveness as search_historical_opportunities. Alias: agency. |
agency | string | no | Alias for agency_code. |
years | number | no | Number of most-recent fiscal years to return, 1-40 (default 10). |
Example call
Arguments
{
"agency_code": "DOS",
"years": 5
}
curl
curl -X POST https://gateway.pipeworx.io/grants-gov/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"agency_posting_trend","arguments":{"agency_code":"DOS","years":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('agency_posting_trend', {
"agency_code": "DOS",
"years": 5
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the grants-gov pack
{
"mcpServers": {
"grants-gov": {
"url": "https://gateway.pipeworx.io/grants-gov/mcp"
}
}
}
See Getting Started for client-specific install steps.