原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Crypto Sentiment X402

作者:whatevercat-creator版本 0.1.6i★ –i在你的电脑上运行
注册名称io.github.whatevercat-creator/crypto-sentiment-x402

安装

概览

作者提供的说明(英文原文)

Ticker sentiment from 9 crypto news outlets + Fear & Greed over 72h, with the headlines behind it

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 加密货币与区块链
  • 你需要填写:CDP_API_KEY_ID, CDP_API_KEY_SECRET

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: CDP_API_KEY_ID, CDP_API_KEY_SECRET, CDP_WALLET_NAME, SENTIMENT_API_URL, X402_NETWORK, SENTIMENT_PAY_TO

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "crypto-sentiment-x402": {
      "command": "uvx",
      "args": [
        "crypto-sentiment-x402-mcp"
      ],
      "env": {
        "CDP_API_KEY_ID": "your-value",
        "CDP_API_KEY_SECRET": "your-value",
        "CDP_WALLET_NAME": "your-value",
        "SENTIMENT_API_URL": "your-value",
        "X402_NETWORK": "your-value",
        "SENTIMENT_PAY_TO": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add crypto-sentiment-x402 --env CDP_API_KEY_ID=your-value --env CDP_API_KEY_SECRET=your-value --env CDP_WALLET_NAME=your-value --env SENTIMENT_API_URL=your-value --env X402_NETWORK=your-value --env SENTIMENT_PAY_TO=your-value -- uvx crypto-sentiment-x402-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "crypto-sentiment-x402": {
      "command": "uvx",
      "args": [
        "crypto-sentiment-x402-mcp"
      ],
      "env": {
        "CDP_API_KEY_ID": "your-value",
        "CDP_API_KEY_SECRET": "your-value",
        "CDP_WALLET_NAME": "your-value",
        "SENTIMENT_API_URL": "your-value",
        "X402_NETWORK": "your-value",
        "SENTIMENT_PAY_TO": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "crypto-sentiment-x402": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "crypto-sentiment-x402-mcp"
      ],
      "env": {
        "CDP_API_KEY_ID": "your-value",
        "CDP_API_KEY_SECRET": "your-value",
        "CDP_WALLET_NAME": "your-value",
        "SENTIMENT_API_URL": "your-value",
        "X402_NETWORK": "your-value",
        "SENTIMENT_PAY_TO": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • CDP_API_KEY_ID 机密 env
    Coinbase Developer Platform API key ID (portal.cdp.coinbase.com). Used to sign x402 payments from your own wallet. Only needed for the paid tools (crypto_sentiment, get_hourly_history); the free tool…
  • CDP_API_KEY_SECRET 机密 env
    Coinbase Developer Platform API key secret, paired with CDP_API_KEY_ID. Only needed for the paid tools (crypto_sentiment, get_hourly_history); the free tools work without it.
  • CDP_WALLET_NAME env
    Name of the CDP wallet to create/reuse for payments. Defaults to "crypto-sentiment-mcp-wallet". Must hold USDC (+ a little ETH for gas) on the configured network.
  • SENTIMENT_API_URL env
    Base URL of the deployed sentiment API. Defaults to https://crypto-sentiment-x402.onrender.com.
  • X402_NETWORK env
    "mainnet" (default, real USDC on Base) or "testnet" (free Base Sepolia USDC).
  • SENTIMENT_PAY_TO env
    payTo address the paid tools expect in the 402; anything else is refused before signing. Defaults to the hosted API's wallet. Set it when SENTIMENT_API_URL points at your own deployment.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 whatevercat-creator 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“加密货币与区块链”中的其他服务器比较i

  • 星标数多于此分类中其他 1613 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1613 个服务器的 80% 更新
  • 基础检查结果等于或优于此分类中其他 1613 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Crypto Sentiment X402 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:CDP_API_KEY_ID, CDP_API_KEY_SECRET

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.6)于13天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Dinero en la Mesa — Perp DEX costs & funding, CryptoKeyhole, Cloud Wallet by Ekubo

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

CryptoKeyhole

作者:cryptokeyhole.com

Read-only market and on-chain data for Bitcoin, Ethereum and more; on-chain from our own nodes.

在云端运行今天更新
安装

Cloud Wallet by Ekubo

作者:EkuboProtocol

EVM wallet reads, simulation, and transaction execution under user-defined authorization policies.

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Crypto Sentiment API (x402)

News-based crypto sentiment for AI agents and trading bots, paid per call in USDC on Base over x402. No account or API key: call the endpoint, get an HTTP 402 with the price, pay, and get JSON.

Live at https://crypto-sentiment-x402.onrender.com · API docs · llms.txt

What you get

EndpointPriceReturns
GET /sentiment/{symbol}$0.01 per callA bullish / bearish / neutral label, a score from -1 to 1, the sample size, and the up to 5 headlines that moved the score most (title, source, link).
GET /history/{symbol}?start=&end=$0.05 per callHourly readings recorded live at the top of every UTC hour (never backfilled): score, sample size, Fear & Greed value and the top 3 headlines per hour. Default the last 7 days, up to 30 days per call.
GET /archivefreeWhich symbols the hourly archive holds, from when, and how complete it is.

The 402 response is the source of truth for the current price.

24 coins: BTC, ETH, SOL, XRP, DOGE, ADA, AVAX, LINK, MATIC, DOT, SHIB, LTC, BNB, USDC, USDT, NEAR, HYPE, QNT, AAVE, TAO, PEPE, PUMP, ENA, STRK.

Refused calls are never charged. The payment only settles when you get a reading:

  • 404: a symbol that isn't one of the 24 coins (a stock ticker, say).
  • 422: too little recent news about that coin for a reliable reading.
  • /history also refuses (4xx, not charged) an invalid range, a range with no readings, and a range in which every hour had zero matching headlines.

Prefer a monthly bill? The same readings are on GET /v1/sentiment/{symbol} with an X-API-Key header (plans, including a free tier). There's also an MCP server: pip install crypto-sentiment-x402-mcp (see MCP.md).

How it's scored

Sources (all free, no keys required):

  • Crypto news RSS (9 outlets): CoinDesk, Cointelegraph, Decrypt, Bitcoin Magazine, The Block, CryptoSlate, NewsBTC, CryptoPotato, The Defiant (DL News was removed on 2026-10-04: its feed served only April-May 2026 items)
  • Fear & Greed Index: alternative.me

Scoring: VADER sentiment analysis, extended with a crypto slang lexicon (moon, rekt, rug, hodl, bullish/bearish, etc.) so slang isn't scored as neutral. Each headline is matched and scored on its title plus its feed description with HTML tags, entities, feed footers and the outlet's own name removed (clean_text in app/sources/news.py; method 72h-hl24-v2 from 2026-10-21). Only headlines published in the last 72 hours count, and each headline's weight halves for every 24 hours of age (app/window.py). When the effective sample size is below 5, the label is insufficient recent news and the paid endpoints refuse with a 422 instead of charging. Whether the score leads or lags price is published at /validation, whatever it shows.

News sentiment only: not a price prediction or financial advice.

Running your own copy


1. Get a Base wallet address

You need an address to receive USDC payments. Any standard Ethereum-style wallet works on Base (e.g. Coinbase Wallet, MetaMask configured for Base). You do not need to give this app your private key — only the public address, to receive funds.

2. Run it locally (testnet — free, no real money)

cd crypto-sentiment-x402

cp .env.example .env

edit .env and set PAY_TO_ADDRESS to your wallet address

pip install -r requirements.txt uvicorn app.main:app --reload

Visit http://localhost:8000 — you'll see the API description. Calling http://localhost:8000/sentiment/BTC without payment returns an HTTP 402 with payment instructions, exactly what an agent's x402 client would see and act on automatically.

To actually test a paid call, use the official x402 test client (needs Base Sepolia testnet USDC — free from the Base Sepolia faucet):

pip install x402

python -m x402.examples.client --url http://localhost:8000/sentiment/BTC

3. Deploy (simplest path: Render.com)

  1. Push this folder to a new GitHub repo.
  2. Go to render.com → New → Blueprint → connect the repo. Render will read render.yaml automatically.
  3. When prompted, set the PAY_TO_ADDRESS environment variable to your wallet address.
  4. Deploy. Render builds the Dockerfile and gives you a public HTTPS URL like https://crypto-sentiment-x402.onrender.com.

That's it — testnet mode is on by default, so nothing costs real money until you flip X402_NETWORK to mainnet (step 4 below).

4. Go live with real USDC payments

  1. Sign up for a free Coinbase Developer Platform account and create an API key — this is required for the mainnet facilitator (production-grade payment verification/settlement).
  2. In Render, set:
  • X402_NETWORK=mainnet
  • CDP_API_KEY_ID=...
  • CDP_API_KEY_SECRET=...
  • PAY_TO_ADDRESS = your mainnet Base address (double-check it's not a testnet-only address)
  1. Redeploy. Calls now settle real USDC on Base mainnet.

Start with a low price (X402_PRICE_USD, default $0.01) while you validate everything works end-to-end.

5. List it so AI agents can find and pay you

This is the x402 Bazaar — Coinbase's discovery layer, essentially a search engine for agents looking for x402 services.

  • If you're using the CDP facilitator (i.e. you're on mainnet per step 4), your service becomes automatically discoverable in the Bazaar once you process your first real payment through it — no separate signup.
  • To improve how well agents can find and understand it, keep the description field in app/main.py's RouteConfig clear and specific (already set) — that text is what shows up in Bazaar search results.
  • You can browse the current Bazaar listing yourself at https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources (public, no key needed) to confirm your service appears after going live.
  • Optional extra distribution: submit your API to x402bazaar.org, a community-run directory of x402 services, separate from Coinbase's own Bazaar.

MCP server (Claude Desktop / Claude Code)

Prefer agents calling this over MCP instead of raw HTTP? mcp_server.py wraps the same API as MCP tools (crypto_sentiment, get_hourly_history and three free info tools) -- the server pays for each call from its own CDP-managed wallet, so callers never touch crypto directly. See MCP.md for setup.

Try it free

Three tools need no wallet, no CDP key and pay nothing. The server starts without any CDP variables, so you can install it and try these first:

  • list_supported_coins — the 24 supported ticker symbols and names.
  • archive_coverage — what the hourly archive holds (GET /archive): first reading, row counts and missing hours per symbol.
  • price_quote(symbol) — makes one unpaid request and reads the 402 payment requirements: price, network, asset and the payTo address.

Two tools are paid, from your own CDP wallet in USDC on Base:

  • crypto_sentiment(symbol) — the current reading, $0.01 per call. Unsupported coins and coins with too little recent news are refused and not charged.
  • get_hourly_history(symbol, start, end) — past hourly readings (GET /history/{symbol}), $0.05 per call. Recorded live and never backfilled; start/end are ISO 8601, default the last 7 days, at most 30 days per call. The symbol has to be one archive_coverage lists as logged. Unlogged symbols, invalid ranges and ranges with no readings are refused and not charged.

Wallet setup is in MCP.md.

Subscription tiers (Stripe, no crypto required)

Prefer a monthly bill over pay-per-call USDC? GET /v1/sentiment/{symbol} takes an X-API-Key header instead of an x402 payment, backed by Free / Starter ($15/mo) / Pro ($59/mo) tiers. See BILLING.md for setup, or GET /billing/pricing on a running instance for current pricing.

Sentiment-shift alerts

Watch a symbol and get pinged (webhook / Discord / Telegram) when its sentiment moves, instead of polling /sentiment yourself. Bundled into the Starter/Pro subscription tiers -- see ALERTS.md.

Historical dataset export

Sells access to the *history* of sentiment readings, not just the current one -- a background job takes one snapshot per symbol per day, and subscribers on the Pro or "Data Access" tier can export everything collected so far as CSV or JSON via GET /dataset/export. See DATASET.md (there's no backfilled history -- it only has data from whenever you turn the snapshot loop on).

Also on RapidAPI

Listed on the RapidAPI Hub for developers who'd rather discover and pay for it through RapidAPI's marketplace instead of Stripe or x402 directly. Same underlying data, served from GET /rapidapi/sentiment/{symbol} -- traffic is only accepted when it's routed through RapidAPI's proxy (validated via a shared secret header), so this endpoint isn't meant to be called directly. Plans there mirror the Stripe tiers: Free (100 req/mo), $15/mo (3,000 req), $59/mo (15,000 req).

Zapier & TradingView integrations

Route sentiment-shift alerts into Zapier (via the existing webhook channel -- no new endpoint needed) or enrich TradingView price alerts with live sentiment before relaying them to your webhook/Discord/ Telegram. See INTEGRATIONS.md.

API reference

EndpointPriceDescription
GET /FreeService info
GET /healthFreeHealth check
GET /sentiment/{symbol}$0.01 (configurable)Aggregate sentiment for a symbol, e.g. /sentiment/BTC

Example paid response:

{

"symbol": "BTC", "name": "Bitcoin", "overall_sentiment": { "sample_size": 42, "average_compound": 0.21, "label": "bullish", "positive_pct": 55.0, "negative_pct": 15.0, "neutral_pct": 30.0, "unweighted_compound_72h": 0.17, "effective_sample_size": 31.4, "newest_headline_age_hours": 1.6, "window": "72h-hl24-v2" }, "drivers": [{ "title": "...", "source": "CoinDesk", "link": "https://...", "published": "...", "score": 0.62, "weight": 0.93, "effect": 0.03 }], "drivers_summary": "3 of the top 5 headlines are positive, 2 are negative.", "breakdown": { "news": { "...": "..." }, "fear_greed_index": { "value": 62, "classification": "Greed" } }, "sources": ["coindesk.com RSS", "..."] }

Notes and limitations

  • Reddit was removed as a source: Reddit's Responsible Builder Policy prohibits commercial use of their data without written approval, which this paid API would violate. app/sources/reddit.py is left in the repo unused in case that changes in the future.
  • Coin coverage: app/coins.py has a starter list of ~15 symbols. Add more as needed — unmapped symbols still work, just with slightly less accurate news matching (falls back to matching on the symbol itself).
  • Only supports the exact payment scheme on Base/EVM. The x402 SDK also supports Solana (ExactSvmServerScheme) if you want to accept SOL-based USDC too — see the commented-out import in app/main.py's dependencies.
  • Add more paid endpoints (e.g. historical sentiment, multi-symbol batch queries) by adding entries to the routes dict in app/main.py.
问 PopNx