Quantdinger

v1.0.0Finance & Fintechstable

AI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading

agentalgotradealpacabacktestingbinance
Share:
6,171
Stars
0
Downloads
0
Weekly
0/5

What is Quantdinger?

Quantdinger is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ai quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading

AI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading

This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • AI quantitative trading platform for crypto, stocks, and for

Use Cases

Automate quantitative trading for crypto, stocks, and forex markets.
Backtest strategies and execute live trades with multi-agent research.
brokermr810

Maintainer

LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx quantdinger

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Quantdinger

QuantDinger is a self-hosted, open-source AI quantitative trading platform that connects Claude and other MCP-compatible coding agents to live and paper trading across crypto exchanges (Binance, OKX, Bybit, Coinbase, Kraken, and more), US equities via Alpaca or Interactive Brokers, and forex via MetaTrader 5. It exposes a quantdinger-mcp PyPI package that lets AI assistants read market data, manage watchlists, backtest indicator and event-driven strategies, and execute orders — all with full audit logging and a security model that defaults to paper-only trading. Developers use it to build and iterate on algorithmic strategies through natural language rather than writing boilerplate broker API code.

Prerequisites

  • Docker Desktop with Compose v2 installed (Windows, macOS, or Linux)
  • A rooted environment with ports 8888, 5000, 5432, and 6379 available
  • API keys for the exchange or broker you want to trade on (e.g. Binance, Alpaca, IBKR)
  • Python 3.9+ and pip for installing quantdinger-mcp
  • An MCP-compatible client such as Claude Desktop, Cursor, or Claude Code
1

Install QuantDinger via the one-line installer

Run the install script, which clones the repo to ~/quantdinger and pulls all Docker images. Default credentials are quantdinger / 123456; change them immediately after first login.

curl -fsSL https://raw.githubusercontent.com/brokermr810/QuantDinger/main/install.sh | bash
2

Configure environment variables

Copy the example env file to .env and open it. You must change SECRET_KEY (the service refuses to start if it matches the example value). Add your exchange API keys and broker credentials as needed.

cd ~/quantdinger/backend_api_python
cp env.example .env
./scripts/generate-secret-key.sh   # outputs a new SECRET_KEY value to paste into .env
3

Start the platform

Launch all services with Docker Compose. The web UI will be available at http://localhost:8888 within about 60 seconds.

cd ~/quantdinger
docker compose up -d
4

Install the MCP package

Install quantdinger-mcp from PyPI into your local Python environment. This package registers the MCP server that your AI client will connect to.

pip install quantdinger-mcp
5

Generate an agent token

Log in to the web UI at http://localhost:8888, navigate to Settings > Agent Tokens, and create a new token. By default, tokens are restricted to paper trading. To enable live execution you must also set AGENT_LIVE_TRADING_ENABLED=true in your .env.

6

Add to your MCP client configuration

Add the QuantDinger MCP server to your Claude Desktop or Cursor config. Replace the placeholder values with your actual local URL and agent token.

{
  "mcpServers": {
    "quantdinger": {
      "command": "python",
      "args": ["-m", "quantdinger_mcp"],
      "env": {
        "QUANTDINGER_URL": "http://localhost:8888",
        "QUANTDINGER_AGENT_TOKEN": "your-agent-token-here"
      }
    }
  }
}

Quantdinger Examples

Client configuration

Add QuantDinger to Claude Desktop's config file at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).

{
  "mcpServers": {
    "quantdinger": {
      "command": "python",
      "args": ["-m", "quantdinger_mcp"],
      "env": {
        "QUANTDINGER_URL": "http://localhost:8888",
        "QUANTDINGER_AGENT_TOKEN": "your-agent-token-here"
      }
    }
  }
}

Prompts to try

After connecting, use these prompts in Claude to interact with QuantDinger's trading capabilities.

- "Show me the current price and 24h volume for BTC/USDT on Binance."
- "Backtest a simple moving average crossover strategy on ETH/USDT using 1h candles for the last 90 days."
- "Create a watchlist called 'Momentum Picks' and add SOL, AVAX, and ARB to it."
- "Place a paper trade to buy 0.1 BTC at market price on Binance."
- "Show me all my open positions and their unrealized PnL."

Troubleshooting Quantdinger

Service fails to start with 'SECRET_KEY must be changed' error

Run ./scripts/generate-secret-key.sh in the backend_api_python directory, copy the output into your .env file as SECRET_KEY, then restart with docker compose up -d.

Port conflicts prevent Docker containers from starting

Check that ports 8888, 5000, 5432, and 6379 are not in use by other services. Edit the docker-compose.yml port mappings to use alternative host ports if needed.

Agent token is rejected when connecting via MCP

Ensure the token is copied exactly from Settings > Agent Tokens in the web UI. Tokens are per-user; confirm you are authenticated as the correct user. Restart the MCP server process after updating the token in your config.

Frequently Asked Questions about Quantdinger

What is Quantdinger?

Quantdinger is a Model Context Protocol (MCP) server that ai quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Quantdinger?

Follow the installation instructions on the Quantdinger GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Quantdinger?

Quantdinger works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Quantdinger free to use?

Yes, Quantdinger is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Finance & Fintech MCP Servers

Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "quantdinger": { "command": "npx", "args": ["-y", "quantdinger"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Quantdinger?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides