Hood Mcp

io.github.nirholas由 GitHub 账号 nirholas 发布v0.1.1更新于 Oct 24, 2026

Robinhood Chain data + guarded trading for AI agents: Stock Token quotes, portfolios, launches

发布方自己的服务:hood. — .hood name service

已验证STDIO仅桌面数据库金融

概览

AI 生成的概览

面向 Robinhood Chain(链 ID 4663)的本地 MCP 服务器,为助手提供只读的股票代币、代币与链上数据,另有需显式开启的受控交易钱包服务器。

可以做什么
  • 读取链上状态:最新区块、Gas 价格、TVL 与网络总量
  • 查询股票代币:95 个代币的注册表、Chainlink 与 DEX 报价及溢价折价、按代码名称或地址搜索代币
  • 查看代币与持仓:任意代币的价格、成交量、流动性与持有人,热门池,以及任意地址经乘数修正的股票代币持仓与 USDG 余额
  • 追踪新发行:从链上日志读取近期 NOXA 与 Odyssey 发行,或实时监听最长 120 秒
  • 从钱包交易(独立需开启的服务器):读取本钱包持仓、获取 Uniswap 兑换报价,并在预览确认与花费上限保护下执行兑换或 USDG 转账
适用场景
适合需要回答 Robinhood Chain 市场、股票代币价格、代币流动性或新发行情况的场景。独立交易服务器仅适用于明确希望让代理从有资金的钱包签名兑换或转账的操作者。
运行要求
通过 npx 以 stdio 本地运行(需 Node.js),也可选用 HTTP 模式。数据服务器无需密钥、钱包或配置,使用公共 RPC;ALCHEMY_KEY 可选,用于私有 RPC。HOOD_MCP_NETWORK 选择主网(默认)或测试网。交易服务器必须同时设置 HOOD_MCP_ENABLE_TRADING=1 与 ROBINHOOD_CHAIN_PRIVATE_KEY 才会启动。
安装前请注意
交易服务器需要 ROBINHOOD_CHAIN_PRIVATE_KEY 私钥,可动用真实资金,建议使用专用的低余额钱包。兑换与转账会广播链上交易,仅受 HOOD_MCP_MAX_SPEND_USDG 与 HOOD_MCP_MAX_SESSION_USDG 限制。股票代币为代币化债务证券,对美国、加拿大、英国和瑞士人士受限,购买需设置 HOOD_MCP_ACKNOWLEDGE_ELIGIBILITY=1。数据来自公共 RPC 与第三方价格源。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

hood-mcp

[GitHub stars] [Last commit] [PRs welcome] [AI agent friendly]

Model Context Protocol servers for Robinhood Chain (chain ID 4663).

Two servers, one package: a zero-config data server any MCP client can add in one line, and an explicitly opt-in trading server for wallets that want to act. Built on hoodchain, the TypeScript SDK for the chain.

Docs: https://nirholas.github.io/robinhood-chain-mcp/

Why

Robinhood Chain has two other MCP servers today, both zero-star, days-old, read-only hobby projects. This is the productized one: a full data surface (Stock Tokens, memecoins, launches, chain stats) plus a guarded trading surface with hard spend caps and a confirm gate — built to the standard three.ws holds its agent tooling to.

60-second install

Claude Code

bash
claude mcp add hood-mcp -- npx -y hood-mcp

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "hood-mcp": {      "command": "npx",      "args": ["-y", "hood-mcp"]    }  }}

Cursor

Add to .cursor/mcp.json:

json
{  "mcpServers": {    "hood-mcp": {      "command": "npx",      "args": ["-y", "hood-mcp"]    }  }}

Any stdio MCP client

bash
npx -y hood-mcp

No API key, no wallet, no config. It talks to the public Robinhood Chain RPC and starts answering tool calls immediately.

Two servers

1. hood-mcp — data server (zero-config, read-only)

stdio by default; pass --http (or HOOD_MCP_TRANSPORT=http) for Streamable HTTP on HOOD_MCP_PORT (default 8730), serving POST /mcp and GET /health.

ToolWhat it does
get_chain_statsLatest block, gas price, TVL, network totals.
list_stock_tokensThe 95-token Stock Token registry (ticker, name, contract, feed).
get_stock_quoteChainlink price + Uniswap DEX price + premium/discount + share price for a ticker.
get_portfolioMultiplier-correct Stock Token portfolio + USDG balance for any address.
get_coinPrice/volume/liquidity/holders for any token by address (memecoin or Stock Token).
list_trending_coinsThe chain's trending pools right now.
get_recent_launchesRecent NOXA + The Odyssey launches, scanned from on-chain logs.
watch_launchesWatch live for new launches for up to 120s.
search_tokenFind a token by ticker, name, or address.
bash
HOOD_MCP_NETWORK=mainnet   # or testnet — default mainnetALCHEMY_KEY=                # optional: private RPC instead of public

