Signal Feed API: market regime

io.github.DinevDecor由 GitHub 账号 DinevDecor 发布v0.2.1更新于 Nov 5, 2026

Daily market regime (risk-on / risk-off) for trading agents, paid per call via x402 USDC on Base.

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

本地 MCP 服务器,为助手提供每日风险偏好/避险的市场状态报告,免费工具可查目录、历史与结果,最新一期需用 Base 上的 USDC 按次付费。

可以做什么
  • 读取指标目录及其规则、发布时间与价格,以及单期报告的 JSON Schema
  • 列出报告账本及每期哈希,并获取至少 7 天前的报告并重新校验哈希
  • 查看各指标的完整每日模拟(PAPER)结果、带日期的异常记录与发布方持仓披露
  • 在不付款的情况下查看当前 x402 支付报价
  • 用 Base 上的 USDC 购买当日报告,返回收据、结算交易与哈希校验结果
适用场景
适合希望把一条基于规则的每日市场状态标签作为决策前背景的交易或研究型助手,也适合在花钱之前先查看免费的历史、结果记录与披露信息。
运行要求
需要 Python 3.10+ 与 uv,通过 uvx 或 pip 安装运行;需能访问 Signal Feed API。付费工具需要 X402_BUYER_PRIVATE_KEY(一个在 Base 上持有 USDC 的专用钱包);不设置时仅免费工具可用。可选设置包括 SIGNAL_FEED_MAX_PAID_CALLS、SIGNAL_FEED_PREFLIGHT、SIGNAL_FEED_AUTHORITY_FILE 与 SIGNAL_FEED_AGENT_ID。
安装前请注意
付费工具会花真钱:每次 0.10 USDC,受 SIGNAL_FEED_MAX_PAID_CALLS 限制(每个进程默认 3 次)。X402_BUYER_PRIVATE_KEY 是钱包私钥,请使用只放少量资金的小额专用钱包。开启 SIGNAL_FEED_PREFLIGHT 会把代理 ID、支付信息、402 报价及授权文件发送给第三方预检服务。该数据仅为背景参考,不构成投资建议,且尚无历史业绩记录。

安装

在 SourceWeft 中

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

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

signal-feed-mcp

MCP server for Signal Feed API: daily market-regime context for trading agents. It answers one question: is the market risk-on or risk-off? Today's issue is paid per call with x402 (0.10 USDC on Base, VAT included). Older issues, the rules and the full results record are free.

One issue per day, the same for every buyer, with five rule-based market-state labels:

  • BTC trend filter (close vs SMA20/50)
  • trend scores for 9 altcoins
  • US equity regime (SPY vs SMA200, VIX/VIX3M term structure)
  • SPY RSI(2) state
  • MSTR BTC filter

Honesty facts. The rules come from the seller's own virtual (PAPER) research accounts. The first issue was 2026-10-26, so there is no track record. This is context, not investment advice. Every issue is hash-committed, OpenTimestamps-anchored and never edited, and the full PAPER results (losses included) are public.

What it does not do

  • It does not place orders, trade or connect to any exchange or broker.
  • It does not predict prices or returns, and it gives no target weights, position sizes or advice.
  • It has no track record yet: the first issue was 2026-10-26.
  • It never asks the seller for a key. The optional wallet key stays in your environment, signs on your machine and is never sent anywhere. The client pays only the offer it has checked (see Payment safety), at most 0.10 USDC per payment and 3 payments per session by default.
  • It does not rewrite issues. A correction is a new dated record.

Install

Python 3.10+.

bash
pip install signal-feed-mcp# or run without installing:uvx signal-feed-mcp

Claude Desktop and other MCPB hosts can also install the one-file bundle (signal-feed-mcp-<version>.mcpb), which runs through uv and asks for the optional wallet key in its settings.

Connect with one command

Needs Python 3.10+ and uv. Every free tool works without a wallet; only get_latest_issue pays.

bash
# Claude Codeclaude mcp add --transport stdio signal-feed -- uvx signal-feed-mcp
# Codex CLIcodex mcp add signal-feed -- uvx signal-feed-mcp

Claude Desktop, Cursor and other clients: add a stdio server with command uvx and argument signal-feed-mcp (JSON example below).

Try this first (no payment):

Use the signal-feed tools. Call get_catalog and explain in plain words what each indicator means and how long its value stays valid. Then call get_results_record and tell me what the record shows and what it does not show. Make no paid call.

Configure your MCP client

Claude Desktop, Claude Code, Cursor or any stdio MCP client:

json
{  "mcpServers": {    "signal-feed": {      "command": "signal-feed-mcp",      "env": {        "X402_BUYER_PRIVATE_KEY": "<optional: key of a wallet holding a little USDC on Base>",        "SIGNAL_FEED_MAX_PAID_CALLS": "3",        "SIGNAL_FEED_PREFLIGHT": "block"      }    }  }}

