Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Description from the maker (original English)
Dry-run-first CCXT MCP with market, account, derivatives, and guarded trading tools.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
BINANCE_API_KEY, BINANCE_API_SECRET, CCXT_EXCHANGE_ID, CCXT_DEFAULT_TYPE, CCXT_SANDBOX, CCXT_ENABLE_TRADING, CCXT_DRY_RUNValues marked secret are keys to your account. Never share them or paste them into a chat.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"ccxt": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"BINANCE_API_KEY",
"-e",
"BINANCE_API_SECRET",
"-e",
"CCXT_EXCHANGE_ID",
"-e",
"CCXT_DEFAULT_TYPE",
"-e",
"CCXT_SANDBOX",
"-e",
"CCXT_ENABLE_TRADING",
"-e",
"CCXT_DRY_RUN",
"ghcr.io/lucyfox199818-collab/ccxt-mcp:0.1.0"
],
"env": {
"BINANCE_API_KEY": "your-value",
"BINANCE_API_SECRET": "your-value",
"CCXT_EXCHANGE_ID": "your-value",
"CCXT_DEFAULT_TYPE": "your-value",
"CCXT_SANDBOX": "your-value",
"CCXT_ENABLE_TRADING": "your-value",
"CCXT_DRY_RUN": "your-value"
}
}
}
}Run this in your terminal
claude mcp add ccxt --env BINANCE_API_KEY=your-value --env BINANCE_API_SECRET=your-value --env CCXT_EXCHANGE_ID=your-value --env CCXT_DEFAULT_TYPE=your-value --env CCXT_SANDBOX=your-value --env CCXT_ENABLE_TRADING=your-value --env CCXT_DRY_RUN=your-value -- docker run -i --rm -e BINANCE_API_KEY -e BINANCE_API_SECRET -e CCXT_EXCHANGE_ID -e CCXT_DEFAULT_TYPE -e CCXT_SANDBOX -e CCXT_ENABLE_TRADING -e CCXT_DRY_RUN ghcr.io/lucyfox199818-collab/ccxt-mcp:0.1.0Fill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"ccxt": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"BINANCE_API_KEY",
"-e",
"BINANCE_API_SECRET",
"-e",
"CCXT_EXCHANGE_ID",
"-e",
"CCXT_DEFAULT_TYPE",
"-e",
"CCXT_SANDBOX",
"-e",
"CCXT_ENABLE_TRADING",
"-e",
"CCXT_DRY_RUN",
"ghcr.io/lucyfox199818-collab/ccxt-mcp:0.1.0"
],
"env": {
"BINANCE_API_KEY": "your-value",
"BINANCE_API_SECRET": "your-value",
"CCXT_EXCHANGE_ID": "your-value",
"CCXT_DEFAULT_TYPE": "your-value",
"CCXT_SANDBOX": "your-value",
"CCXT_ENABLE_TRADING": "your-value",
"CCXT_DRY_RUN": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"ccxt": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"BINANCE_API_KEY",
"-e",
"BINANCE_API_SECRET",
"-e",
"CCXT_EXCHANGE_ID",
"-e",
"CCXT_DEFAULT_TYPE",
"-e",
"CCXT_SANDBOX",
"-e",
"CCXT_ENABLE_TRADING",
"-e",
"CCXT_DRY_RUN",
"ghcr.io/lucyfox199818-collab/ccxt-mcp:0.1.0"
],
"env": {
"BINANCE_API_KEY": "your-value",
"BINANCE_API_SECRET": "your-value",
"CCXT_EXCHANGE_ID": "your-value",
"CCXT_DEFAULT_TYPE": "your-value",
"CCXT_SANDBOX": "your-value",
"CCXT_ENABLE_TRADING": "your-value",
"CCXT_DRY_RUN": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
CCXT_EXCHANGE_ID envCCXT_DEFAULT_TYPE envCCXT_SANDBOX envCCXT_ENABLE_TRADING envCCXT_DRY_RUN envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026
The registry name was verified with the GitHub account lucyfox199818-collab, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: BINANCE_API_KEY, BINANCE_API_SECRET
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.1.0) reached the registry 5 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Docker on your computer.
In the same category: Finance Toolkit, SolidInvoice, Korea Tax Calculator
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
ccxt-mcp 是一个独立的 MCP stdio 服务,用 CCXT 暴露加密货币交易所能力给 Codex 调用。默认交易关闭并启用 dry-run;需要真实下单时必须同时设置 CCXT_ENABLE_TRADING=true 和 CCXT_DRY_RUN=false。
MCP Registry 名称:io.github.lucyfox199818-collab/ccxt-mcp
公开 OCI 镜像:ghcr.io/lucyfox199818-collab/ccxt-mcp:0.1.0
ccxt_call 可以调用当前交易所实例上存在的任意 CCXT 方法,包含 unified API 和 exchange-specific implicit API。TRADINGAGENTS_PROXY_URL 或 CCXT_PROXY_URL,并提供 ccxt_proxy_ip 检查当前出口 IP 是否命中配置的白名单 IP。| 变量 | 说明 |
|---|---|
TRADINGAGENTS_PROXY_URL / CCXT_PROXY_URL | HTTP、HTTPS、SOCKS4 或 SOCKS5 代理 URL。 |
BINANCE_API_KEY / CCXT_API_KEY | API key。 |
BINANCE_API_SECRET / CCXT_SECRET / CCXT_API_SECRET | API secret。 |
CCXT_EXCHANGE_ID | CCXT 交易所 ID,默认 binance。 |
CCXT_DEFAULT_TYPE | Binance 常用市场类型,例如 spot、future、swap。 |
CCXT_SANDBOX | 是否开启交易所 sandbox/testnet。 |
CCXT_ENABLE_TRADING | 是否允许真实交易类调用,默认 false。 |
CCXT_DRY_RUN | 是否强制 dry-run,默认 true。 |
CCXT_WHITELIST_IPS / BINANCE_WHITELIST_IPS | 逗号分隔的预期出口 IP,用于 ccxt_proxy_ip 对比。 |
CCXT_IP_CHECK_URL | 出口 IP 检查地址,默认 https://api.ipify.org?format=json。 |
cd ccxt-mcp
npm install npm run build node dist/index.js
Codex MCP stdio 配置示例:
{
"mcpServers": { "ccxt": { "command": "node", "args": ["/home/adon/codes/codex-binance-agent/ccxt-mcp/dist/index.js"], "cwd": "/home/adon/codes/codex-binance-agent/ccxt-mcp" } } }
直接运行公开镜像:
docker run --rm -i \
-e CCXT_ENABLE_TRADING=false \ -e CCXT_DRY_RUN=true \ ghcr.io/lucyfox199818-collab/ccxt-mcp:0.1.0
或从源码构建:
cd ccxt-mcp
docker build -t ccxt-mcp:local . docker run --rm -i --env-file .env ccxt-mcp:local
Docker MCP stdio 配置示例:
{
"mcpServers": { "ccxt": { "command": "docker", "args": ["run", "--rm", "-i", "--env-file", "/home/adon/codes/codex-binance-agent/ccxt-mcp/.env", "ccxt-mcp:local"] } } }
当前显式注册 101 个 MCP tools;此外 ccxt_call 可以调用当前交易所实例上存在的任意 CCXT 方法。
基础和市场数据:
ccxt_get_configccxt_list_exchangesccxt_exchange_infoccxt_proxy_ipccxt_load_marketsccxt_fetch_currenciesccxt_fetch_statusccxt_fetch_timeccxt_fetch_tickerccxt_fetch_tickersccxt_fetch_ticker_summaryccxt_fetch_order_bookccxt_fetch_tradesccxt_fetch_ohlcvccxt_fetch_trading_feesccxt_fetch_trading_feeccxt_fetch_deposit_withdraw_feesccxt_fetch_deposit_withdraw_feeccxt_call账户信息:
ccxt_fetch_accountsccxt_fetch_balanceccxt_fetch_free_balanceccxt_fetch_used_balanceccxt_fetch_total_balanceccxt_fetch_positionsccxt_fetch_positions_for_symbolccxt_fetch_positions_riskccxt_fetch_positions_historyccxt_fetch_leverageccxt_fetch_leveragesccxt_fetch_leverage_tiersccxt_fetch_market_leverage_tiersccxt_fetch_ledgerccxt_fetch_ledger_entryccxt_fetch_my_tradesccxt_fetch_order_tradesccxt_fetch_deposit_addressccxt_fetch_deposit_addressesccxt_fetch_deposit_addresses_by_networkccxt_fetch_depositsccxt_fetch_withdrawalsccxt_fetch_deposits_withdrawalsccxt_fetch_borrow_interest订单和条件单:
ccxt_fetch_orderccxt_fetch_ordersccxt_fetch_open_ordersccxt_fetch_open_algo_ordersccxt_cancel_algo_orderccxt_cancel_all_algo_ordersccxt_fetch_closed_ordersccxt_fetch_canceled_ordersccxt_fetch_canceled_and_closed_ordersccxt_create_orderccxt_create_ordersccxt_edit_orderccxt_edit_ordersccxt_cancel_orderccxt_cancel_ordersccxt_cancel_all_ordersccxt_cancel_all_orders_afterccxt_cancel_orders_for_symbolsccxt_create_limit_orderccxt_create_market_orderccxt_create_trigger_orderccxt_create_stop_loss_orderccxt_create_take_profit_orderccxt_create_protected_futures_entryccxt_create_order_with_take_profit_and_stop_lossccxt_create_trailing_amount_orderccxt_create_trailing_percent_orderccxt_create_stop_orderccxt_create_stop_limit_orderccxt_create_stop_market_orderccxt_create_post_only_orderccxt_create_reduce_only_orderBinance USDT-M close-position 保护单默认会跳过同合约、同方向、同仓位方向的重复 STOP_MARKET / TAKE_PROFIT_MARKET algo 单。需要替换已有保护单时,在创建请求的 params 里显式传 replaceExistingClosePosition: true;工具会先取消匹配的旧 algo 单, 再提交新的 close-position 保护单,并返回撤单和新单结果。
Binance USDT-M protected entry 应优先使用 ccxt_create_protected_futures_entry。该工具会先提交 close-position 止损和止盈 algo 保护单,再提交入场单;如果任一保护单或入场单创建失败,会撤销已经 接受的保护单并返回失败阶段。对 Binance futures 调用 ccxt_create_order_with_take_profit_and_stop_loss 时,服务端也会自动走同一条保护优先路径,避免直通 CCXT 当前不支持的 createOrderWithTakeProfitAndStopLoss。
Binance USDT-M hedge mode 下,关闭 positionSide=LONG / SHORT 的普通订单不应向交易所提交 reduceOnly 参数。服务端会在普通下单工具里自动移除该参数;ccxt_create_reduce_only_order 在此场景下 会改走 createOrder 并保留 positionSide,避免 Binance 返回 -1106 Parameter 'reduceonly' sent when not required。
合约和账户变更:
ccxt_fetch_funding_rateccxt_fetch_funding_ratesccxt_fetch_funding_rate_historyccxt_fetch_funding_historyccxt_fetch_open_interestccxt_fetch_open_interestsccxt_fetch_open_interest_historyccxt_fetch_binance_derivatives_sentimentccxt_fetch_binance_global_long_short_account_ratioccxt_fetch_binance_top_long_short_account_ratioccxt_fetch_binance_top_long_short_position_ratioccxt_fetch_binance_taker_long_short_ratioccxt_fetch_binance_open_interest_histccxt_fetch_mark_priceccxt_fetch_mark_pricesccxt_fetch_mark_ohlcvccxt_fetch_index_ohlcvccxt_fetch_premium_index_ohlcvccxt_set_leverageccxt_set_margin_modeccxt_set_position_modeccxt_add_marginccxt_reduce_marginccxt_set_marginccxt_transferccxt_withdraw所有 mutating 工具都会经过交易开关。默认返回 dry-run,不会真实请求下单、撤单、改杠杆、划转或提现类操作。
mypcwzamypcwza