finnhub mcp server for VS Code
io.github.cyanheads/finnhub-mcp-server
Real-time US-equity quotes, company fundamentals, earnings, analyst trends, and news via Finnhub.
client:VS Code
transport:stdio
runtime:npm
Install finnhub mcp server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "finnhub-api-key",
"description": "FINNHUB_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "finnhub-base-url",
"description": "FINNHUB_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "mcp-log-level",
"description": "MCP_LOG_LEVEL",
"password": true
}
],
"servers": {
"finnhub-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/finnhub-mcp-server"
],
"env": {
"FINNHUB_API_KEY": "${input:finnhub-api-key}",
"FINNHUB_BASE_URL": "${input:finnhub-base-url}",
"MCP_LOG_LEVEL": "${input:mcp-log-level}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs