Containerization support for deployment and distribution of the MCP server
Testing framework used for validating the MCP server functionality
Runtime environment and primary programming language for the MCP server implementation
MCP Finnhub Server
A comprehensive financial market data and news service powered by the Finnhub API. This MCP server provides real-time stock quotes, company profiles, financial metrics, analyst recommendations, and market news.
Features
- get_market_news: Get latest market news by category (general, forex, crypto, merger)
- get_stock_quote: Get real-time stock quotes with pricing and trading data
- get_company_profile: Get detailed company information and profiles
- get_basic_financials: Get key financial metrics and ratios
- get_recommendation_trends: Get analyst recommendation trends and ratings
MCP Protocol Endpoints
GET /health
- Health check endpointPOST /mcp
- Main MCP protocol endpoint for all tool interactions- Available tools accessible via MCP protocol:
get_market_news
- Get latest market news by categoryget_stock_quote
- Get real-time stock quotesget_company_profile
- Get detailed company informationget_basic_financials
- Get key financial metrics and ratiosget_recommendation_trends
- Get analyst recommendation trends
Configuration
Required Environment Variables
FINNHUB_API_KEY
- Your Finnhub API key (get one free at finnhub.io)
Optional Environment Variables
PORT
- Server port (default: 8000)HOST
- Server host (default: 0.0.0.0)
Development
Requirements
- Python 3.13+
- FastMCP 2.11.2+
- uv (for dependency management)
- Finnhub API key
Setup
The server will start on http://localhost:8000
using the streamable-http transport. All tool interactions must go through the MCP protocol endpoint at /mcp
.
Docker Build & Push
Use the provided Makefile for common tasks:
Manual Docker commands:
Usage Examples
All tool interactions must use the MCP protocol. Here are examples of proper MCP requests:
Initialize MCP Session
First, establish an MCP session to initialize the connection:
List Available Tools
Get Market News
Get Stock Quote
Get Company Profile
Note: Session management is required. You must initialize the MCP session before making tool calls. Each request should use unique id
values to track responses properly.
Finnhub API
This server uses the Finnhub API to provide financial data. You'll need a free API key to use this service.
Free Tier Limits
- 60 API calls/minute
- Basic stock data, news, and company information
- Real-time US stock prices
Premium Features
- Higher rate limits
- More historical data
- Advanced financial metrics
- Global market coverage
About
Part of the NimbleTools ecosystem. From the makers of NimbleBrain.
License
MIT License - see LICENSE for details.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Provides comprehensive financial market data and news through the Finnhub API. Enables real-time stock quotes, company profiles, financial metrics, analyst recommendations, and market news access.
Related MCP Servers
- -securityFlicense-qualityThis server provides an interface with the Finnhub API, enabling users to obtain the latest market news, stock market data, basic financials, and recommendation trends for specific stocks.Last updated -Python
- -securityAlicense-qualityProvides real-time weather alerts, forecasts, stock prices, historical data, and stock-related news through an MCP interface.Last updated -372TypeScriptMIT License
- -securityFlicense-qualityA FastMCP-based service that provides stock data including historical prices, fundamental information, and financial news.Last updated -6Python
Twelve Data MCP Serverofficial
AsecurityAlicenseAqualityProvides integration with Twelve Data API to access financial market data including historical time series, real-time quotes, and instrument metadata for stocks, forex pairs, and cryptocurrencies.Last updated -3525PythonMIT License