- Product version
- 0.1.2
- Docs revision
- r0
- State
- Current · released
- Deployment
- unknown
- Source
- v0.1.2 · fd1068e70894
Released, not yet live — live runtime v0.1.3
Public Finance
Public Finance MCP tools
v0.1.2fd1068e
Exact contracts for the 22 Public Finance MCP tools. Use this page when you need a parameter name, a default, or a limit. Use the operational guide when you need to know which one to reach for. Every tool is reached through the single Mercury MCP endpoint described in Connect and use Public Finance.
Verify against the running service
This reference records the contract as published with product version 0.1.1. Your client's tool
list is the executable authority. Where it disagrees with this page, it wins.
Conventions
Every MCP tool except health_check takes format, which selects the response encoding — 21 of
the 22 tools. health_check takes no arguments and returns a status object.
Window parameters are capped rather than rejected. Asking for more than the maximum returns the
maximum. start_date and end_date are ISO dates, and supplying them supersedes the window
parameter.
fields, where a tool accepts it, is an optional list narrowing the returned columns. Omitting it
returns the tool's default column set.
Composite reading
get_lci_summary
get_lci_summary
The single most useful call. Returns the current composite reading with its regime label and its
position relative to its own history. Takes format only.
get_lci_latest
get_lci_latest
The latest composite row alone, with the three component values and the moving averages the service
publishes alongside the composite. Takes fields and format.
get_lci
get_lci
Composite history. days defaults to 30 and caps at 365; fields, start_date, and end_date
as described under Conventions.
Monetary pillar
get_fed_liquidity_summary
get_fed_liquidity_summary
The Federal Reserve's balance-sheet position with one-week and one-month changes. format only.
get_fed_liquidity_latest
get_fed_liquidity_latest
The latest monetary-pillar row. Takes fields and format.
get_fed_liquidity
get_fed_liquidity
Monetary-pillar history. days defaults to 30 and caps at 365.
Fiscal pillar
get_fiscal_daily_latest
get_fiscal_daily_latest
The latest daily fiscal row: spending, receipts, net impulse, and the Treasury General Account
balance. Takes fields and format.
get_fiscal_daily
get_fiscal_daily
Daily fiscal history. days defaults to 30 and caps at 365.
get_fiscal_weekly
get_fiscal_weekly
Weekly fiscal aggregates. weeks defaults to 12 and caps at 52; takes start_date and
end_date.
Operations and funding
get_repo_operations
get_repo_operations
Repo operations, including submission and acceptance amounts. days defaults to 30 and caps at
365; takes fields.
get_rrp_operations
get_rrp_operations
Reverse-repo operations. days defaults to 30 and caps at 365; takes fields.
get_reference_rates
get_reference_rates
Money-market reference rates history. days defaults to 30 and caps at 365; takes fields.
get_reference_rates_latest
get_reference_rates_latest
The latest reference-rate row — the fastest way to read current funding rates. Takes format only.
Market structure
get_settlement_fails
get_settlement_fails
Treasury settlement fails by maturity. weeks defaults to 12 and caps at 52.
get_primary_dealers
get_primary_dealers
Primary-dealer positions. weeks defaults to 12 and caps at 52.
Stress readings
Two different stress measures
This release exposes two unrelated stress series:
- A financial stress index column on the monetary-pillar rows, sourced from a published stress
measure and returned with the monetary-pillar data (
get_fed_liquidity_latest). - An OFR repo-market stress series, which is not exposed as its own MCP tool in this release.
get_market_snapshot does not carry either one — its payload is the composite summary, the
monetary-pillar summary, the latest fiscal row, and the latest reference rates.
Supply and cross-border
get_auction_results
get_auction_results
Treasury auction results. days defaults to 30 and caps at 365. instrument_family optionally
filters to one family — for example bill, note, bond, tips, or frn.
get_auctions_upcoming
get_auctions_upcoming
The upcoming auction calendar. Same parameters and limits as get_auction_results.
get_debt_latest
get_debt_latest
Total public debt outstanding, latest reading. Takes format only.
get_tic_flows
get_tic_flows
Cross-border capital flows. months defaults to 12 and caps at 36; takes start_date and
end_date.
Service state and bundles
get_data_freshness
get_data_freshness
Freshness status for the five families this tool tracks: Fed balance sheet (weekly), fiscal daily statements (daily), NY Fed repo operations (hourly), Treasury settlement fails (weekly), and Treasury auction results (daily). Each row carries the newest record date it found and a status. Settlement fails are published about eight days after the Wednesday they cover, so that family is reported stale only once a weekly release is overdue, not merely because its newest row is more than a week old.
This is not a service-wide freshness view. Families with no row here — reference rates,
dealer positions, cross-border flows, marketable securities, debt, repo-market stress, and the
composite itself — are outside this tool. A family's absence means the tool does not
cover it, not that the family has no data. Takes format only.
health_check
health_check
Service and data-store connectivity. Call it when a request fails and you need to know whether the fault is yours or the service's. Takes no arguments.
get_market_snapshot
get_market_snapshot
A four-part bundle in one call: the composite summary, the monetary-pillar summary, the latest
fiscal row, and the latest reference rates. Takes format only. Prefer a focused tool when you
already know what you need — and note that this bundle does not include stress, settlement
fails, dealer positions, auctions, or freshness.
Field vocabulary
Composite rows carry the composite value, the three component values, two moving averages of the composite, the regime label, and the record date. Monetary and fiscal rows carry their own column sets, which are wide by design: each family's source publishes many columns and the service keeps them rather than discarding them.
Two field names are worth stating explicitly because they are easy to misread:
Component weights, the normalisation window behind the component values, and the boundaries between regime labels are not published here. See How Public Finance produces its numbers.
Known limits
- Windows are capped as stated per tool; a larger request is silently reduced to the cap.
- History depth is bounded by what the service stores, not by the window parameter.
- The reference does not state per-series coverage start dates, retention, or known source gaps. Those are part of the not-yet-published methodology, and the service's freshness output is the reliable way to see what is currently present.
- Broader series and operations coverage will widen over time (*).
(*) This feature is coming and is not available yet.