CCXT
Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets
Risk limits and an audit log for AI agents trading Hyperliquid, enforced outside the model.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
검사 3/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 14일
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있지만 먼저 준비가 필요해요
Reins 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (REINS_SYMBOLS, REINS_MAX_POSITION_USD, REINS_DAILY_LOSS_USD) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.
REINS_SYMBOLS Markets the agent may trade, comma separated, e.g. BTC,ETH. Every other market is refused.REINS_MAX_POSITION_USD Largest position per market, in USD.REINS_DAILY_LOSS_USD Realised loss in a UTC day after which new risk is refused.설명은 아직 영어 원문입니다.
SettingsDeveloperEdit Config
{
"mcpServers": {
"hyperliquid-reins": {
"command": "npx",
"args": [
"-y",
"@r2rlabs/reins"
],
"env": {
"REINS_SYMBOLS": "your-value",
"REINS_MAX_POSITION_USD": "your-value",
"REINS_DAILY_LOSS_USD": "your-value",
"REINS_PRIVATE_KEY": "your-value"
}
}
}
}키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
Reins을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 Reins을 쓰고 있다고 하거나 답에 Reins 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
REINS_MAX_LEVERAGE Largest total exposure as a multiple of account value. · 기본값 3REINS_MODE paper (live prices, simulated fills, nothing signed) or live. · 기본값 paperREINS_NETWORK Hyperliquid network for prices and, in live mode, orders. Mainnet spends real money. · 기본값 testnetREINS_REQUIRE_STOP_LOSS true to refuse any order that adds risk without a stop-loss. · 기본값 falseREINS_LOG_FILE Decision log, one JSON line per action with the agent's stated reason. In memory if unset.REINS_PAPER_FILE Where the paper account is kept between runs. In memory if unset.REINS_ACCOUNT_ADDRESS Live mode: the Hyperliquid account traded. Approve Reins' 2 bp builder fee from it first: npx @r2rlabs/reins approve-builder설명은 아직 영어 원문입니다.
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 아직 Reins에 연결할 수 없어요
Reins는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요
A · Reins에 연결되는 앱 쓰기
B · 회계, 재무 및 세금에서 ChatGPT에 연결되는 다른 서버
같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요
Claude Code에 연결할 수 있지만 먼저 준비가 필요해요
Reins 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (REINS_SYMBOLS, REINS_MAX_POSITION_USD, REINS_DAILY_LOSS_USD) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.
REINS_SYMBOLS Markets the agent may trade, comma separated, e.g. BTC,ETH. Every other market is refused.REINS_MAX_POSITION_USD Largest position per market, in USD.REINS_DAILY_LOSS_USD Realised loss in a UTC day after which new risk is refused.설명은 아직 영어 원문입니다.
Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기
claude mcp add --scope user hyperliquid-reins --env REINS_SYMBOLS=your-value --env REINS_MAX_POSITION_USD=your-value --env REINS_DAILY_LOSS_USD=your-value --env REINS_PRIVATE_KEY=your-value -- npx -y @r2rlabs/reinsEnter 전에 “your-value”를 내 키로 바꾸세요
키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
Reins이 목록에 있고 연결됨으로 보이면 돼요
Reins을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude Code가 Reins을 쓰고 있다고 하거나 답에 Reins 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
REINS_MAX_LEVERAGE Largest total exposure as a multiple of account value. · 기본값 3REINS_MODE paper (live prices, simulated fills, nothing signed) or live. · 기본값 paperREINS_NETWORK Hyperliquid network for prices and, in live mode, orders. Mainnet spends real money. · 기본값 testnetREINS_REQUIRE_STOP_LOSS true to refuse any order that adds risk without a stop-loss. · 기본값 falseREINS_LOG_FILE Decision log, one JSON line per action with the agent's stated reason. In memory if unset.REINS_PAPER_FILE Where the paper account is kept between runs. In memory if unset.REINS_ACCOUNT_ADDRESS Live mode: the Hyperliquid account traded. Approve Reins' 2 bp builder fee from it first: npx @r2rlabs/reins approve-builder설명은 아직 영어 원문입니다.
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Cursor에 연결할 수 있지만 먼저 준비가 필요해요
Reins 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (REINS_SYMBOLS, REINS_MAX_POSITION_USD, REINS_DAILY_LOSS_USD) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.
REINS_SYMBOLS Markets the agent may trade, comma separated, e.g. BTC,ETH. Every other market is refused.REINS_MAX_POSITION_USD Largest position per market, in USD.REINS_DAILY_LOSS_USD Realised loss in a UTC day after which new risk is refused.설명은 아직 영어 원문입니다.
Reins 설정에서 REINS_PRIVATE_KEY, REINS_SYMBOLS, REINS_MAX_POSITION_USD, REINS_DAILY_LOSS_USD가 비어 있어요. 내 키를 넣고 저장하세요
키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
Reins을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Cursor가 Reins을 쓰고 있다고 하거나 답에 Reins 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
REINS_MAX_LEVERAGE Largest total exposure as a multiple of account value. · 기본값 3REINS_MODE paper (live prices, simulated fills, nothing signed) or live. · 기본값 paperREINS_NETWORK Hyperliquid network for prices and, in live mode, orders. Mainnet spends real money. · 기본값 testnetREINS_REQUIRE_STOP_LOSS true to refuse any order that adds risk without a stop-loss. · 기본값 falseREINS_LOG_FILE Decision log, one JSON line per action with the agent's stated reason. In memory if unset.REINS_PAPER_FILE Where the paper account is kept between runs. In memory if unset.REINS_ACCOUNT_ADDRESS Live mode: the Hyperliquid account traded. Approve Reins' 2 bp builder fee from it first: npx @r2rlabs/reins approve-builder설명은 아직 영어 원문입니다.
메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
VS Code에 연결할 수 있지만 먼저 준비가 필요해요
Reins 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (REINS_SYMBOLS, REINS_MAX_POSITION_USD, REINS_DAILY_LOSS_USD) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.
REINS_SYMBOLS Markets the agent may trade, comma separated, e.g. BTC,ETH. Every other market is refused.REINS_MAX_POSITION_USD Largest position per market, in USD.REINS_DAILY_LOSS_USD Realised loss in a UTC day after which new risk is refused.설명은 아직 영어 원문입니다.
Reins 설정에서 REINS_PRIVATE_KEY, REINS_SYMBOLS, REINS_MAX_POSITION_USD, REINS_DAILY_LOSS_USD가 비어 있어요. 내 키를 넣고 저장하세요
키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
Reins을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ VS Code가 Reins을 쓰고 있다고 하거나 답에 Reins 도구 이름이 나오면 연결된 거예요
위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.
REINS_MAX_LEVERAGE Largest total exposure as a multiple of account value. · 기본값 3REINS_MODE paper (live prices, simulated fills, nothing signed) or live. · 기본값 paperREINS_NETWORK Hyperliquid network for prices and, in live mode, orders. Mainnet spends real money. · 기본값 testnetREINS_REQUIRE_STOP_LOSS true to refuse any order that adds risk without a stop-loss. · 기본값 falseREINS_LOG_FILE Decision log, one JSON line per action with the agent's stated reason. In memory if unset.REINS_PAPER_FILE Where the paper account is kept between runs. In memory if unset.REINS_ACCOUNT_ADDRESS Live mode: the Hyperliquid account traded. Approve Reins' 2 bp builder fee from it first: npx @r2rlabs/reins approve-builder설명은 아직 영어 원문입니다.
메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Claude Code
claude mcp add --scope user hyperliquid-reins --env REINS_SYMBOLS=your-value --env REINS_MAX_POSITION_USD=your-value --env REINS_DAILY_LOSS_USD=your-value --env REINS_PRIVATE_KEY=your-value -- npx -y @r2rlabs/reinsClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"hyperliquid-reins": {
"command": "npx",
"args": [
"-y",
"@r2rlabs/reins"
],
"env": {
"REINS_SYMBOLS": "your-value",
"REINS_MAX_POSITION_USD": "your-value",
"REINS_DAILY_LOSS_USD": "your-value",
"REINS_PRIVATE_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"hyperliquid-reins": {
"command": "npx",
"args": [
"-y",
"@r2rlabs/reins"
],
"env": {
"REINS_SYMBOLS": "your-value",
"REINS_MAX_POSITION_USD": "your-value",
"REINS_DAILY_LOSS_USD": "your-value",
"REINS_PRIVATE_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"hyperliquid-reins": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@r2rlabs/reins"
],
"env": {
"REINS_SYMBOLS": "your-value",
"REINS_MAX_POSITION_USD": "your-value",
"REINS_DAILY_LOSS_USD": "your-value",
"REINS_PRIVATE_KEY": "your-value"
}
}
}
}REINS_SYMBOLS 필수 envREINS_MAX_POSITION_USD 필수 envREINS_DAILY_LOSS_USD 필수 envREINS_MAX_LEVERAGE envREINS_MODE envREINS_NETWORK envREINS_REQUIRE_STOP_LOSS envREINS_LOG_FILE envREINS_PAPER_FILE envREINS_ACCOUNT_ADDRESS envREINS_PRIVATE_KEY 비밀 필수 env설명은 아직 영어 원문입니다.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
npm: @r2rlabs/reins이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 14일 점검
레지스트리 이름이 GitHub 계정 R2Rlabs 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
코드 마지막 변경: 42일 전
MIT 사용
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
아직 리뷰가 없어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: REINS_PRIVATE_KEY
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 42일 전 변경됐고, 최신 버전(0.1.8)은 41일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: CCXT, Finance Toolkit, AKQuant
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Write and backtest trading strategies with AKQuant: API lookup, strategy checks, backtest runs
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Let an AI agent trade without giving it the power to lose everything.
npx @r2rlabs/reins init # adds a paper-trading Reins server to .mcp.json
See it at work: an AI agent trading Hyperliquid on paper, run 2.
The source is on GitHub: R2Rlabs/reins. Every limit in this README is a function you can read.
Several open-source Hyperliquid MCP servers already exist. They are thin API wrappers: you hand them a private key and hope the model behaves. The gap is everything around that — the limits, the sandbox, the audit trail. That is what this repo is.
Early, but real. 391 tests, no network calls in any of them.
| Module | What it does |
|---|---|
src/risk.ts | The risk engine — position cap, risk per trade, leverage cap, daily loss halt, allowlist, rate limit |
src/client.ts | Hyperliquid REST client — orders, cancels, book, candles, fills, account state, builder code |
src/mcp-server.ts | The agent-facing tools, each risk-checked and logged before anything is sent |
src/paper.ts | Paper trading — live prices, simulated fills. See below |
src/paper-store.ts | Persists a paper run across restarts |
src/trading-client.ts | The interface live and paper both satisfy |
src/decision-log.ts | Append-only record of every attempt and its stated reason |
src/decision-log-file.ts | JSON Lines log on disk |
src/bin/cli.ts | The reins command: serve (default), init, approve-builder, live-check, http and stats |
src/bin/serve.ts | stdio entry point |
src/bin/http.ts | reins http — the HTTP server: token, binding, JSON |
src/http-api.ts | The same nine tools as HTTP routes, for bots that do not speak MCP |
src/runtime.ts | The limits, client, log and banner both front doors share |
src/init.ts | reins init — writes a paper-mode server entry into .mcp.json |
src/builder-fee.ts | Reins' builder fee, and the approval live trading needs before it starts |
src/approve-builder.ts | reins approve-builder — the user approves the builder fee in their own wallet |
src/live-check.ts | reins live-check — proves the live exchange accepts what Reins sends |
src/platform-stats.ts | reins stats — accounts, trades, volume and fees through Reins' builder code |
src/lz4.ts | Reads Hyperliquid's LZ4-compressed data files, without a dependency |
src/builder-approval.ts | The ApproveBuilderFee action: EIP-712 typed data, signature checks |
src/format.ts | Price and size formatting to Hyperliquid's tick and lot rules |
src/signing.ts | L1 action signing, verified against the Python SDK's vectors |
src/private-key-signer.ts | A Signer backed by a private key |
src/signer.ts | The Signer interface plus a stub. See "On signing" below |
src/mock-transport.ts | In-memory API stand-in, so agents can be tested without a network |
examples/demo-agent/ | Claude trading on paper through Reins, producing a publishable decision log |
All of it works end to end. Going live is now a matter of funding an account and setting REINS_MODE=live with a key.
REINS_MODE=live
REINS_NETWORK=testnet # mainnet spends real money REINS_ACCOUNT_ADDRESS=0x... # your Hyperliquid account REINS_PRIVATE_KEY=0x... # an API wallet's key, not your account's; omit to stay read-only
On mainnet, approve Reins' 2 bp builder fee once, from the account's own wallet, before the first live session: npx @r2rlabs/reins approve-builder. Until the account has, live mode refuses to start and says so.
Use an API wallet, not your account's own key. Hyperliquid lets an account approve API wallets that can trade for it but cannot withdraw from it — create one on Hyperliquid's API page, signing the approval with your main wallet. Put its key in REINS_PRIVATE_KEY and your account's address in REINS_ACCOUNT_ADDRESS: orders are signed by the API wallet, while positions, fills and stops are read from the account, because under the API wallet's own address the account looks empty. The startup banner names both. Hyperliquid prunes API wallets that expire or are replaced; make a fresh one rather than reusing an old address.
Every account mode works. Hyperliquid starts new accounts in Unified, where the USDC sits in the spot balance and the perps account reads $0; Reins asks the account which mode it is in and, for Unified and Portfolio margin, takes equity from the USDC balance plus the positions' unrealized PnL. Manual accounts are read from perps as before. (A *builder* address is different: it must be in Manual — standard — to earn fees.)
Defaults are deliberately safe: REINS_MODE is paper and REINS_NETWORK is testnet, so trading real funds takes two explicit changes rather than one forgotten variable. Live mode without a key stays read-only instead of failing at the first order, and mainnet prints a loud banner on startup.
The private key is only read in live mode — paper never signs anything, so it is never handed the means to.
npm run build
npm run demo -- --scripted # free: no API key, live prices, paper fills
With an Anthropic API key, npm run demo runs Claude as the agent under a hard spending cap. See examples/demo-agent for cost, limits and how to publish the result honestly.
Every attempted action is appended to a log with the reason the agent gave for it — including the ones the risk limits refused. That is the point. "The agent tried to open six times its position cap at 3am, and here is what it said it was doing" is the most useful thing this system can tell you, and it only exists if refusals are written down.
place_order, close_position and set_stop_loss take a required reason. An optional field gets omitted; a required one gets answered.
Records are JSON Lines — one self-contained object per line, appended, never rewritten. Appends stay cheap as the file grows, a truncated write damages one line instead of the file, and you can query it with ordinary tools:
jq -r 'select(.risk.allowed == false) | [.time, .risk.code, .reason] | @tsv' decisions.jsonl
Each record holds the stated reason, the request, the account context at the time, the risk verdict, and the outcome. Set REINS_LOG_FILE to persist it; without it the log lives in memory and dies with the process.
The exchange also acts on its own: a stop-loss fires, a resting order fills hours after it was placed. Before every tool call Reins compares the account's fills with the log and appends each one it has not seen as an exchange_fill record, whose reason starts "Not an agent decision:" and says whether it was a stop, a resting order, or a fill Reins did not place. Without them the trade that mattered most, the stop that closed it, would be missing from the record. The agent reads them back through get_recent_decisions like anything else.
`reason` is testimony, not ground truth. It is the model's own account of why it acted, captured because reasoning that is not asked for cannot be recovered later. A model can rationalise after the fact, and a confident explanation is not evidence that the explanation is what actually drove the decision. It is extremely useful for debugging and audit. It is not proof.
A failed log write never fails a filled order. If the log cannot be written, the tool still reports success and attaches a warning. An agent told its order failed will place it again — so a lost log line would become a doubled position, which is far worse than the missing line. The risk engine is the safety mechanism; the log is observability.
REINS_MODE=paper (the default) runs the same tools, the same risk engine and the same agent against real prices with simulated fills. Nothing is signed and nothing reaches the exchange.
Paper and live are swapped behind one interface, so an agent cannot tell which one it is talking to — which is the point. A strategy that works on paper runs unchanged on live.
The first five flatter the result; the last two can miss a fill either way. All of them are listed rather than buried: