API Tools
usdf.fi
An API gateway that lists AI models and callable tools with pricing, quotes request costs, and handles x402 payments for paid API calls.
ENDPOINT 1
https://api.usdf.fi/mcp
MCP server metadata
- Name
- foundry-gateway
- Version
- 1.0.0
Known tools 10
list_modelsModels the gateway serves with their prices (USD per 1M tokens, the same figure in USDF), context window, output limits and whether a route is available right now.
Inferred read-onlyquoteThe hold the chat tool places before running a request, in USDF and USD (output capped at 4096 tokens).
Inferred read-onlylist_toolsTools callable through POST /v1/tools/{id} on the same balance and key as chat, with their price (USDF base units: 1 unit = $0.
Potential side effectsquote_toolThe hold a call to a tool takes for this input before it runs (its worst case), in USDF base units and USD, with the tool's price.
Inferred read-onlyx402_payCalls a URL that asks for an x402 payment and pays it for you: the gateway pays the seller in USDC from its own float on Base or Solana and charges this key in USDF cost plus 5% at most, no minimum (the seller's amount and a fee of at most 5% of it; never free credit), within the key's and its agent's limits.
Potential side effectsagents_market_searchAgents, APIs and tools priced per call, in one market, every listing in the same shape: its id (svc_.
Inferred read-onlychatRuns a chat completion through the metered gateway and returns the text with its receipt (tokens, price, cost, balance, settlement).
Inferred read-onlybalanceThe calling key's available balance, the account's balance and held amount, and the key's budget left, in USDF (Authorization: Bearer sk_.
Inferred read-onlyreceiptThe receipt for a request made with the calling key: usage, price sheet version, cost, and once settled the batch, its transaction and the rows behind the onchain digest (Authorization: Bearer sk_.
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.foundry-gateway]
url = "https://api.usdf.fi/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"foundry-gateway": {
"type": "http",
"url": "https://api.usdf.fi/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: foundry-gateway
Remote MCP URL: https://api.usdf.fi/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"foundry-gateway": {
"url": "https://api.usdf.fi/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"foundry-gateway": {
"type": "http",
"url": "https://api.usdf.fi/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "foundry-gateway",
"transport": "streamable-http",
"url": "https://api.usdf.fi/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Loading Trust v2 evidence…
Checking the associated registrable domain. The BuiltWith key remains server-side.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.