- Product version
- 0.1.1
- Docs revision
- r0
- State
- Historical · released
- Deployment
- unknown
- Source
- v0.1.1 · 39f882c79b35
Released, not yet live — live runtime v0.1.3
Public Finance
Connect and use Public Finance
v0.1.139f882c
This page takes you from nothing to a trustworthy Public Finance answer, then shows how to tell when an answer should not be trusted.
Connect
Public Finance is reached through the single Mercury MCP endpoint:
https://mcp.mercuryintelligence.net/mcpAdd it as a remote MCP server in your client and complete the sign-in in your browser — the same sign-in used across Mercury. Any OAuth-capable MCP client works: ChatGPT, Claude, Claude Code, Codex, Cursor, VS Code, or any other client that supports the standard. There is no API key to create or store. Connecting a client has the steps for each client, and How sign-in works explains the sign-in itself.
The runtime is the authority
The endpoint and tool surface change less often than they change shape. What your client lists from the running server is the executable truth; this page and the reference are the recorded contract. If the two disagree, trust the running server and treat the page as out of date.
Make your first call
Start with the composite reading and its interpretation. It is one call, it returns a small payload, and it tells you immediately whether the rest of your question is worth asking.
get_lci_summary()Then widen only if you need to:
get_lci(days=30) # the composite historyget_fed_liquidity_summary() # the monetary pillarget_data_freshness() # the four families this tool tracksget_market_snapshot() returns four things in one call — the composite summary, the monetary-pillar
summary, the latest fiscal row, and the latest reference rates — for when you want those together
rather than one at a time. It is not a bundle of everything the service publishes: it carries no
stress, settlement fails, dealer positions, auctions, or freshness.
Read a result
A Public Finance answer tells you three separate things, and they are worth keeping apart:
- The value. A number in the series' own units.
- The date it describes. Every row carries the record date the value belongs to — which is the date of the underlying official publication, not the time you asked.
- The state of the data behind it. Whether the series is current, and what the service knows about its own freshness.
A large number with a stale record date is a stale answer. Read the date before you read the number.
The composite reading also carries a regime label. The labels run, in order, from very loose conditions to very tight ones:
The label is a position in a five-step vocabulary, not a promise. Where the boundaries between the steps sit is part of what is not published — see How Public Finance produces its numbers.
Check freshness before trusting a number
This is the step people skip and then regret. Public Finance reports official series; it cannot be fresher than the sources behind them, and those sources publish on their own calendars, not on yours.
get_data_freshness()This tool tracks four families and nothing else: Fed balance sheet (weekly), fiscal daily statements (daily), NY Fed repo operations (hourly), and Treasury auction results (daily).
Read it as: of those four, which has a current row, and how old is the newest one. Then apply the rule:
- If the newest record date is the one you expect for today's calendar, the number is current.
- If it is older, you are looking at the last publication, not at now. That is not a failure — it is the honest state of the data, and reports that mix it with same-day figures are the reports that mislead.
- A family with no row is not evidence of missing data. Reference rates, settlement fails, dealer positions, cross-border flows, marketable securities, debt, repo-market stress and the composite itself are outside this tool entirely. If you need freshness for one of those, this call cannot answer it — say so rather than reading absence as a gap.
Do not silently backfill a stale value with a fresher one from a different family. The pillars measure different things.
Aim your question at the right tool
Pick by what you are actually asking, not by what the data is called:
The reference lists the exact parameters, defaults, and limits for each.
Keep an answer small
Ask for the smallest window and the fewest fields that answer your question, then narrow rather than broaden:
- Prefer the
latestandsummarytools over a history call. They exist so you do not have to fetch a series to read its current value. - When you do want history, request the window you need and no more. Every tool that takes
daysstates its own maximum; the default is a starting point, not a recommendation. - Pass
fieldswhen you know which columns matter. A narrower payload is cheaper and easier to read, and it makes an accidental column harder to misread. - Use the default compact output format for inspection. Switch to plain structured output only when something downstream needs it.
When something looks wrong
What to do next
- Public Finance MCP tools — exact contracts.
- How Public Finance produces its numbers — sourcing, cadence, and what is withheld.
- Public Finance — back to the service landing.