Quantdinger
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
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
Maintainer
Works with
Installation
Manual Installation
npx quantdingerConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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 | bashConfigure 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 .envStart 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 -dInstall 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-mcpGenerate 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.
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.
Quantdinger Alternatives — Similar Finance & Fintech Servers
Looking for alternatives to Quantdinger? Here are other popular finance & fintech servers you can use with Claude, Cursor, and VS Code.
ValueCell
★ 10.7kValueCell is a community-driven, multi-agent platform for financial applications.
Vibe Trading
★ 8.1k'Vibe-Trading: Your Personal Trading Agent'
TradingView
★ 2.8kReal-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick patterns + native Claude Desktop integration. Multi-exchange (Binance, KuCoin, Bybit+). Open-source AI trading infrastructure.
Financial Datasets
★ 2.1kProvides access to comprehensive financial data including income statements, balance sheets, cash flow statements, stock prices, company news, SEC filings, and cryptocurrency information with built-in financial ratio analysis.
Stripe
★ 1.6kThe Stripe Model Context Protocol server allows you to integrate with Stripe APIs through function calling. This protocol supports various tools to interact with different Stripe services.
Open Trading API
★ 1.4kKorea Investment & Securities Open API Github
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.
Set Up Quantdinger in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.