QuantGPT — Claude Code MCP server: features and setup
Connect an AI coding client to US market data, stock analysis and strategy backtests. Use it to examine trading ideas or review a portfolio.
claude mcp add --transport http mcp https://terminal.quantgpt.co/mcpWhat QuantGPT does
QuantGPT gives an AI access to prices, returns, fundamentals and macroeconomic data. Its tools can grade US stocks across six dimensions, examine a portfolio and backtest strategies against historical data and a benchmark. The repository is a public listing for the hosted MCP server, not its server code.
The connection uses HTTP at https://terminal.quantgpt.co/mcp. Claude Code and other clients that authenticate with a key need a QuantGPT account key. Without that key, those clients cannot authenticate. MCP tools do not place orders; running a user strategy on QuantGPT Cloud is a separate QuantGPT Pro feature.
What it helps with
- backtest a trading idea against historical data
- compare US stocks using market-wide grades
- retrieve prices and company fundamentals
- review portfolio holdings and implied trades
Example prompts for the agent
- Test this trading idea against historical data and compare it with a benchmark.
- Grade
AAPLandMSFT, then explain the main drivers behind each result. - Review my portfolio and produce the trades implied by these criteria.
How to install QuantGPT
Platform CLI: remote server
claude mcp add --transport http mcp https://terminal.quantgpt.co/mcpPlatform CLI: remote server
codex mcp add quantgpt --url https://terminal.quantgpt.co/mcpConfig file
{
"mcpServers": {
"quantgpt": {
"url": "https://terminal.quantgpt.co/mcp"
}
}
}Config file
{
"servers": {
"quantgpt": {
"type": "http",
"url": "https://terminal.quantgpt.co/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http quantgpt https://terminal.quantgpt.co/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about QuantGPT
How do I install QuantGPT in Codex?
Add the server with codex mcp add quantgpt --url https://terminal.quantgpt.co/mcp. Client access requires a QuantGPT key.
What does QuantGPT do?
It connects an AI client to market data and analysis tools for stock grading, portfolio review and strategy backtests.
Does Claude Code need a QuantGPT key?
Yes. The README says Claude Code connects with a QuantGPT key, which you create from your QuantGPT account.