Mercury402: Treasury/FRED financial data over x402

Treasury/FRED financial data over x402: pay-per-call US yields, macro and forex in USDC on Base

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
95%
命名品質
100%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~487Token(工具定義)
~1.4 KB典型回應大小
極小的注意力影響(128k 上下文的 0.38%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "mercury402-mcp": {
      "command": "npx",
      "args": [
        "mercury402-mcp"
      ]
    }
  }
}

可執行的套件

npmmercury402-mcp0.1.4stdio

遠端端點

https://mcp.mercury402.com/mcpstreamable-http

它能做什麼

工具清單

工具(2)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢list_endpoints(category, search)

List Mercury402 financial data endpoints (78 total) with path, method, category, description, price in USD (paid per call in USDC on Base via x402) and accepted parameters. Free; makes no network calls.

輸入結構描述

{
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "enum": [
        "ai",
        "breakeven-inflation",
        "composite",
        "forex",
        "fred",
        "macro",
        "treasury",
        "yield-spread"
      ],
      "description": "Only return this category"
    },
    "search": {
      "type": "string",
      "description": "Case-insensitive substring match on path or description"
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_endpoint_data(path, params, pay)

Call a Mercury402 endpoint on the live API. This hosted endpoint is discovery-only: endpoints return HTTP 402 and this tool returns the price and x402 payment instructions instead of data. Pay with your own x402 client, or run mercury402-mcp locally (npx -y mercury402-mcp) with your own wallet. Use list_endpoints first to find paths and parameters. Path params can be inline ("/v1/fred/UNRATE") or passed in params ("/v1/fred/{series_id}" + {"series_id":"UNRATE"}). Other params go to the query string (GET) or JSON body (POST).

輸入結構描述

{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "Endpoint path, e.g. \"/v1/treasury/yield-curve/daily-snapshot\" or \"/v1/fred/UNRATE\""
    },
    "params": {
      "type": "object",
      "additionalProperties": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        ]
      },
      "description": "Path, query (GET) or body (POST) parameters"
    },
    "pay": {
      "type": "boolean",
      "description": "Paid mode only: set false to just get the price quote without paying. Default true."
    }
  },
  "required": [
    "path"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本2 個工具