treasury_avg_interest_rates
Pack: treasury-fiscal · Endpoint: https://gateway.pipeworx.io/treasury-fiscal/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/treasury_avg_interest_rates for the schema, then POST the same URL with its arguments for the data.
Average interest rates on US Treasury securities by security type (bills, notes, bonds, TIPS, total marketable / non-marketable) from the Treasury Fiscal Data avg_interest_rates dataset. Returns recent monthly records.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | Number of records to return (default 12) |
Example call
Arguments
{
"limit": 12
}
curl
curl -X POST https://gateway.pipeworx.io/treasury-fiscal/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"treasury_avg_interest_rates","arguments":{"limit":12}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('treasury_avg_interest_rates', {
"limit": 12
});
More examples
{
"limit": 24
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"treasury-fiscal": {
"url": "https://gateway.pipeworx.io/treasury-fiscal/mcp"
}
}
}
See Getting Started for client-specific install steps.