Basic information
About OKX MCP Server
[](https://mseep.ai/app/badger3000-okx-mcp-server)
OKX MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by badger3000. It exposes 5 tools, including get_price, get_candlesticks, subscribe_ticker, get_live_ticker and more. Supported transport: stdio. Runtime: node. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: cryptocurrency, mcp-server, okx.
Setup
{
"mcpServers": {
"okx-mcp-server": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
{
"mcpServers": {
"okx-mcp-server": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
{
"servers": {
"okx-mcp-server": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
OKX MCP Server — by badger3000 config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"okx-mcp-server": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}
OKX MCP Server — by badger3000 tools
- get_price — fetch latest price with visual formatting
- get_candlesticks — retrieve historical candlestick data with ASCII charts
- subscribe_ticker — subscribe to real-time WebSocket updates
- get_live_ticker — retrieve latest live data from WebSocket
- unsubscribe_ticker — stop receiving updates for a trading pair
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.
Frequently asked questions
1 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.
2 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.
3 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.
4 What output formats are supported?
get_price: markdown (default) or jsonget_candlesticks: markdown, table, or jsonget_live_ticker: markdown or json
5 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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In