OKX MCP Server
@badger3000
About OKX MCP Server
No overview available yet
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.
Frequently asked questions
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 json - `get_candlesticks`: markdown, table, or json - `get_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`.
Basic information
More Other MCP servers
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Codelf
unbugA search tool helps dev to solve the naming things problem.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Nginx UI
0xJackyYet another WebUI for Nginx
Comments