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 个工具