2. hood-mcp-trading — wallet server (explicitly opt-in)

Separate binary, stdio only, refuses to start unless both are set:

bash
HOOD_MCP_ENABLE_TRADING=1ROBINHOOD_CHAIN_PRIVATE_KEY=0x...
json
{  "mcpServers": {    "hood-mcp-trading": {      "command": "npx",      "args": ["-y", "hood-mcp-trading"],      "env": {        "HOOD_MCP_ENABLE_TRADING": "1",        "ROBINHOOD_CHAIN_PRIVATE_KEY": "0xYOUR_KEY"      }    }  }}
ToolWhat it does
get_my_portfolioThis wallet's ETH, USDG, and Stock Token positions. Read-only.
get_swap_quoteQuote a Uniswap swap without signing. Read-only.
execute_swapGuarded. Preview → confirm: true → broadcast. Spend-capped.
transfer_usdgGuarded. Preview → confirm: true → broadcast. Spend-capped.

See Safety model for the full guard design. Summary:

  1. Kill switch — the server process itself refuses to start without HOOD_MCP_ENABLE_TRADING=1.
  2. Eligibility gate — buying a tokenized Stock Token requires HOOD_MCP_ACKNOWLEDGE_ELIGIBILITY=1 (Stock Tokens are barred to US/Canada/UK/Switzerland persons — see below).
  3. Spend caps — every mutating call is valued in USD and checked against HOOD_MCP_MAX_SPEND_USDG (per-call) and HOOD_MCP_MAX_SESSION_USDG (per-session, in-memory, resets on restart) before anything is signed.
  4. Confirm gate — the first call to execute_swap / transfer_usdg always returns a simulation (recipient, amount, token, min-received) and signs nothing. Only a second call with confirm: true and identical arguments broadcasts.
bash
HOOD_MCP_MAX_SPEND_USDG=25        # default 25 — per single callHOOD_MCP_MAX_SESSION_USDG=100     # default 100 — cumulative for the process lifetimeHOOD_MCP_ACKNOWLEDGE_ELIGIBILITY=0  # set to 1 ONLY if eligible to hold Stock Tokens

Stock Tokens are tokenized debt securities (issuer: Robinhood Assets (Jersey) Ltd) and may not be offered, sold, or delivered to US persons (additional limits: Canada, UK, Switzerland). The restriction is legal/front-end enforced, not contract-level — execute_swap throws unless the operator has explicitly acknowledged eligibility. Memecoins are unrestricted.

Environment reference

See .env.example for the full annotated list. Nothing is required for the data server; the trading server requires the two kill-switch variables above.

x402 monetization (seam, not active)

The HTTP transport has a documented seam (src/x402-seam.ts) to paywall future metered tools (deep history, firehose) via the sibling hood402 USDG-on-Robinhood-Chain x402 rail once it exists. Every tool this package ships today stays free regardless.

Development

bash
npm installnpm run build        # tsup → dist/npm run dev:data      # tsx src/data-server.ts (stdio)npm run dev:trading   # tsx src/trading-server.ts (stdio, needs env)npm test              # hermetic: schema + guard tests (real network reads, no wallet funds)npm run test:live      # live: every data tool against real mainnet 4663 datanpm run test:swap       # live, gated: a REAL testnet swap through execute_swap (needs a                        # faucet-funded ROBINHOOD_CHAIN_PRIVATE_KEY — see the test file)

Depends on hoodchain from npm; for local development against an unpublished SDK checkout: npm i ../robinhood-chain-sdk.

Registry submissions (owner action)

Metadata is prepared, not submitted — publishing to a registry is a one-way, attributed action the owner should take:

  • modelcontextprotocol registry — server.json in this repo validates against the official schema. Submit with the mcp-publisher CLI once hood-mcp is live on npm.
  • Smithery — their current flow publishes a running server URL or an .mcpb bundle (smithery mcp publish <url> -n <org/server>), not a static config file. Deploy the HTTP transport (hood-mcp --http) somewhere public, then run smithery mcp publish https://your-deployment/mcp -n nirholas/hood-mcp.

License

All rights reserved. See LICENSE.

Star History

[Star History Chart]

Support the project

If robinhood-chain-mcp saves you time, star it on GitHub. Stars are how other developers and AI agents find the repositories worth trusting, and they cost you one click.

Know someone who would use it? Post on X · Share on Bluesky · Share on LinkedIn · Submit to Hacker News · Share on Reddit

Built for AI agents too

Coding agents and LLM tooling can read this repo directly: AGENTS.md, llms.txt, llms-full.txt. Point an agent at https://github.com/nirholas/robinhood-chain-mcp and it has the context it needs.

More from the same author

Contributors

[Contributors]

来源:README.md,提交 d571ac4

工具

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

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 40%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

    请在仓库或注册中心条目中声明许可证。

其他 Hood 集成