OKX MCP Server
@badger3000
About OKX MCP Server
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"okx-mcp-server": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is OKX MCP Server?
OKX MCP Server is a Model Context Protocol server that fetches real-time cryptocurrency data from the OKX exchange. It provides AI assistants like Claude with tools to access up-to-date price information, historical candlestick data, and WebSocket live updates with visual formatting.
How to use OKX MCP Server?
Install Node.js (v16+), clone the repository, run npm install, then npm run build. Start the server with npm start or node build/index.js. Integrate with VSCode's Claude extension or Claude Desktop by adding the MCP configuration to the appropriate settings file.
Key features of OKX MCP Server
get_price: fetch latest price with visual formattingget_candlesticks: retrieve historical candlestick data with ASCII chartssubscribe_ticker: subscribe to real-time WebSocket updatesget_live_ticker: retrieve latest live data from WebSocketunsubscribe_ticker: stop receiving updates for a trading pair- Multiple output formats: markdown, json, table
Use cases of OKX MCP Server
- Ask an AI assistant for the current Bitcoin price (BTC-USDT) with a formatted display.
- Request a candlestick trend of Ethereum over the last hour using 5-minute intervals.
- Monitor BTC-USDT in real-time and alert if price moves more than 1%.
- Compare current prices of multiple trading pairs in a single query.
- Track market volatility as it happens using WebSocket subscriptions.
FAQ from OKX MCP Server
What tools are available in OKX MCP Server?
The server provides five tools: get_price, get_candlesticks, subscribe_ticker, get_live_ticker, and unsubscribe_ticker.
How do I get real-time price updates?
Use subscribe_ticker with an instrument ID to start a WebSocket subscription, then get_live_ticker to retrieve the latest cached data. Use unsubscribe_ticker to stop.
Do I need API keys to use this server?
No, the current implementation uses only public OKX API endpoints, so no API keys or authentication are required.
What output formats are supported?
get_price: markdown (default) or jsonget_candlesticks: markdown, table, or jsonget_live_ticker: markdown or json
Where should I configure the MCP server for VSCode?
Edit the file ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json and add the server configuration with the path to build/index.js.
More Other MCP servers

EverArt
modelcontextprotocolModel Context Protocol Servers
Codelf
unbugA search tool helps dev to solve the naming things problem.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Comments