Raindex MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Raindex MCP Server
A Model Context Protocol (MCP) server that wraps the Raindex SDK (@rainlanguage/orderbook), enabling AI agents to query, manage, and interact with Raindex onchain orderbook positions.
Features
17 MCP tools covering orders, vaults, strategies, deployment, transactions, and token info
Calldata-only writes — never holds keys or signs transactions
Multi-chain — queries all configured chains from a single settings file
Registry integration — browse and deploy strategies from a dotrain registry
Related MCP server: Syenite
Prerequisites
Setup
# Enter dev shell (provides Node.js 22)
nix develop
# Install dependencies
npm ci
# Build
npm run build
# Run tests
npm testConfiguration
Set environment variables before starting the server:
Variable | Required | Description |
| Yes* | Path to a YAML settings file |
| Yes* | Inline YAML settings string |
| No | URL to a dotrain registry manifest |
*One of RAINDEX_SETTINGS_PATH or RAINDEX_SETTINGS_YAML is required.
Usage
As an MCP server (stdio transport)
RAINDEX_SETTINGS_PATH=./settings.yaml node dist/index.jsMCP client configuration (e.g. Claude Desktop)
{
"mcpServers": {
"raindex": {
"command": "node",
"args": ["/path/to/raindex-mcp/dist/index.js"],
"env": {
"RAINDEX_SETTINGS_PATH": "/path/to/settings.yaml",
"RAINDEX_REGISTRY_URL": "https://example.com/registry.txt"
}
}
}
}Tools
Orders
Tool | Description |
| List orders with optional chain/owner/token filters |
| Fetch a single order by hash |
| Trade history for an order |
| Live quotes for an order's pairs |
| Generate calldata to remove an order |
Vaults
Tool | Description |
| List vaults with optional filters |
| Fetch a single vault by ID |
| Balance change history for a vault |
| Generate deposit calldata |
| Generate withdraw calldata |
| Multicall to withdraw all balances |
Strategies & Deployment
Tool | Description |
| List strategies from registry |
| Deployment details for a strategy |
| Compose Rainlang from dotrain source |
| Generate deployment calldata |
Info
Tool | Description |
| Inspect an orderbook transaction |
| List all configured tokens |
| List known accounts from subgraph |
Architecture
Transport: stdio (standard MCP pattern)
Client: Single
RaindexClientinstance from settings YAMLWrite ops: Return
{ calldata, to, chainId }— agent signs externallySDK:
@rainlanguage/orderbook(Rust/WASM bindings)
Development
nix develop -c npm test # Run tests
nix develop -c npm run lint # Lint
nix develop -c npm run fmt # Format
nix develop -c npm run fmt:check # Check formatting
nix develop -c npm run build # Compile TypeScriptLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
The Brain Layer for AI Trading Agents — quant calls + cross-venue arb across perp venues via MCP.
MCP for AI agents: financing, skills, lending on Base
Trading tools for AI agents: token risk checks, swap quotes, unsigned swaps, holdings on 5 chains.
Non-custodial DeFi for AI agents: swaps, concentrated liquidity (V3/V4) zaps + ranges, 5 EVM chains
Related MCP Servers
- AlicenseAqualityDmaintenance22 MCP tools for AI agents: crypto prices and trading signals (53 coins), stock prices and company financials, forex rates and conversion, and web scraping with AI summaries. All powered by x402 USDC micropayments on Base. $0.01-$0.25 per request.2219 npmMIT

Syeniteofficial
FlicenseNot gradedqualityCmaintenanceA DeFi MCP server enabling AI agents to query lending rates, execute swaps/bridges, monitor positions, and access prediction markets across 30+ chains with a trust layer for calldata verification.-- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Uniswap through 17 tools mapped 1:1 to real API endpoints, allowing access to DeFi data and operations via natural language.-
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to query liquidation radar for seven tokens, inspect recorded BTC/ETH order book depth with wall history and aggressor flow, and request Li.Fi cross-chain swap routes that agents sign themselves.MIT