Skip to content
MCP server

Mercury402: Treasury/FRED financial data over x402

Pay-per-call US Treasury, FRED and forex data for agents, priced in USDC on Base

Install
Pricing
Paid
Platforms
API, CLI
Runs
Locally or Remotely
Version
0.1.4
Listing updated
3 days ago

Similar MCP servers

About Mercury402: Treasury/FRED financial data over x402

Mercury402: Treasury/FRED financial data over x402 is a paid MCP server for finance and payments. It can run locally on your machine or as a hosted remote server.

Mercury402 sells US financial data one request at a time using the x402 protocol: an unpaid request gets an HTTP 402 with a price, the client pays in USDC on Base, and the data comes back as signed JSON with provenance. The site counts 78 live endpoints across Treasury (4), FRED series (53), forex (4), yield spreads (5), breakeven inflation (4), macro intelligence (3) and composites (3).

The MCP server has two tools and a deliberately cautious default. In free mode, list_endpoints browses every route and price and get_endpoint_data returns the quote and payment instructions without spending anything. Paid mode is opt-in: you set MERCURY402_PAYER_PRIVATE_KEY, and the server pays each 402 up to MERCURY402_MAX_PRICE_USD, which defaults to 0.5 dollars. The README warns that the key sits in plaintext in your client config, so use a dedicated low-balance wallet and avoid the project scope in Claude Code.

Only paths in the catalog can be called. The site quotes $0.05 for base endpoints, $0.10 for macro premium, $0.40 for inflation and labor composites and $0.50 for the economic dashboard. It needs Node.js 20.10 or newer, or a hosted Streamable HTTP endpoint.

Install

Run in a terminal

claude mcp add --transport http mercury402-mcp https://mcp.mercury402.com/mcp

Add to Settings → Connectors → Add custom connector

https://mcp.mercury402.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mercury402-mcp": {
      "url": "https://mcp.mercury402.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mercury402-mcp": {
      "type": "http",
      "url": "https://mcp.mercury402.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mercury402-mcp": {
      "serverUrl": "https://mcp.mercury402.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mercury402-mcp": {
      "type": "http",
      "url": "https://mcp.mercury402.com/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MERCURY402_PAYER_PRIVATE_KEYOpt-in paid mode: private key of a dedicated low-balance wallet holding USDC on Base. Leave unset for free discovery mode.
  • MERCURY402_MAX_PRICE_USDPer-call spending cap in USD for paid mode.

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

list_endpoints
Lists all 78 endpoints with path, method, category, description, price and parameters, with optional category and search filters.
get_endpoint_data
Calls a catalog endpoint and returns the data, or the 402 quote and how to pay.

What it does

78 data endpoints
Treasury, 53 FRED series, forex, spreads, inflation and composites.
Free discovery mode
Browse routes and prices and get quotes without spending.
Opt-in paid mode
Pays USDC on Base per call with a configurable per-call cap.
x402 payments
Standard 402 quotes with no accounts or API keys.
Catalog-only calls
Paths outside the catalog are rejected before any request is sent.
Provenance in responses
Responses carry structured data and provenance for reproducibility.

Good for

  • Let an agent fetch the latest Treasury yield curve
  • Pull a FRED series such as UNRATE into a workflow
  • Preview the price of an endpoint before paying
  • Build agent workflows that pay per request without accounts
  • Compare yield spreads and breakeven inflation

Pricing

Paid

Pay per call in USDC on Base, $0.05 to $0.50 per request. Free discovery mode.

Prices change. Check mercury402.com before you buy.

Mercury402: Treasury/FRED financial data over x402 FAQ

Does it spend money by default?

No. The default free mode lists endpoints and returns quotes. Spending needs a payer private key.

How much does a call cost?

From $0.05 for base endpoints up to $0.50 for the economic dashboard.

Is my wallet key safe?

The README warns it is stored in plaintext in the client config, so use a dedicated wallet with a small USDC balance.

What does it need installed?

Node.js 20.10 or newer, or use the hosted Streamable HTTP endpoint.

Is Mercury402: Treasury/FRED financial data over x402 free?

No. Mercury402: Treasury/FRED financial data over x402 is a paid product.

How do I add Mercury402: Treasury/FRED financial data over x402 to Claude Code?

Run this command in your terminal: claude mcp add --transport http mercury402-mcp https://mcp.mercury402.com/mcp

What are the best alternatives to Mercury402: Treasury/FRED financial data over x402?

The closest alternatives to Mercury402: Treasury/FRED financial data over x402 are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP and World Monitor.

Where this comes from

  • Description: written from the project's README and the project's website.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers

Alternatives to Mercury402: Treasury/FRED financial data over x402

  1. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  2. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.2K GitHub stars
    • Marketing and SEO
  3. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  4. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  5. World Monitor

    MCP server

    Live geopolitical intelligence dashboard with an API and MCP server for agents

    • Remote
    • Freemium
    • Analytics and data
  6. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments