mcp server for Gemini CLI
io.github.top5stocksapi/mcp-server
Daily AI-ranked stock, crypto, and macro research data from the Top 5 Stocks API.
client:Gemini CLI
transport:stdio
runtime:npm
Install mcp server in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"top5stocks-mcp-server"
],
"env": {
"TOP5STOCKS_API_KEY": "<TOP5STOCKS_API_KEY>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs