mcpField
D
datafood-mcp

datafood-mcp

远程服务
toughlovesec.win金融数据126 周前更新

关于 datafood-mcp

DataFood 是面向 AI Agent 的远程 MCP 服务,通过单一端点提供加密货币、金融、安全、新闻等 16 类数据。查询与批量工具共用访问和支付入口。

主要功能

  1. 01涵盖 16 类跨领域数据
  2. 02单一 Streamable HTTP 端点
  3. 03单项及批量查询
  4. 04带引用的投资组合问答
  5. 05Agent 事件流链接

适用场景

  1. 01获取加密货币和 DeFi 数据
  2. 02检查安全风险与泄露事件
  3. 03查询金融、新闻或天气数据
  4. 04询问已关联投资组合

MCP 相关

通过 Streamable HTTP 向 MCP 客户端提供四种工具:数据查询、批量查询、投资组合问答和监控会话链接,并支持 JSON-RPC 2.0。

配置

远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。

服务地址https://toughlovesec.win/mcp
一键复制安装命令
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。

工具

4
参数类型必填说明
qstring否查询字符串。各类型示例请参阅 /api/v1/catalog。
typeenum是42 种受支持数据类型之一(DATAFOOD_CATALOG)token-risk | breach | contract-risk | defi-yield | scrape | crypto-price | crypto-trending | stock-quote | weather | news-hn-top | news-reddit | flights-near | real-estate-rss | sports-scores | gas-prices-eth | forex | github-trending | whale-tracker | liquidations | funding-rates | order-book | ta-indicators | sentiment-ticker | token-unlock | mev-exposure | stable-depeg | cross-dex-arb | energy-oil | energy-grid-eu | shipping-bdi | air-quality | cdc-flu | who-outbreak | sec-edgar | acled-conflict | gdelt-events | twitch-top | steam-top | reddit-trending | commodity-metals | agriculture-prices | legal-courtlistener | economic-indicator

详细介绍

DataFood — AI Agent 的通用数据中心(MCP 服务)

Live Protocol License: MIT

DataFood 是一个远程 MCP 服务,通过单个 Streamable-HTTP 端点,为 AI Agent 提供对 16 个跨领域数据源(加密货币、DeFi、安全、天气、新闻、金融、web3)的一次调用式访问。

打包微支付比向 16 家不同供应商按 API 付费节省 92%。


包含内容(16 种数据类型)

类别类型
安全 / Web3token-risk、breach、contract-risk、gas-prices-eth
加密货币 / DeFicrypto-price、crypto-trending、defi-yield
金融stock-quote、forex
新闻 / 趋势news-hn-top、news-reddit、github-trending
现实世界weather、flights-near、real-estate-rss、sports-scores

所有 16 种类型共用一种架构、一套身份验证和一个计费界面。


工具(4 个)

工具功能定价
datafood_query获取一种数据类型。提供免费的 1 行预览。预览:$0 / 完整:$0.001
datafood_bundle单次调用中跨任意类型进行 1–20 次查询。3–5:$0.0035 / 6–10:$0.005 / 11–20:$0.008
datafood_portfolio_ask针对关联 Plaid 的投资组合进行自然语言问答,并附带引用。测试期间免费
datafood_watch_session打开公开的 /watch/{id} URL,实时流式传输 Agent 事件。免费

日通行证:$0.99 · 周通行证:$4.99(Stripe Checkout 或 x402 微支付标头)。


快速入门

Claude Desktop / Cursor / 任意 MCP 客户端
{
  "mcpServers": {
    "datafood": {
      "transport": "http",
      "url": "https://toughlovesec.win/mcp"
    }
  }
}
原始 JSON-RPC

tools/list:

curl -s -X POST https://toughlovesec.win/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | jq

tools/call(免费预览):

curl -s -X POST https://toughlovesec.win/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc":"2.0","id":2,"method":"tools/call",
    "params":{
      "name":"datafood_bundle",
      "arguments":{
        "free": true,
        "queries":[
          {"type":"crypto-price","q":"BTC"},
          {"type":"weather","q":"NYC"},
          {"type":"news-hn-top"}
        ]
      }
    }
  }' | jq

付款方式

DataFood 支持两种面向 Agent 的原生付款方式:

  1. x402 — 通过 X-Payment HTTP 标头按次付费(HTTP 402 挑战 / 响应)。
  2. Stripe Checkout — 将 /api/checkout/* 流程中的 session_id 传入 datafood_bundle。日 / 周通行证会自动解锁。

免费的 1 行预览(最多 5 个打包项目)无需身份验证。


成本对比(实际数据)

典型 Agent 每项任务获取 10 种数据类型:

方式每次调用成本需管理的供应商
10 个独立 API(Alchemy、Etherscan、OpenWeather、NewsAPI 等)~$0.0610
DataFood datafood_bundle(10 次查询)$0.0051

便宜约 92%,只需一套身份验证界面和一张账单。


链接

许可证

MIT — 参见 LICENSE。


DataFood 由 TOUGH LOVE SECURITY 构建并运营。这是一家专注于安全与数据基础设施的公司。联系方式:[email protected]。

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。