stock-scanner-mcp — Claude Code MCP server: data, install
This MCP server gives an agent stock and crypto data for quotes, technical analysis, options, and SEC filings. Use it for market scans and briefings.
claude mcp add stock-scanner-mcp -e FINNHUB_API_KEY=<FINNHUB_API_KEY> -e ALPHA_VANTAGE_API_KEY=<ALPHA_VANTAGE_API_KEY> -e FRED_API_KEY=<FRED_API_KEY> -- npx -y stock-scanner-mcpWhat stock-scanner-mcp does
stock-scanner-mcp connects an agent to tools for stock and crypto research. It can screen equities by filters, return RSI, MACD, Bollinger Bands, and moving averages, inspect options chains, parse insider activity, follow earnings and news, and retrieve macroeconomic and forex data. The server exposes 49 tools without API keys; keys for Finnhub, Alpha Vantage, and FRED add 20 more.
It runs through npx. In Claude Code, add it with the command below and pass the three environment variables. A stateful workspace can be enabled with --enable-workspace; it stores a trader profile, watchlists, and thesis notes in ~/.stock-scanner-mcp. Without the API keys, modules that depend on those market-data services will not provide their data, so quotes, news, earnings, and economic indicators require the relevant keys.
What it helps with
- screen stocks by price, RSI, volume, and market cap
- compare technical signals across tickers
- inspect options chains and unusual activity
- track insider transactions and earnings dates
- build a personalized morning brief from a watchlist
Example prompts for the agent
- Show technicals for
AAPLon the hourly timeframe and point out the key levels. - Compare
TSLAandNVDAusing price action, volume, and technical indicators. - Create a morning market brief from my saved watchlist, including crypto data.
How to install stock-scanner-mcp
Platform CLI
claude mcp add stock-scanner-mcp -e FINNHUB_API_KEY=<FINNHUB_API_KEY> -e ALPHA_VANTAGE_API_KEY=<ALPHA_VANTAGE_API_KEY> -e FRED_API_KEY=<FRED_API_KEY> -- npx -y stock-scanner-mcpReplace <…> with your own values
Platform CLI
codex mcp add stock-scanner-mcp --env FINNHUB_API_KEY=<FINNHUB_API_KEY> --env ALPHA_VANTAGE_API_KEY=<ALPHA_VANTAGE_API_KEY> --env FRED_API_KEY=<FRED_API_KEY> -- npx -y stock-scanner-mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"stock-scanner-mcp": {
"command": "npx",
"args": [
"-y",
"stock-scanner-mcp"
],
"env": {
"FINNHUB_API_KEY": "<FINNHUB_API_KEY>",
"ALPHA_VANTAGE_API_KEY": "<ALPHA_VANTAGE_API_KEY>",
"FRED_API_KEY": "<FRED_API_KEY>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"stock-scanner-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stock-scanner-mcp"
],
"env": {
"FINNHUB_API_KEY": "<FINNHUB_API_KEY>",
"ALPHA_VANTAGE_API_KEY": "<ALPHA_VANTAGE_API_KEY>",
"FRED_API_KEY": "<FRED_API_KEY>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e FINNHUB_API_KEY=<FINNHUB_API_KEY> -e ALPHA_VANTAGE_API_KEY=<ALPHA_VANTAGE_API_KEY> -e FRED_API_KEY=<FRED_API_KEY> stock-scanner-mcp npx -y stock-scanner-mcpReplace <…> with your own values
Step 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 stock-scanner-mcp
How do I install stock-scanner-mcp in Claude Code?
Run `claude mcp add stock-scanner-mcp -e FINNHUB_API_KEY=<FINNHUB_API_KEY> -e ALPHA_VANTAGE_API_KEY=<ALPHA_VANTAGE_API_KEY> -e FRED_API_KEY=<FRED_API_KEY> -- npx -y stock-scanner-mcp`.
What does stock-scanner-mcp do?
It provides tools for stock screening, crypto analysis, technical indicators, options, insider transactions, earnings, news, and macroeconomic data.
Which API keys does stock-scanner-mcp use?
The server works with 49 tools without keys. FINNHUB_API_KEY, ALPHA_VANTAGE_API_KEY, and FRED_API_KEY add 20 tools for quotes, news, earnings, and economic data.