finnhub-mcp-server
Verified Safeby frankxiao008
Overview
A Model Context Protocol (MCP) server that provides LLMs with access to Finnhub's financial data API for real-time stock quotes, company profiles, news, and financial metrics.
Installation
node dist/index.jsEnvironment Variables
- FINNHUB_API_KEY
- TRANSPORT
- PORT
Security Notes
The server explicitly requires a Finnhub API key via environment variables and validates its presence. It uses Zod for input schema validation, which helps prevent malformed inputs. API requests are made using standard `fetch` to a known legitimate endpoint (`finnhub.io`), and includes robust error handling for API-specific issues like rate limits (429), invalid API key (401), and forbidden access (403). No 'eval' or other dynamic code execution from untrusted input is observed. Response content is formatted using internal utilities, and long outputs are truncated to prevent excessive token usage, also reducing potential for large data injection issues.
Similar Servers
mcp-aktools
This MCP server provides real-time and historical financial data for stocks and cryptocurrencies, offering search, detailed information retrieval, market overviews, news, and analysis capabilities.
finance-trading-ai-agents-mcp
A specialized MCP server for financial analysis and quantitative trading, designed to deploy local financial MCP services with a departmental architecture for LLM integration and algorithmic trading.
yfinance-mcp
Fetches real-time and historical stock data, news, and financial charts from Yahoo Finance.
alpha_vantage_mcp
Enables LLMs and agentic workflows to seamlessly interact with real-time and historical stock market data through the Model Context Protocol (MCP).