crypto-exchange-mcp
v1.4.6
Published
[](https://www.npmjs.com/package/crypto-exchange-mcp) [ service designed to help developers easily access documentation when integrating with cryptocurrency exchange APIs. This tool provides comprehensive offline documentation for multiple cryptocurrency exchanges, making it convenient to query API methods and usage information without requiring an internet connection.
Features
- Query available methods from cryptocurrency exchange SDKs
- Retrieve detailed documentation for specific methods
- Offline documentation - all documentation is available offline, no internet connection required
Currently Supported Exchanges
| Exchange SDK | Status | | -------------------------------------------------------------------------------------------------------------- | ------ | | Gate.io SDK Docs | ✅ | | Bybit SDK Docs | ✅ | | Binance SDK Docs WIP | ✅ | | Bitget SDK Docs WIP | ✅ | | OKX SDK Docs | ✅ | | OKX DEX | ✅ |
Configuration
{
"mcpServers": {
"crypto-exchange-mcp": {
"command": "npx",
"args": ["-y", "crypto-exchange-mcp@latest"]
}
}
}Usage
This MCP service provides the following tools for each exchange:
Gate.io
gate_methods- Get all API method lists and related documentation supported by Gate Exchange SDKgate_method_detail- Query detailed usage information for specific API methods in Gate Exchange SDK
OKX
okx_methods- Get all API method lists and related documentation supported by OKX Exchange SDKokx_method_detail- Query detailed usage information for specific API methods in OKX Exchange SDK
OKX DEX
okx_dex_api_methods- Get all API method lists and related documentation supported by OKX DEX APIokx_dex_api_method_detail- Query detailed usage information for specific API methods in OKX DEX API
Bybit
bybit_methods- Get all API method lists and related documentation supported by Bybit Exchange SDKbybit_method_detail- Query detailed usage information for specific API methods in Bybit Exchange SDK
Binance
binance_methods- Get all API method lists and related documentation supported by Binance Exchange SDKbinance_method_detail- Query detailed usage information for specific API methods in Binance Exchange SDK
Bitget
bitget_methods- Get all API method lists and related documentation supported by Bitget Exchange SDKbitget_method_detail- Query detailed usage information for specific API methods in Bitget Exchange SDK
Architecture
The service is designed with extensibility in mind, making it easy to add support for new exchanges in the future. Each exchange is implemented as an adapter following a common interface, making it simple to add support for new exchanges.
Requirements
- Node.js >= 22
Development
# Install dependencies
pnpm installBuild the project
pnpm run buildDevelopment mode (watch for changes)
pnpm run devTest with MCP inspector
pnpm run inspectGenerate offline data for exchanges
pnpm run generateOfflineData
Contributing
Contributions are welcome! If you'd like to add support for a new exchange, please follow the adapter pattern established in the codebase.
License
MIT
