RailX MCP
Provides trading and market tools for tokenized stocks on Robinhood Chain, letting agents resolve Stock Tokens, read underlying and multiplier-adjusted prices and corporate actions, fetch wallet portfolio balances, create exact-input/exact-output route quotes, and preflight trades—returning an explainable verdict, checks, and unsigned transactions for the user's wallet to sign.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@RailX MCP Prepare a 500 USDG trade for NVDA from wallet 0x00...01"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
RailX MCP
Put the stock market in your app. RailX is the trading API for tokenized stocks on Robinhood Chain, with market tools for AI agents.
The official MCP server gives Claude, Cursor, and other MCP clients the tools to find Stock Tokens, get quotes, and prepare policy-checked trades. Your agent gets an explainable verdict and unsigned transactions. Your wallet signs.
Documentation · OpenAPI · npm · Support
Install
npm install -g @railx/mcpOr let your MCP client run the current package with npx:
{
"mcpServers": {
"railx": {
"command": "npx",
"args": ["-y", "@railx/mcp"],
"env": {
"RAILX_PROJECT_KEY": "railx_test_..."
}
}
}
}Related MCP server: Blocksize Market Data
Configuration
RAILX_PROJECT_KEYis required. Use a scopedrailx_test_orrailx_live_project key.RAILX_BASE_URLis optional and defaults tohttps://railx.dev/api/v0.
Start with a test key from the dashboard. Its calls use RailX's deterministic sandbox, need no funded wallet or provider credential, and move no funds. Keep the project key in your MCP client's environment configuration.
The package runs locally over stdio and delegates every operation to @railx/sdk. It targets API v0, uses the same project scopes and policies as HTTP, and never accepts signing material.
Try a sandbox trade
Ask your agent:
Use RailX to prepare an exact-input trade of 500 USDG for NVDA with wallet 0x0000000000000000000000000000000000000001. Show the verdict, checks, and unsigned transactions.
The agent calls railx_preflight_trade with:
{
"wallet": "0x0000000000000000000000000000000000000001",
"intent": {
"type": "exact_input",
"tokenIn": "USDG",
"tokenOut": "NVDA",
"amountIn": "500"
}
}allow returns a ready plan. warn returns review_required with transactions for human review. block returns no signable transactions. Inspect verdict and signing.unsignedTransactions in the result.
Tools
Tool | Operation | Required scope |
| Resolve a Stock Token or supported system token |
|
| Read underlying and multiplier-adjusted reference prices |
|
| Read and filter corporate actions |
|
| Read wallet balances, optionally for up to 20 symbols |
|
| Find an exact-input or exact-output route quote |
|
| Build, check, simulate, and persist a trade plan |
|
| Retrieve a plan in the current project environment |
|
| Simulate one to eight unsigned transactions |
|
Successful quotes, new plans, and simulations use one checked-action unit. Reads and plan replays use no checked-action units; authenticated request limits still apply. The public launch is free.
For exact output, use intent.type: "exact_output" with amountOut. Slippage is a percentage from 0.01 to 5, in 0.01% increments. Preflight accepts an optional idempotencyKey of 16–128 URL-safe characters; reuse it only for the same intent. Simulation accepts gasLimit, gasPrice, maxFeePerGas, and maxPriorityFeePerGas as decimal or hexadecimal quantity strings, matching the HTTP API.
Upgrade from 0.1
Version 0.2 uses the RailX namespace for all tools. Replace saved rail_* tool names with railx_* and refresh your MCP client's tool list. Package versions are independent of the API v0 route.
Requirements
Node.js 22.13 or newer
A RailX project key from railx.dev/dashboard
License
MIT
Available Tools
8 toolsrailx_create_quoteB
Find an exact-input or exact-output route quote. A successful quote uses one checked-action unit. Executable transactions come from railx_preflight_trade.
Inputs: intent (required), wallet (required), slippageTolerance.
railx_get_assetCRead-only
Read canonical Robinhood Chain asset metadata. Read-only.
Inputs: symbol (required).
railx_get_corporate_actionsCRead-only
Read splits, dividends, and other Stock Token actions. Read-only.
Inputs: type, limit, status, symbol.
railx_get_portfolioCRead-only
Read wallet balances and Stock Token positions. Read-only.
Inputs: wallet (required), symbols, includeZero.
railx_get_priceARead-only
Read reference bid/ask and multiplier-adjusted token price. Read-only; not an executable quote.
Inputs: symbol (required).
railx_get_trade_planBRead-only
Retrieve a previously created durable trade plan. Read-only and scoped to the current project environment.
Inputs: planId (required).
railx_preflight_tradeA
Build and simulate a policy-checked trade plan with an allow, warn, or block verdict. New plans use one checked-action unit. Transactions are unsigned; blocked plans contain nothing signable.
Inputs: intent (required), wallet (required), idempotencyKey, slippageTolerance.
railx_simulate_transactionsC
Simulate an ordered transaction sequence. A successful simulation uses one checked-action unit. RailX never signs or submits transactions.
Inputs: transactions (required), wallet.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
The four read tools (asset, price, corporate_actions, portfolio) each target a clearly distinct resource, and get_trade_plan is unambiguous. However create_quote, preflight_trade, and simulate_transactions all involve route/trade planning and simulation, so their boundaries rely heavily on the descriptions to separate them.
All tools use a consistent railx_ prefix followed by a verb_noun pattern (get_asset, get_price, create_quote, preflight_trade, simulate_transactions), making the surface highly predictable.
Eight tools is well-scoped for a read-plus-planning/simulation server, with each tool covering a distinct resource or lifecycle step.
The read surface plus quote, preflight, plan retrieval, and simulation covers the stated domain, and omitting transaction submission is explicitly by design. Minor gaps exist, such as no tool to list or manage multiple existing plans.
Maintenance
Related MCP Connectors
Live prices, perps, prediction markets and a paper trading desk over one MCP.
Trade and invest in tokenized stocks: prices, holdings, P&L, unsigned market/limit/recurring trades.
Graded stock setups, options flow, and multi-window trend research over a hosted OAuth MCP endpoint.
Read-only MCP for Rialto quotes and swap preflight on Robinhood Chain. No signing or broadcast.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables querying real-time and historical financial market data for stocks, options, forex, and crypto, including quotes, trades, technical indicators, and reference data through a set of MCP tools.713MIT
- AlicenseAqualityBmaintenanceRead-only MCP server for Blocksize real-time market data: crypto VWAP, bid/ask, FX, metals and tokenized equities, with pricing, coverage and x402 endpoint lookup. Signed-in users of the Claude, ChatGPT and Cursor connectors get 30,000 free live-data credits every month (1 credit = $0.001); subscriptions from EUR 49/month.71MIT
- FlicenseAqualityDmaintenanceEnables MCP clients to read Toss Securities market data and account info, and optionally place real-money orders.20-
- AlicenseAqualityBmaintenanceMCP gateway for AI agents to Robinhood Chain (Arcus DEX) tokenized US equities: quotes, multipliers, corporate actions, sectors. Read-only, keyless.1343 PyPI1MIT