pegcheck
pegcheck-mcp
読み取り専用のMCPサーバーで、Robinhood Chain Stock Tokenが、それが表す現実の株式と比較して現在公正な価格で取引されているかをチェックします。これは、人間がダッシュボードで読むためではなく、AIエージェントが取引する直前に呼び出されるように設計されています。
✅ Verdict: FAIR (deviation: 0.11%)問題
Robinhood ChainのStock Tokensは、実際の株式に連動する自己管理可能なERC-20であり、オンチェーンDEXで24時間365日取引されています。実際の株式市場は、1日約6.5時間、週5日しか開いていません。その時間外には、トークン価格を公正価値に戻すための活発な市場が存在しないため、価格が乖離する可能性があります。
これらのトークンをオンチェーンで直接取引するAIエージェント(ウォレットキーを保持し、DEXプールとスワップする)には、支払おうとしている価格が信頼できるかどうかを知る組み込みの方法がありません。このギャップを表面化する既存のツール(ダッシュボード、Telegramアラートボット、取引端末)はすべて、人間が見るために作られています。そのどれもが、意思決定の途中でエージェントによって呼び出されるようには作られていません。
Related MCP server: rhc-mcp
解決策
1つの焦点を絞ったMCPツール:check_stock_token_price。
ティッカーを渡すと、エージェントが行動できる構造化されたセッション認識の判定を返します。取引に署名する前に、その取引がRobinhood独自のTrading MCPを経由するか、オンチェーンDEXに直接対するかに関係なく。
{
"symbol": "AAPL",
"onchain": { "priceUsd": 310.32, "method": "liquidity-weighted-average", "poolsUsed": 10 },
"reference": { "tokenEquivalentPriceUsd": 309.99, "isTradingHalt": false },
"deviation": { "pct": 0.11, "direction": "premium" },
"marketSession": { "state": "weekend" },
"verdict": "fair",
"warnings": []
}このサーバーは読み取り専用です。秘密鍵を保持することも、トランザクションに署名することも、取引を行うこともありません。
仕組み
比較される2つの独立したデータソース:
オンチェーン価格 — トークンのインデックス化されたすべてのRobinhood ChainプールをDexScreenerの公開APIから取得し、安定した参照資産(USDG/USDC)で見積もられ、流動性が少なくとも$500あるプールにフィルタリングし、流動性加重平均にまとめます(そのため、1つの深いプールが、いくつかの浅くノイズの多いプールを支配します)。フィルタを通過するものがない場合は、単一の最も深いプール(低信頼性としてフラグ付け)にフォールバックします。
参照価格 — Robinhood自身の公開Stock Token API(
/rhj/prices/{symbol})で、原資産の生のビッド/アスクを報告します。これは、トークンの現在のERC-8056multiplier(/rhj/assetsから)でスケーリングされ、トークン相当の公正価格を取得します。配当は現金で支払われるのではなく、マルチプライヤーに再投資されるためです。
2つの間の乖離は、現在の米国市場セッションに依存するしきい値テーブル(regular、pre-market、after-hours、weekend、holiday、closed)と比較されます。これは外部依存なしでローカルに計算されます。土曜の夜の2%のギャップは予想されますが、火曜日の午前11時の同じギャップは予想されません。セッション検出には完全なNYSE祝日カレンダーが含まれており、外部APIから取得するのではなく、アルゴリズムで計算されます(月の第n曜日のルール、聖金曜日のためのイースター計算、標準的な週末の振替ルール)。そのため、ネットワーク依存、APIキー、古くなる静的ファイルなしで、任意の年に機能します。NYSEが公式に公開した2026〜2028年のカレンダーに対してtest/nyseHolidays.test.tsで検証されています。正確なしきい値はsrc/config.tsを、祝日ルールはsrc/nyseHolidays.tsを参照してください。
インストールと実行
git clone https://github.com/kushal613/pegcheck-mcp.git
cd pegcheck-mcp
npm install
npm run buildAPIキーも、.envファイルも、ウォレットも不要です。使用するすべてのデータソースは、無料の公開されたキー不要のAPIです。
ターミナルから試す
npm run check -- AAPL
npm run check -- TSLAMCPクライアントに接続する
Claude Desktop / Claude Code(claude_desktop_config.jsonまたは.mcp.json):
{
"mcpServers": {
"pegcheck": {
"command": "node",
"args": ["/absolute/path/to/pegcheck-mcp/dist/index.js"]
}
}
}Cursor(.cursor/mcp.json):上記と同じ形式です。
接続したら、エージェントに次のように依頼してください:「TSLAのストックトークンを購入する前に、pegcheckで現在の価格が公正かどうか確認して。」
ツールリファレンス
check_stock_token_price
フィールド | 型 | 説明 |
|
| ティッカー。例: |
|
| 流動性加重オンチェーン価格。 |
|
|
|
|
| 実際の株式のミッドプライスを、コーポレートアクションのマルチプライヤーでスケーリングしたもの。 |
|
| オンチェーンと参照の間の符号付き%乖離。 |
|
|
|
|
| 例: |
|
|
|
|
| 人間が読める注意事項(古い相場、取引停止、低信頼性プールなど)。 |
アーキテクチャ
src/
config.ts Every tunable threshold, in one place
types.ts Shared types for the whole pipeline
http.ts Fetch wrapper with timeout + consistent errors
robinhoodApi.ts Reference leg: /rhj/assets + /rhj/prices (Robinhood's own APIs)
dexscreener.ts Onchain leg: liquidity-weighted price across Robinhood Chain pools
marketSession.ts Local US-market-session calculation (no external dependency)
nyseHolidays.ts Algorithmic NYSE holiday calendar (no external dependency)
pegCheck.ts Combines both legs into one PegCheckResult
server.ts MCP tool registration
index.ts stdio entrypoint
cli.ts Standalone terminal usage (no MCP client needed)
scripts/
smoke-test.mjs End-to-end MCP protocol handshake test (initialize -> tools/list -> tools/call)既知の制限(v0.1)
早期終了の処理なし。 NYSEの午後1時の終了(感謝祭の翌日、平日のクリスマスイブ)は、別のセッションとしてモデル化されていません。そのような午後は、実際の早期終了より数時間遅れて
after-hours/closedと報告されます。終日休場は完全にカバーされています。特定の取引所に対するスリッページ見積もりなし。 これは、集計された流動性加重価格を報告するものであり、「私の500ドルの取引がこの特定のプールに対してどれだけのコストになるか」ではありません。これは意図的なv0.1のスコープ境界です(自然なv0.2:取引サイズと特定のプール/取引所を受け取り、価格影響を見積もる
advancedモード)。DexScreenerのカバレッジ依存。 DexScreenerが非常に新しいプールをまだインデックスしていない場合、
onchain.methodは"none"になり、判定はno_liquidityになります。これは「大きな失敗」であり、静かな誤答ではありません。デューデリジェンスの代替ではありません。 以下の免責事項を参照してください。
免責事項
このプロジェクトは、Robinhoodとは提携しておらず、Robinhoodによって承認されていません。これは独立した情報提供ツールです。データはRobinhoodの公開APIとDexScreenerの公開APIから取得されており、遅延、不完全、または不正確な場合があります。ここにあるものはすべて金融アドバイスではありません。このサーバーは取引を行うことができず、資金や鍵を保持しません。
ライセンス
MIT — LICENSEを参照してください。
Available Tools
1 toolcheck_stock_token_priceA
Checks whether a Robinhood Chain Stock Token's current onchain trading price is consistent with its real-world reference stock price. Combines a liquidity-weighted average of the token's onchain DEX pools with Robinhood's own live reference quote (adjusted for the token's corporate-action multiplier), and returns a session-aware fairness verdict ('fair' | 'caution' | 'unreliable' | 'no_liquidity' | 'unknown_symbol') plus the deviation percentage and supporting data. Call this BEFORE executing a trade of a Stock Token, whether through Robinhood's own Trading MCP or directly against an onchain DEX, to avoid trading at a price that has drifted from fair value -- which is most likely to happen outside regular US market hours. Read-only: this tool never places, modifies, or signs any trade.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The Stock Token ticker symbol, e.g. "AAPL", "TSLA", "NVDA". |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It explicitly states 'Read-only: this tool never places, modifies, or signs any trade,' which is a critical safety trait. It also discloses the algorithm (combining onchain DEX pools with a live reference quote) and the return format (session-aware verdict plus deviation percentage and supporting data), going beyond minimal requirements.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise yet comprehensive, front-loading the core purpose before moving to method, usage guidance, and safety note. Every sentence serves a purpose: the first defines the check, the second explains the mechanism and output, the third gives explicit usage context, and the fourth declares read-only behavior. No filler or redundant text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has a single parameter and no output schema, so the description must explain both input context and expected output. It does so by describing the verdict options ('fair' | 'caution' | 'unreliable' | 'no_liquidity' | 'unknown_symbol'), the deviation percentage, and the session-aware nature. It also covers when to use it, fulfilling the informational needs for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already has 100% description coverage for the single parameter 'symbol' with examples. The tool description does not add new semantic meaning to the parameter itself; it explains the tool's purpose but not additional nuances like format constraints or edge cases. The baseline of 3 is appropriate since the parameter is fully documented in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a very specific verb+resource: it checks whether a Robinhood Chain Stock Token's onchain trading price is consistent with its real-world reference stock price. It also details the method (liquidity-weighted average of DEX pools combined with Robinhood's live quote) and the output (a fairness verdict and deviation percentage), leaving no ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly says to call this BEFORE executing a trade of a Stock Token, whether via Robinhood's Trading MCP or directly against a DEX, to avoid trading at a price that has drifted from fair value. It also notes this is most likely outside regular US market hours. It does not provide explicit when-not-to-use or alternatives, but since there are no sibling tools, this is acceptable; a 4 reflects clear context without exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v0.1.0- First observed
check_stock_token_price
TDQS
Scored across 1 tool
With only a single tool, there is no possibility of confusion or overlap. The tool's purpose is clearly distinct from anything else, meeting the 'clearly distinct purpose' criterion perfectly.
The tool name 'check_stock_token_price' follows a clean verb_noun pattern, and with only one tool there is no inconsistency. The name accurately describes the action and object.
A single tool feels thin for most servers, but here the scope is narrowly defined around one specific check. It is borderline acceptable but on the low end of the typical range, making it a 3 per calibration guidelines.
The tool fully addresses its stated purpose—checking price fairness before trading. It provides a verdict, deviation percentage, and supporting data, with no obvious missing operations for that specific task. It is not a CRUD domain, so the completeness is judged against the narrow mission.
Maintenance
Related MCP Connectors
13-model stock valuation engine for AI agents - fair values for 5,900+ US stocks, updated daily.
Non-custodial limit, stop-loss and DCA trading on Epsilon (Robinhood Chain) for AI agents
Token intelligence for Robinhood Chain: onchain and social data on any token, timestamped.
Deterministic decision guardrail for AI agents and bots. Verifies pre-trade economics (long-only).
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables AI agents to interact with Robinhood Chain via USDG payments, offering tools for balance, pricing, trading, and more.1858MIT
- AlicenseAqualityDmaintenanceEnables AI agents to read Robinhood Chain stock-token positions, quote swaps, and execute swaps through the Model Context Protocol, bridging on-chain assets that Robinhood's own off-chain MCP cannot reach.4MIT

hoodr MCP Serverofficial
AlicenseNot gradedqualityAmaintenanceEnables AI agents to trade tokenized stocks (e.g., NVDA, TSLA) on Robinhood Chain via MCP, with non-custodial keys and spending caps.7 npmMIT
fingersofficial
AlicenseNot gradedqualityCmaintenanceRead-only checks on tokens, NFTs, wallets, contracts and tokenized stocks before an agent acts. Honeypot, peg, copycat, wallet risk. Deep Robinhood Chain coverage. Never your keys.MIT