MCPHub LabRegistryNoFxAiOS/nofx
NoFxAiOS

NoFxAiOS/nofx

Built by NoFxAiOS β€’ 11,224 stars

What is NoFxAiOS/nofx?

Your personal AI trading assistant. Any market. Any model. Pay with USDC, not API keys.

How to use NoFxAiOS/nofx?

1. Install a compatible MCP client (like Claude Desktop). 2. Open your configuration settings. 3. Add NoFxAiOS/nofx using the following command: npx @modelcontextprotocol/nofxaios-nofx 4. Restart the client and verify the new tools are active.
πŸ›‘οΈ Scoped (Restricted)
npx @modelcontextprotocol/nofxaios-nofx --scope restricted
πŸ”“ Unrestricted Access
npx @modelcontextprotocol/nofxaios-nofx

Key Features

Native MCP Protocol Support
Real-time Tool Activation & Execution
Verified High-performance Implementation
Secure Resource & Context Handling

Optimized Use Cases

Extending AI models with custom local capabilities
Automating system workflows via natural language
Connecting external data sources to LLM context windows

NoFxAiOS/nofx FAQ

Q

Is NoFxAiOS/nofx safe?

Yes, NoFxAiOS/nofx follows the standardized Model Context Protocol security patterns and only executes tools with explicit user-granted permissions.

Q

Is NoFxAiOS/nofx up to date?

NoFxAiOS/nofx is currently active in the registry with 11,224 stars on GitHub, indicating its reliability and community support.

Q

Are there any limits for NoFxAiOS/nofx?

Usage limits depend on the specific implementation of the MCP server and your system resources. Refer to the official documentation below for technical details.

Official Documentation

View on GitHub
<p align="center"><strong>Backed by <a href="https://vergex.trade">vergex.trade</a></strong></p> <p align="center"> <img src="docs/assets/nofx-banner.svg" alt="NOFX β€” AI trading terminal" width="100%"/> </p> <p align="center"> <a href="https://github.com/NoFxAiOS/nofx/stargazers"><img src="https://img.shields.io/github/stars/NoFxAiOS/nofx?style=flat-square&labelColor=1A1813&color=E0483B" alt="Stars"></a> <a href="https://github.com/NoFxAiOS/nofx/releases"><img src="https://img.shields.io/github/v/release/NoFxAiOS/nofx?style=flat-square&labelColor=1A1813&color=E0483B" alt="Release"></a> <a href="https://github.com/NoFxAiOS/nofx/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-AGPL--3.0-E0483B?style=flat-square&labelColor=1A1813" alt="License"></a> <a href="https://t.me/nofx_dev_community"><img src="https://img.shields.io/badge/telegram-community-E0483B?style=flat-square&labelColor=1A1813&logo=telegram&logoColor=white" alt="Telegram"></a> </p> <p align="center"> <a href="README.md">English</a> Β· <a href="docs/i18n/zh-CN/README.md">δΈ­ζ–‡</a> Β· <a href="docs/i18n/ja/README.md">ζ—₯本θͺž</a> Β· <a href="docs/i18n/ko/README.md">ν•œκ΅­μ–΄</a> Β· <a href="docs/i18n/ru/README.md">Русский</a> Β· <a href="docs/i18n/uk/README.md">Π£ΠΊΡ€Π°Ρ—Π½ΡΡŒΠΊΠ°</a> Β· <a href="docs/i18n/vi/README.md">TiαΊΏng Việt</a> </p> <br/>

NOFX is an open-source trading terminal where the strategy is a language model. Each trader runs a continuous loop β€” read market structure, decide, execute, record the reasoning β€” while a Go runtime clamps every order to hard risk limits the model cannot override.

Traders compose freely: any model, any of nine exchanges, any strategy. Run several side by side and compare them on a public leaderboard by realized return. Everything runs on your own machine; exchange credentials are encrypted at rest and never leave it.

curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash

The terminal opens at http://127.0.0.1:3000.

First run

  1. Register β€” the first account becomes the owner of the instance.
  2. Follow the guided launch: put $1+ USDC (Base network) in the AI fee wallet it creates for you, then connect Hyperliquid and deposit $12+ USDC to trade with.
  3. Start Autopilot. The AI scans the market every few minutes and trades on its own; every decision appears on the dashboard as it happens. Stop it anytime with one click.
<br/>

Register exchanges

NOFX is free and open source. Opening an account through the partner links below carries reduced trading fees and funds continued development.

