Treasury Fiscal

v0.2.1
io.github.pipeworx-io/treasury-fiscal Checked 1 hour ago Published 25 days ago

Treasury Fiscal MCP — US Treasury Fiscal Data API

Values you need

VariableWhat it is
PIPEWORX_API_KEYoptional secret Optional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add treasury-fiscal -- npx -y @pipeworx/mcp-treasury-fiscal@0.2.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "treasury-fiscal": {
      "args": [
        "-y",
        "@pipeworx/mcp-treasury-fiscal@0.2.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "treasury-fiscal": {
      "args": [
        "-y",
        "@pipeworx/mcp-treasury-fiscal@0.2.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "treasury-fiscal": {
      "args": [
        "-y",
        "@pipeworx/mcp-treasury-fiscal@0.2.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.treasury-fiscal]
command = "npx"
args = ["-y", "@pipeworx/mcp-treasury-fiscal@0.2.1"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http treasury-fiscal https://gateway.pipeworx.io/treasury-fiscal/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "treasury-fiscal": {
      "args": [
        "-y",
        "mcp-remote",
        "https://gateway.pipeworx.io/treasury-fiscal/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "treasury-fiscal": {
      "url": "https://gateway.pipeworx.io/treasury-fiscal/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "treasury-fiscal": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/treasury-fiscal/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.treasury-fiscal]
command = "npx"
args = ["-y", "mcp-remote", "https://gateway.pipeworx.io/treasury-fiscal/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: treasury_customs_revenue, treasury_receipts, treasury_debt, treasury_exchange_rates, treasury_avg_interest_rates, treasury_federal_net_cost, treasury_outlays, treasury_auction_results.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json