Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

mcp-finnhub

MCP.Pizza Chef: catherinedparnell

The mcp-finnhub server is an MCP server designed to interface seamlessly with the Finnhub API, providing real-time access to comprehensive stock market data, latest market news, company financials, and recommendation trends. It exposes multiple tools such as listing market news, fetching market data for specific stocks, retrieving basic financials, and obtaining recommendation trends. This server enables developers to integrate rich financial data into AI workflows, enhancing decision-making and analysis within MCP-enabled applications. Configuration requires setting up API credentials and installing dependencies, making it a robust solution for financial data integration.

Use This MCP server To

Fetch real-time stock market quotes for analysis Retrieve latest market news for financial insights Access company basic financials for investment research Get stock recommendation trends for decision support

README

Finnhub MCP Server

An MCP server to interface with Finnhub API.

Tools

Configuration

  1. Run uv sync to install the dependencies. To install uv follow the instructions here. Then do source .venv/bin/activate.

  2. Setup the .env file with the Finnhub API Key credentials.

FINNUB_API_KEY=<FINNHUB_API_KEY>
  1. Run fastmcp install server.py to install the server.

  2. Open the configuration file located at:

    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • On Windows: %APPDATA%/Claude/claude_desktop_config.json
  3. Locate the command entry for uv and replace it with the absolute path to the uv executable. This ensures that the correct version of uv is used when starting the server.

  4. Restart Claude Desktop to apply the changes.

Development

Run fastmcp dev server.py to start the MCP server. MCP inspector is helpful for investigating and debugging locally.

mcp-finnhub FAQ

How do I configure the mcp-finnhub server?
Set your Finnhub API key in the .env file as FINNUB_API_KEY and install dependencies using uv sync, then activate the virtual environment.
What tools does the mcp-finnhub server provide?
It offers tools to list market news, get market data, retrieve basic financials, and fetch recommendation trends for stocks.
How do I install the mcp-finnhub server?
After setting up dependencies and environment variables, run fastmcp install server.py to install the server.
Can I use mcp-finnhub with multiple LLM providers?
Yes, it is compatible with models from OpenAI, Anthropic Claude, and Google Gemini via MCP clients.
Is real-time data available through mcp-finnhub?
Yes, it provides real-time market quotes and news directly from the Finnhub API.
What programming environment is required?
The server requires Python with dependencies installed via uv and a virtual environment activated.
How secure is the API key management?
API keys are managed via environment variables in the .env file, keeping credentials secure and separate from code.
Can I extend mcp-finnhub with additional Finnhub endpoints?
Yes, the server can be extended by adding new MCP tools mapping to other Finnhub API endpoints.