ExchangeStatusRegister with fee discount
<img src="web/public/exchange-icons/binance.jpg" width="20" height="20" style="vertical-align: middle;"/> Binanceβœ…Register
<img src="web/public/exchange-icons/bybit.png" width="20" height="20" style="vertical-align: middle;"/> Bybitβœ…Register
<img src="web/public/exchange-icons/okx.svg" width="20" height="20" style="vertical-align: middle;"/> OKXβœ…Register
<img src="web/public/exchange-icons/hyperliquid.png" width="20" height="20" style="vertical-align: middle;"/> Hyperliquidβœ…Register
<img src="web/public/exchange-icons/bitget.svg" width="20" height="20" style="vertical-align: middle;"/> Bitgetβœ…Register
<img src="web/public/exchange-icons/kucoin.svg" width="20" height="20" style="vertical-align: middle;"/> KuCoinβœ…Register
<img src="web/public/exchange-icons/gate.svg" width="20" height="20" style="vertical-align: middle;"/> Gateβœ…Register
<img src="web/public/exchange-icons/aster.svg" width="20" height="20" style="vertical-align: middle;"/> Asterβœ…Register
<img src="web/public/exchange-icons/lighter.png" width="20" height="20" style="vertical-align: middle;"/> Lighterβœ…Register
<br/>

Demo

https://github.com/user-attachments/assets/3310f495-14c5-4586-a1cc-3d32e44aa505

<br/>

The model proposes. The runtime disposes.

Decisions come from a language model reading the Claw402.ai Β· Vergex data stack: a live signal board that ranks every market with directional bias and signal strength, per-symbol Signal Lab deep signals, cost-basis and liquidation heatmaps that show where the crowd's fuel and walls sit, and real-time market net flow β€” cross-checked against raw candles and the trader's own live track record. Execution does not.

Every order passes through limits enforced in code, outside the model's reach:

Position limitsMax concurrent positions, notional capped as a ratio of equity, one position per symbol
Leverage clampsHard caps applied at order-sizing time, independent of what the model requests
Exchange-side protectionStop-loss and take-profit placed on the exchange immediately after every entry
Drawdown auto-closeProfitable positions that give back too much from their peak are closed
Trade throttlingMinimum hold times, per-symbol re-entry cooldowns, per-cycle and per-hour entry limits
Safe modeRepeated model failures block new entries until the model recovers
Launch preflightModel access, wallet funds, strategy, and exchange balances verified before a trader may start

Each decision is stored with the model's full reasoning. There is no position without a paper trail.

<br/>

Terminal

AutopilotGuided launch: fund, connect, deposit, start β€” with server-side preflight throughout
Strategy StudioStyle presets, coin universes, indicators, leverage, entry confidence, custom prompts
CompetitionPublic leaderboard ranked by realized return, each entry attributed to its model
DashboardLive positions, orders, statistics, and the reasoning behind every decision
<details> <summary>Screenshots</summary> <br/>
OverviewMarket Chart
<img src="screenshots/dashboard-page.png" width="400"/><img src="screenshots/dashboard-market-chart.png" width="400"/>
Trading StatsPosition History
<img src="screenshots/dashboard-trading-stats.png" width="400"/><img src="screenshots/dashboard-position-history.png" width="400"/>
Strategy EditorIndicators Config
<img src="screenshots/strategy-studio.png" width="400"/><img src="screenshots/strategy-indicators.png" width="400"/>
CompetitionConfiguration
<img src="screenshots/competition-page.png" width="400"/><img src="screenshots/config-ai-exchanges.png" width="400"/>
</details> <br/>

Models

Eight providers with your own keys β€” DeepSeek, OpenAI, Claude, Qwen, Gemini, Grok, Kimi, MiniMax β€” including custom endpoints and model names.

Or no keys at all: Claw402 meters model usage per call in USDC over the x402 protocol. A wallet on Base replaces every API key.

ProviderAccess
Claw402Pay-as-you-go AI models with official discount

Markets

Crypto perpetuals on all nine exchanges. On Hyperliquid, the same runtime also trades tokenized US equities, commodities, indices, FX, and pre-IPO perps β€” TSLA, NVDA, GOLD, SPX, EUR, OPENAI β€” alongside crypto.

<br/>

