nyfed_primary_dealer_stats
Pack: nyfed-markets · Endpoint: https://gateway.pipeworx.io/nyfed-markets/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/nyfed_primary_dealer_stats for the schema, then POST the same URL with its arguments for the data.
FR 2004 weekly primary dealer positioning/transaction survey (aggregate across all primary dealers). mode=list_series (default) browses the keyid catalog — pass keyid_filter (e.g. “treasury”, “mbs”, “agency”) to find the codes you want. mode=latest returns the most recent weekly values for matching keyids. Data is reported for the current “series break” window automatically (definitions can change across windows; pass seriesbreak explicitly to pin one — see mode=list_series output for window ids).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
mode | string | no | Default list_series. |
keyid_filter | string | no | Substring to match against keyid or its description. |
seriesbreak | string | no | Pin a specific series-break window id (e.g. “SBN2024”). Defaults to the current window. |
limit | number | no | Default 50, max 200. |
Example call
Arguments
{
"mode": "list_series",
"keyid_filter": "treasury"
}
curl
curl -X POST https://gateway.pipeworx.io/nyfed-markets/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nyfed_primary_dealer_stats","arguments":{"mode":"list_series","keyid_filter":"treasury"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('nyfed_primary_dealer_stats', {
"mode": "list_series",
"keyid_filter": "treasury"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"nyfed-markets": {
"url": "https://gateway.pipeworx.io/nyfed-markets/mcp"
}
}
}
See Getting Started for client-specific install steps.