Mercury402: Treasury/FRED financial data over x402
v0.1.4Treasury/FRED financial data over x402: pay-per-call US yields, macro and forex in USDC on Base
Values you need
| Variable | What it is | |
|---|---|---|
MERCURY402_PAYER_PRIVATE_KEY | optional secret | Opt-in paid mode: private key of a dedicated low-balance wallet holding USDC on Base. Leave unset for free discovery mode. |
MERCURY402_MAX_PRICE_USD | optional | Per-call spending cap in USD for paid mode. Default: 0.5 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mercury402-mcp -- npx -y mercury402-mcp@0.1.4Add to
claude_desktop_config.json{
"mcpServers": {
"mercury402-mcp": {
"args": [
"-y",
"mercury402-mcp@0.1.4"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mercury402-mcp": {
"args": [
"-y",
"mercury402-mcp@0.1.4"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mercury402-mcp": {
"args": [
"-y",
"mercury402-mcp@0.1.4"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mercury402-mcp]
command = "npx"
args = ["-y", "mercury402-mcp@0.1.4"]Remote (hosted)
Run in a terminal
claude mcp add --transport http mercury402-mcp https://mcp.mercury402.com/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mercury402-mcp": {
"args": [
"-y",
"mcp-remote",
"https://mcp.mercury402.com/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mercury402-mcp": {
"url": "https://mcp.mercury402.com/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mercury402-mcp": {
"type": "http",
"url": "https://mcp.mercury402.com/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mercury402-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.mercury402.com/mcp"]For AI agents
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_endpoints, get_endpoint_data.
- 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