Architecture

    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚                 Trading Terminal                 β”‚
    β”‚        React Β· TypeScript Β· TradingView          β”‚
    β”‚   Dashboard Β· Strategy Studio Β· Competition      β”‚
    β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
    β”‚                  API Server (Go)                  β”‚
    β”‚      JWT auth Β· encrypted credential store        β”‚
    β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
    β”‚   Strategy    β”‚  Autopilot   β”‚   Trader Runtime  β”‚
    β”‚    Engine     β”‚  Preflight   β”‚    Risk Engine    β”‚
    β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
    β”‚                 AI Model Layer                    β”‚
    β”‚  DeepSeek Β· OpenAI Β· Claude Β· Qwen Β· Gemini      β”‚
    β”‚  Grok Β· Kimi Β· MiniMax Β· Claw402 (x402 USDC)     β”‚
    β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
    β”‚              Exchange Connectivity                β”‚
    β”‚ Binance Β· Bybit Β· OKX Β· Hyperliquid Β· Bitget     β”‚
    β”‚ KuCoin Β· Gate Β· Aster Β· Lighter                  β”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
<br/>

Install

Linux / macOS

curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash

Railway

Deploy on Railway

Docker

curl -O https://raw.githubusercontent.com/NoFxAiOS/nofx/main/docker-compose.prod.yml
docker compose -f docker-compose.prod.yml up -d

Windows β€” install Docker Desktop, then:

curl -o docker-compose.prod.yml https://raw.githubusercontent.com/NoFxAiOS/nofx/main/docker-compose.prod.yml
docker compose -f docker-compose.prod.yml up -d

From source β€” Go 1.21+, Node.js 18+:

git clone https://github.com/NoFxAiOS/nofx.git && cd nofx
go build -o nofx && ./nofx            # backend
cd web && npm install && npm run dev  # frontend, in a second terminal

Update β€” re-run the install script; it upgrades in place.

<details> <summary>Server deployment</summary> <br/>

HTTP

curl -fsSL https://raw.githubusercontent.com/NoFxAiOS/nofx/main/install.sh | bash
# http://YOUR_IP:3000

HTTPS via Cloudflare

  1. Add the domain to Cloudflare (free plan)
  2. A record β†’ server IP, proxied
  3. SSL/TLS β†’ Flexible
  4. TRANSPORT_ENCRYPTION=true in .env
</details> <br/>

Documentation

Getting StartedDeployment and exchange API guides
ArchitectureSystem design and module index
Strategy ModuleCoin selection, AI prompts, execution
FAQCommon questions
TroubleshootingDiagnosing common issues

Community

Telegram Β· Twitter/X Β· Issues Β· vergex.trade Β· Live dashboard

Contributing

Code, documentation, translations, and bug reports are all welcome β€” see the Contributing Guide, Code of Conduct, and Security Policy.

NOFX tracks meaningful contributions and intends to reward contributors as the ecosystem grows. Priority issues carry higher weight.

ContributionWeight
Pinned Issue PRsβ˜…β˜…β˜…β˜…β˜…β˜…
Code (Merged PRs)β˜…β˜…β˜…β˜…β˜…
Bug Fixesβ˜…β˜…β˜…β˜…
Feature Ideasβ˜…β˜…β˜…
Bug Reportsβ˜…β˜…
Documentationβ˜…β˜…
<a href="https://github.com/NoFxAiOS/nofx/graphs/contributors"> <img src="https://contrib.rocks/image?repo=NoFxAiOS/nofx" alt="Contributors"/> </a>

Sponsors

<a href="https://github.com/pjl914335852-ux"><img src="https://github.com/pjl914335852-ux.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/cat9999aaa"><img src="https://github.com/cat9999aaa.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/1733055465"><img src="https://github.com/1733055465.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/kolal2020"><img src="https://github.com/kolal2020.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/CyberFFarm"><img src="https://github.com/CyberFFarm.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/vip3001003"><img src="https://github.com/vip3001003.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/mrtluh"><img src="https://github.com/mrtluh.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/cpcp1117-source"><img src="https://github.com/cpcp1117-source.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/match-007"><img src="https://github.com/match-007.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/leiwuhen1715"><img src="https://github.com/leiwuhen1715.png" width="50" height="50" style="border-radius:50%"/></a> <a href="https://github.com/SHAOXIA1991"><img src="https://github.com/SHAOXIA1991.png" width="50" height="50" style="border-radius:50%"/></a>

Become a sponsor

<br/>

If NOFX is useful to you, a star helps other traders find it.

Star History Chart

License

AGPL-3.0

<sub>Automated trading involves substantial risk. AI-driven strategies are experimental and can lose money. Size positions appropriately, understand each venue, and never trade funds you cannot afford to lose. Full disclaimer.</sub>

Global Ranking

8.5
Trust ScoreMCPHub Index

Based on codebase health & activity.

Manual Config

{ "mcpServers": { "nofxaios-nofx": { "command": "npx", "args": ["nofxaios-nofx"] } } }