About treasury
treasury is an MCP server for the public US Treasury Fiscal Data API, for users seeking Treasury data. The README does not list specific data tools, so this overview is limited to its stated data source and access path.
Key features
- 01Connect to the public US Treasury Fiscal Data API
Use cases
- 01Ask Pipeworx questions about Treasury data
- 02Add the treasury MCP service to an MCP client
MCP support
It can connect to MCP clients through the Pipeworx gateway. The README mentions asking questions with ask_pipeworx but does not list tools exposed directly by this service.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://gateway.pipeworx.io/treasury/mcpclaude mcp add --transport http pipeworx-io-treasury https://gateway.pipeworx.io/treasury/mcp{"mcpServers":{"pipeworx-io-treasury":{"type":"http","url":"https://gateway.pipeworx.io/treasury/mcp"}}}Open in Cursor{"servers":{"pipeworx-io-treasury":{"type":"http","url":"https://gateway.pipeworx.io/treasury/mcp"}}}Open in VS Code{"mcpServers":{"pipeworx-io-treasury":{"type":"http","url":"https://gateway.pipeworx.io/treasury/mcp"}}}{"mcpServers":{"pipeworx-io-treasury":{"serverUrl":"https://gateway.pipeworx.io/treasury/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEmcp-treasury
Treasury MCP — US Treasury Fiscal Data public API (free, no auth)
Part of Pipeworx — an MCP gateway connecting AI agents to 673+ live data sources.
Tools
| Tool | Description |
|---|
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"treasury": {
"url": "https://gateway.pipeworx.io/treasury/mcp"
}
}
}
Or connect to the full Pipeworx gateway for access to all 673+ data sources:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English:
ask_pipeworx({ question: "your question about Treasury data" })
The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.