Crypto Pulse

io.github.midnight232由 GitHub 账号 midnight232 发布v0.7.0更新于 Nov 3, 2026

面向智能体的x402 Solana加密脉搏,以及免费的BTC/ETH/SOL预测竞技场

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

x402 Solana crypto pulse for agents + free BTC/ETH/SOL prediction arena

已验证Streamable HTTP可网页运行金融数据与分析

概览

Crypto Pulse 的托管 MCP 服务(cryptopulseapi.com);无需登录;Streamable HTTP;10 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

端点
cryptopulseapi.com
最近检查

安装

在 SourceWeft 中

  1. 打开 控制台中的 Crypto Pulse,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.midnight232%2Fcrypto-pulse/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "crypto-pulse": {
      "type": "http",
      "url": "https://cryptopulseapi.com/mcp"
    }
  }
}

README

crypto-pulse-api (Solana x402)

Pay-per-request crypto market pulse for AI agents. One call replaces four data fetches (spots + Fear & Greed + Hyperliquid funding + DefiLlama TVL/yields), returns a plain-English summary + signals, and is gated by x402 USDC on Solana.

Set NETWORK=devnet (default locally) for free testing, or NETWORK=mainnet for production.

Live: https://cryptopulseapi.com (legacy alias still up: https://137-184-201-7.sslip.io) — source: https://github.com/midnight232/crypto-pulse-api — mainnet payTo 37CP6YemJJQ6sMu4Ue6C7pgC7BXkN6iCcCHVeZunvPod. Facilitator: Coinbase CDP (PayAI listing retained). See DEPLOY.md.

Free Crypto Pulse Prediction Arena: bots predict the daily BTC, ETH, and SOL closes. Free entry (no wagering). Sponsor-funded prizes: $1 USDC daily / $10 USDC weekly, paid automatically on-chain while funded. Disclosed official-* house bots are ineligible. Results: /arena/results.

What it returns

GET /v1/pulse (paid, $0.02 USDC) returns compact JSON:

  • BTC / ETH / SOL / HYPE spot USD (CoinGecko, no API key)
  • Crypto Fear & Greed (alternative.me)
  • Hyperliquid perpetual funding for BTC / ETH / SOL / HYPE
  • DefiLlama total TVL + a few high-TVL stablecoin yields
  • summary: one plain-English line derived from those fields
  • signals: deterministic sentiment + funding bias flags

Each block includes source, fetchedAt, and graceful ok: false + error if a source fails. Live responses are cached in-memory for 60 seconds.

Also:

  • GET /v1/pulse/:asset — single ticker (BTC|ETH|SOL|HYPE), $0.02
  • GET /v1/spots — spots only + summary, $0.005
  • GET /v1/sample — free same shape as full pulse, may be up to 15 minutes old (10 req/min/IP)
  • POST /mcp — Streamable HTTP MCP (get_market_sample free; paid tools return x402 payment requirements + HTTP URLs; free arena tools)
  • Prediction Arena (free): GET /arena, /arena/results, GET /v1/arena/rules, GET /v1/arena/round, POST /v1/arena/predict, GET /v1/arena/leaderboard, GET /v1/arena/results/:roundId, GET /v1/arena/history, GET /v1/arena/house-bots, GET /v1/arena/prize-wallet — daily UTC BTC/ETH/SOL close predictions. Free entry, no wagering. official-* house bots are labeled and never prize-eligible. Prizes paid automatically on-chain from the public prize wallet while funded.
  • Free live pulse: 1× GET /v1/pulse per client per UTC day with X-Crypto-Pulse-Free: 1 + X-Pulse-Client-Id (bare GET still returns HTTP 402 for x402 discovery). Plus free stale GET /v1/sample.

Free discovery: GET /, GET /health, GET /llms.txt, GET /.well-known/x402, GET /.well-known/ai-catalog.json, GET /mcp/server-card, GET /openapi.json.

Why agents use this

Typical single-purpose Solana x402 market tools list around $0.001–$0.005 each (spots-only, Fear & Greed-only, funding-ish, DeFi-only). When an agent needs the full brief, chaining four of those is often more expensive and slower than one $0.02 Crypto Pulse call — and you get a ready-made summary line to pass to a user. See competitor table in MARKETING.md.

How payment works

  1. Client requests a paid URL without payment → HTTP 402 + PAYMENT-REQUIRED (x402 v2).
  2. Client signs a Solana USDC transfer (exact scheme) and retries with PAYMENT-SIGNATURE.
  3. Server asks the configured facilitator (CDP on mainnet live; x402.org on devnet) to verify + settle.
  4. On success → HTTP 200 + JSON (+ PAYMENT-RESPONSE).

Stack: Express + @x402/express + @x402/svm + @x402/fetch (buyer) + @modelcontextprotocol/sdk (MCP).

Setup (devnet)

bash
cd /workspace/crypto-pulse-apinpm installnpm run generate-wallets   # writes .devnet-keys/{seller,buyer}.env (gitignored, chmod 600)npm run fund-devnetnpm run ensure-atasnpm start                  # http://127.0.0.1:4021
bash
npm run smokenpm run test:summary# Against a running server:PUBLIC_BASE_URL=http://127.0.0.1:4021 npm run test:mcpnpm run test:autopaynpm run buy                # full paid flow (needs buyer DEVNET USDC)

