# Orderly MCP

> Orderly MCP is an open-source MCP server for developer tools. Docs search, SDK patterns and contract addresses for building on Orderly Network. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, API
- **Repository:** https://github.com/orderlynetwork/orderly-mcp
- **MCP Registry name:** io.github.OrderlyNetwork/orderly-mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-23

## About

Orderly Network is described by its README as omnichain perpetual futures trading infrastructure, and this server gives coding assistants a grounded way to build against it. Beyond plain docs search, it returns code patterns for the v2 SDK hooks (useOrderEntry and usePositionStream are named), contract addresses per chain, and guides for trading UI components.

The workflow tool walks through wallet connection and Orderly key creation, placing and cancelling orders, vault deposits, EIP-712 signed withdrawals and bracket take-profit and stop-loss orders. A separate tool covers the Indexer API for daily volume, fees, account events such as trades, settlements and liquidations, and volume statistics. The README also notes that Orderly Predict, 5-minute BTC up/down rounds, is covered through docs search.

An init command writes the config for Claude Code, Cursor, VS Code, Codex or OpenCode. You can run it locally over stdio, use the public instance at mcp.orderly.network, or self-host the HTTP mode with Docker.

## Features

- **Documentation search:** Queries Orderly docs for architecture, APIs and concepts, with SDK symbols surfaced inline.
- **Contract address lookup:** Returns contract addresses by chain and network, mainnet or testnet.
- **Workflow explanations:** Steps through wallet connection, orders, deposits, withdrawals and TP/SL brackets.
- **API reference:** Describes REST, WebSocket and auth endpoints.
- **Indexer API info:** Covers trading metrics, account events, trades and volume statistics.
- **One-command setup:** The init command configures five AI clients automatically.

## Good for

- Build a trading UI with the Orderly SDK v2 hooks
- Look up Vault contract addresses on Arbitrum, Base or other chains
- Implement deposits and signed withdrawals
- Add take-profit and stop-loss orders to an app
- Pull volume and fee metrics from the Indexer API

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http orderly-mcp https://mcp.orderly.network/
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "orderly-mcp": {
      "type": "http",
      "url": "https://mcp.orderly.network/"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.orderly.network/
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "orderly-mcp": {
      "url": "https://mcp.orderly.network/"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "orderly-mcp": {
      "type": "http",
      "url": "https://mcp.orderly.network/"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.orderly.network/
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add orderly-mcp --url https://mcp.orderly.network/
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.orderly-mcp]
url = "https://mcp.orderly.network/"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "orderly-mcp": {
      "httpUrl": "https://mcp.orderly.network/"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http orderly-mcp https://mcp.orderly.network/

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "orderly-mcp": {
      "serverUrl": "https://mcp.orderly.network/"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "orderly-mcp": {
      "url": "https://mcp.orderly.network/",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "orderly-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.orderly.network/"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "orderly-mcp": {
      "url": "https://mcp.orderly.network/"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "orderly-mcp": {
      "url": "https://mcp.orderly.network/"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "orderly-mcp": {
      "url": "https://mcp.orderly.network/"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "orderly-mcp": {
      "url": "https://mcp.orderly.network/"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.orderly.network/
```

Enter a Name (for example "Orderly MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "orderly-mcp": {
      "type": "http",
      "url": "https://mcp.orderly.network/"
    }
  }
}
```

## Tools

The server marks all 9 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `search_orderly_docs` (says read-only): Search bundled Orderly docs and SDK symbols by topic or question. Returns up to `limit` ranked Markdown results with relevance scores: `scope: 'sdk'` returns hooks/components/types/functions with signatures, props, and source paths; `'docs'` returns prose; `'auto'` (default) picks the corpus from the query. Use `'sdk'` for exact symbol signatures and `detail: 'full'` only when the summary is insuf
- `get_contract_addresses` (says read-only): Get the deployed smart contract addresses for Orderly on a specific chain and network. `chain` is required; `contractType` filters to one contract (e.g. vault, usdc, usdt) or 'all'; `network` selects mainnet (default) or testnet. 'all' lists every contract with an address on the selected network; a specific type also returns its description and the address on the other network when available. Unkn
- `explain_workflow` (says read-only): Get a curated, step-by-step guide for a common Orderly development task such as wallet connection, deposits, SDK setup, or placing orders. Returns exactly one best-matching workflow as Markdown with prerequisites, numbered steps, TypeScript examples, common issues, and related workflows; pass the task in natural language or a partial name, and a miss lists available workflows. Read-only lookup fro
- `get_api_info` (says read-only): Get reference documentation for the core Orderly trading API: REST endpoints, WebSocket streams, or authentication. For `rest` or `websocket`, omitting `endpoint` lists every endpoint or stream with base URLs and auth requirements; supplying `endpoint` fuzzy-matches one item and returns its method/path or topic, auth, rate limits, parameters, message formats, and a TypeScript example. `type: 'auth
- `get_indexer_api_info` (says read-only): Get reference documentation for the Orderly Indexer API, a read-only source of historical and aggregated trading data: volume and fee metrics, account events, trades, and rankings. Omit both parameters for an overview with base URLs, categories, common errors, and usage tips; pass `category` to discover all endpoints in an area, or `endpoint` to fuzzy-match one endpoint and return its parameters, 
- `get_component_guide` (says read-only): Get a curated build guide for a React UI component from the Orderly SDK, such as order-entry, orderbook, positions, or wallet-connector. Returns Markdown with required packages, key hooks, a complete TSX example, tips, styling notes, common mistakes, and related components; `complexity` selects the example depth — 'minimal' for a scaffold, 'advanced' for production wiring — and falls back to 'stan
- `get_orderly_one_api_info` (says read-only): Get reference documentation for the Orderly One API used to create, graduate, and manage a DEX, covering auth, DEX, graduation, theme, stats, leaderboard, and admin endpoints. Omit both parameters for an overview; pass `category` to discover all endpoints in an area, or `endpoint` to fuzzy-match one endpoint and return its method, parameters, and examples (category takes precedence if both are sup
- `get_strategy_vault_api_info` (says read-only): Get reference documentation for the Orderly Strategy Vault REST API covering vault performance, strategy providers, fund management, liquidity providers, and user stats. Omit both parameters for an overview with base URL and categories; pass `category` to discover all endpoints in an area, or `endpoint` to fuzzy-match one endpoint and return its full detail (category wins if both are supplied). Re
- `get_public_info_api_info` (says read-only): Get reference documentation for the Orderly Public Info API — a zero-auth single endpoint (POST /v1/public/query) for market, account, and platform data selected by a `type` field. Covers 24 query types (marketSummary, accountState, orderbook, candles, topAddresses, whaleContext, etc.); `queryType` accepts exact, partial, or fuzzy names and returns params, response fields, example, weight, and fre

## FAQ

### Which AI clients does the installer support?

Claude Code, Cursor, VS Code, Codex and OpenCode, through npx @orderly.network/mcp-server init --client <client>.

### Is there a hosted version?

Yes, a public instance runs at https://mcp.orderly.network, with a health check at /health.

### Which chains are supported for contract lookup?

The README lists ethereum, arbitrum, optimism, base, mantle and solana, plus the Orderly L2.

### What does Orderly MCP need to run locally?

Node.js 18 or higher.

### Is Orderly MCP free?

Yes. Orderly MCP is open source, so you can use and self-host it for free.

### How do I add Orderly MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http orderly-mcp https://mcp.orderly.network/

### What are the best alternatives to Orderly MCP?

The closest alternatives to Orderly MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Status and tools: checked automatically by AIPoweredBot on 24 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/orderly-mcp