Without X402_BUYER_PRIVATE_KEY every free tool works. Only get_latest_issue is disabled, and it says why. Use a dedicated wallet that holds only what you are willing to spend.

Tools

ToolReturnsCost
get_catalogindicators and their rules, schedule, price, free and paid accessfree
get_schemaclosed JSON Schema of one issuefree
list_issuesledger: every issue date with its payload SHA-256free
get_delayed_issue(issue_date)an issue at least 7 days old, with its hash recomputed and checked against the issue and the ledgerfree
get_results_record(indicator?)full daily PAPER results of the account behind each indicator, losses includedfree
get_deviationsdated bugs, outages and other deviationsfree
get_disclosuresthe publisher's positions and conflictsfree
get_payment_offerthe live x402 offer, without payingfree
get_latest_issuetoday's issue, the receipt, the settlement transaction and the hash check0.10 USDC

Payment safety

  • Your wallet key is read from this process's environment only. It is used to sign locally with the official x402 client, and it is never logged, returned in tool output or sent anywhere. The seller never sees it.
  • Before signing, the client refuses unless the offer is exactly:
    • scheme exact;
    • network Base mainnet (eip155:8453);
    • asset USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913;
    • amount 100000 (0.10 USDC);
    • for https://signals.agenttrustapi.com/v1/feed/latest;
    • payable to the published merchant 0x8b0ad0CE12Ac86822c4d5dE442F5e445d14F9183 (override with SIGNAL_FEED_EXPECTED_PAY_TO).
  • The x402 client's spend controls are capped at 0.10 USDC per payment.
  • After paying, the receipt hash, the recomputed hash and the hash in the public ledger must all match.
  • Session budget: at most SIGNAL_FEED_MAX_PAID_CALLS payments per server process (default 3). Each payment is counted before it is attempted. A payment refused by the preflight below is not counted.
  • Independent preflight (optional): with SIGNAL_FEED_PREFLIGHT, every payment is first sent to Agent Trust API's payment preflight (POST /v1/preflight/payment, same seller, no charge at the time of writing). It answers ALLOW, REVIEW or BLOCK for that exact payment.
    • What it checks: the x402 offer is consistent, and the payee is bound to the resource. If you give it a signed delegation (SIGNAL_FEED_AUTHORITY_FILE), it also checks that this agent is authorized to make exactly this payment.
    • Modes: block pays on ALLOW or REVIEW and refuses on BLOCK. allow-only pays only on ALLOW.
    • It fails closed: if Agent Trust is unreachable or answers anything unexpected, nothing is signed.
    • What it sends: the agent id, the payment tuple, the 402 offer and the optional delegation. It never sends your key.
    • Scope: it checks the payment, not whether the data will be useful to you. It is not insurance.

Suggested spend policy for any agent buying this feed

  • Pay only https://signals.agenttrustapi.com/v1/feed/latest, only to the published merchant, only USDC on Base.
  • At most 0.10 USDC per issue and 0.20 USDC per day. One new issue a day is enough, and the date is in the offer.
  • Never retry a failed payment blindly. Stop on a non-200 answer or on a duplicate charge, and ask for a refund under the published policy.

Environment

VariableDefaultMeaning
X402_BUYER_PRIVATE_KEYunsetwallet key for the paid tool (optional)
SIGNAL_FEED_MAX_PAID_CALLS3payments allowed per server process
SIGNAL_FEED_EXPECTED_PAY_TOpublished merchantthe only payee the client will pay
SIGNAL_FEED_BASE_URLhttps://signals.agenttrustapi.comAPI base URL
SIGNAL_FEED_PREFLIGHToffoff, block or allow-only (Agent Trust payment preflight)
SIGNAL_FEED_AUTHORITY_FILEunsetpath to a delegation (authority envelope) JSON for the preflight
SIGNAL_FEED_AGENT_IDsignal-feed-mcpagent id sent to the preflight
SIGNAL_FEED_PREFLIGHT_URLAgent Trust productionpreflight endpoint

Offers

There is a design-partner refund and a 100 USDC build bounty for open-source agents that use the feed as pre-decision context. Terms: https://signals.agenttrustapi.com/offers.

More

Development

bash
pip install -e ".[dev]"pytest && ruff check .

The tests run offline against a fake API. They make no network calls and no payments.

License

MIT © 2026 Signal Feed API, Burgas, Bulgaria. Contact: [email protected]

mcp-name: io.github.DinevDecor/signal-feed-mcp

来源:README.md,提交 2ce40f5

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.1最新Oct 29, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分