usfiscaldata
Skill by K-Dense-AI
Queries the U.S. Treasury Fiscal Data REST API for national debt, Treasury statements, auctions, interest and exchange rates, and savings bond data. Built for users who need federal financial figures. No API key is needed.
Install usfiscaldata
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/usfiscaldata ~/.claude/skills/usfiscaldataRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/usfiscaldata ~/.gemini/antigravity-cli/skills/usfiscaldataAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The usfiscaldata skill gives an AI assistant access to the U.S. Department of the Treasury Fiscal Data REST API. The source describes it as a free, open API that requires no API key or registration. It covers national debt (Debt to the Penny), Daily Treasury Statements, Monthly Treasury Statements, Treasury securities auctions, interest rates, foreign exchange rates, savings bonds, and U.S. government revenue and spending statistics.
The skill documents the base URL and query parameters such as fields, filter, sort, and page size, along with endpoints for each dataset. It includes Python and R examples, a pagination helper, and notes on units and fields, such as DTS amounts being in millions. It is aimed at users who need federal financial data in code or through an assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- Query national debtRetrieves total public debt from Debt to the Penny and historical debt outstanding data.
- Fetch Daily Treasury StatementsReads daily operating cash balance and deposits and withdrawals data.
- Pull Monthly Treasury StatementsAccesses Monthly Treasury Statement tables, which the source lists as 18 tables.
- Look up Treasury auctionsRetrieves auction results, upcoming auctions, and securities buybacks.
- Retrieve interest and exchange ratesGets average interest rates on Treasury securities and Treasury reporting exchange rates.
- Get savings bond dataRetrieves I Bond interest rates and savings bond issues, redemptions, and maturities.
What you need
- Python 3.10+ with requests and pandas for Python examples
- R with httr and jsonlite for R examples
- Network access
Try asking
- What is the current national debt from Debt to the Penny?
- Show Treasury exchange rates for Canada and Mexico since January 2024.
- Get the latest Treasury auction results for 10-year notes.
Good to know
- Endpoint paths change over time, so verify them on each dataset's API Quick Guide.
- Data-row values are returned as strings, and nulls appear as the string null.
- Exchange rates are government reporting rates, not live trading quotes.
- DTS amounts are in millions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/usfiscaldata/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Edit Bash
-
SKILL.md9 KB -
references/api-basics.md4 KB -
references/datasets-debt.md7 KB -
references/datasets-fiscal.md9 KB -
references/datasets-interest-rates.md7 KB
Show all 9 files
-
references/datasets-securities.md10 KB -
references/examples.md9 KB -
references/parameters.md7 KB -
references/response-format.md6 KB
Alternatives to usfiscaldata
All alternatives →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
Compare with meme-rush, okx-market or saas-metrics-coach
usfiscaldata: common questions
Does the Treasury Fiscal Data API need an API key?
No. The source says the API is fully open and free, and no API key or registration is required.
Which federal datasets does this skill cover?
The skill's endpoint tables cover debt, Daily and Monthly Treasury Statements, interest and exchange rates, Treasury auctions, and savings bonds.
Are the Treasury exchange rates live market quotes?
No. The source states that they are government reporting rates, not live trading quotes.
How do I install usfiscaldata?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is usfiscaldata free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is usfiscaldata safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to usfiscaldata?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