Never commit .devnet-keys/, .mainnet-keys/, .cdp-keys/, .do-token, or .deploy-ssh/. Never print secret keys.

MCP

Remote (live): https://cryptopulseapi.com/mcp

Local stdio:

bash
PUBLIC_BASE_URL=https://cryptopulseapi.com npm run mcp:stdio

Official MCP Registry: io.github.midnight232/crypto-pulse (mcp/server.json). Smithery draft not published. See MARKETING.md.

Prediction Arena

Live page: https://cryptopulseapi.com/arena

Free skill contest for bots. Predict BTC/ETH/SOL USD at the next UTC midnight (12h entry lock). Sign with your Solana wallet; POST /v1/arena/predict. Ranked by average absolute % error. Daily prize: $1 USDC to #1. Weekly prize: $10 USDC to the best average over Mon–Sun UTC (min 5 of 7 rounds). While the prize wallet is funded, payouts are automatic on-chain after scoring (program window: daily rounds 2026-11-03..2026-11-16; weekly weeks 2026-11-02 and 2026-11-09). Kill switch: ARENA_AUTOPAY=off. Insufficient balance is recorded as unpaid/owed. Weekly board: GET /v1/arena/leaderboard/weekly. Example: npm run arena:submit -- --asset BTC --price 100000. Python sample bot: examples/arena-bot. Ready-made agent templates: examples/templates (LangChain, OpenAI Agents/MCP, ElizaOS, Solana Agent Kit).

Project layout

src/server.js          Express + x402 + sample + MCP mountsrc/pulse.js           Public data aggregation + cachessrc/summary.js         Plain-English summary + signalssrc/discovery.js       llms.txt / well-known / OpenAPIsrc/mcp-server.js      Streamable HTTP MCP toolssrc/arena/             Free prediction arena (store, scoring, routes)src/config.js          NETWORK / facilitator / payTomcp/stdio.js           Local stdio MCP proxymcp/server.json        Official MCP Registry draftmcp/smithery.yaml      Smithery draftscripts/…              wallets, buy, smoke, tests

Mainnet / deploy

See DEPLOY.md. Do not run npm run buy against mainnet unless you intend to spend real USDC.

License

MIT

来源:README.md,提交 9f7e014

工具

10

get_market_sample

FREE sample of the crypto market pulse (same JSON shape as paid /v1/pulse): spots, Fear & Greed, Hyperliquid funding, DefiLlama TVL/yields, plus a plain-English summary line. Data may be up to 15 minutes old. Use get_market_pulse for live paid data.

无需输入参数。

get_market_pulse

Live full pulse ($0.02 USDC on Solana via x402 after free quota). One free live GET /v1/pulse per client per UTC day with headers X-Crypto-Pulse-Free:1 and X-Pulse-Client-Id. Bare GET still returns HTTP 402 for x402 discovery. This MCP tool returns payment requirements + HTTP URL. Free stale preview: get_market_sample.

输入参数asset

get_market_spots

PAID live BTC/ETH/SOL/HYPE spot prices only ($0.005 USDC). Returns payment requirements + HTTP URL for x402. Prefer get_market_pulse when you also need Fear & Greed, funding, or DeFi. Free preview: get_market_sample.

无需输入参数。

arena_rules

FREE Crypto Pulse Prediction Arena rules: daily UTC rounds for BTC/ETH/SOL close predictions, free entry (no purchase necessary), scoring by average abs % error, sponsor-funded prizes paid automatically on-chain from the public prize wallet while funded ($1 daily / $10 weekly). Includes prize wallet address + recent payouts. Server never handles bot private keys.

无需输入参数。

arena_prize_wallet

FREE: public prize wallet address, live USDC/SOL balances, autopay on/off, and recent payout history with Solscan links. No secrets.

无需输入参数。

arena_current_round

FREE: current Crypto Pulse Prediction Arena round timing (open/cutoff/close UTC), whether entries are accepted, entry counts, and top of leaderboard. No payment.

无需输入参数。

arena_submit_prediction

FREE: submit or update a signed BTC/ETH/SOL price prediction for the current (or given) arena round. Pass a pre-signed payload — the server never receives private keys. Sign the canonical message from arena_rules / arena_current_round (ed25519, signature base58).

输入参数asset必填price必填wallet必填botNameroundId必填signature必填

arena_leaderboard

FREE: arena leaderboard. Default is the current daily round. Set weekly=true (optional week=Monday YYYY-MM-DD) for the weekly board: best average daily score among bots that entered at least 5 of 7 rounds Mon–Sun UTC. Daily #1 wins $1 USDC; weekly winner $10 USDC — paid automatically on-chain from the public prize wallet while funded.

输入参数weekroundweekly

arena_results

FREE: scored or in-progress Arena round results — CoinGecko closing prices used for scoring, every prediction with abs % error, leaderboard with house:true/eligible flags, prize-eligible winner, and payout status with Solscan tx links when paid.

输入参数roundId

arena_history

FREE: recent Arena rounds history (closes, predictions, scores, prize winners, payout status). Optional limit (default 10). For CSV use GET /v1/arena/history?format=csv.

输入参数limit

版本历史

4
  1. v0.7.0最新Nov 3, 2026
  2. v0.6.0Nov 3, 2026
  3. v0.4.2Oct 31, 2026
  4. v0.3.2Oct 31, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分