# finnhub-mcp-server [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/cyanheads/finnhub-mcp-server  
**GitHub Stars:** 1  
**npm Downloads (last month):** 1301  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/finnhub-mcp-server

## Description
Real-time US-equity quotes, company fundamentals, earnings, analyst trends, and news via Finnhub.

## Tools
Capabilities this server exposes over MCP:

- **finnhub_search_symbols** — Resolve a company name or ticker, optionally within one exchange. Exact ticker matches rank first.
- **finnhub_get_quote** — Real-time price quote for one US symbol, paired with live market-status so the response states whether the price is live or the prior close, including the returned session and named holiday.
- **finnhub_get_company** — Get a company profile, headline fundamentals, and peers grouped by sub-industry, industry, or sector.
- **finnhub_get_earnings** — Get quarterly EPS surprises or a calendar of releases with EPS and revenue estimates and reported actuals where available.
- **finnhub_get_news** — Financial news in two modes: recent articles for one symbol over a date range (`company`), or broad market headlines by category (`market`).
- **finnhub_get_recommendations** — Analyst recommendation trends for one US symbol — strong-buy / buy / hold / sell / strong-sell counts per month, newest first.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "finnhub-mcp-server": {
    "command": "npx",
    "args": ["-y","@cyanheads/finnhub-mcp-server"],
    "env": {
      "FINNHUB_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `FINNHUB_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What finnhub-mcp-server does

finnhub-mcp-server exposes selected Finnhub market-data operations through MCP. Its coverage centers on US equities: symbol lookup, quote data, company profiles and metrics, earnings, financial news, and analyst recommendation history.

The intended workflow starts with `finnhub_search_symbols`. It accepts a company name or partial ticker and prioritizes likely US common-stock matches. The returned symbol can then be passed to quote, company, earnings-history, news, and recommendation tools.

Quote responses include price movement, session values, the previous close, and an ISO 8601 timestamp. Market-status information indicates whether the returned price is live or represents the prior close. Company results combine profile information, selected fundamentals, and sector peers. Fundamental fields remain nullable when Finnhub has no value.

## How it works

The server uses a single Finnhub client with the API token supplied through server configuration rather than as a tool argument. It supports stdio and Streamable HTTP transports, allowing it to run as a local process or as an HTTP-accessible MCP endpoint.

Earnings and news each provide two operating modes. Earnings history returns prior quarters with actual EPS, estimates, and surprises; the calendar mode returns upcoming releases for a date range, optionally filtered by symbol. News can retrieve articles for a company over a date range or broader market headlines by category. Valid market categories are `general`, `forex`, `crypto`, and `merger`.

The server retries rate-limit and server-side failures and translates selected Finnhub responses into domain errors. Company data is gathered from profile, metrics, and peer requests in parallel, while partial results are retained when one of those requests fails.

## Setup and configuration

Provide a Finnhub API key in the `FINNHUB_API_KEY` environment variable. The package can be launched through `npx`:

```bash
npx -y @cyanheads/finnhub-mcp-server
```

It can also be installed through the supplied Claude Desktop, Cursor, or VS Code installation options. Docker packaging is available as well. Transport and broader server behavior are provided through the underlying MCP framework, including stdio and Streamable HTTP support.

## Tools and capabilities

- `finnhub_search_symbols`: searches company names and ticker fragments, with likely-US matches first.
- `finnhub_get_quote`: returns quote values and market status for one US symbol.
- `finnhub_get_company`: combines profile data, headline metrics, and sector peers.
- `finnhub_get_earnings`: retrieves historical surprises or upcoming earnings releases.
- `finnhub_get_news`: returns company articles or market headlines.
- `finnhub_get_recommendations`: reports monthly strong-buy, buy, hold, sell, and strong-sell counts.

The `finnhub://news-categories` resource describes the four market-news categories. A `skill://finnhub-guide/SKILL.md` resource helps agents assemble company and earnings briefings while preserving dates, missing values, and coverage limitations.

## Limitations and notes

The tools focus on US symbols. International or paid-only symbols can produce a `not_us_or_paid` error. A missing or unknown symbol can produce `symbol_not_found`, while recommendation data may instead return `no_coverage` when Finnhub has no history for a symbol.

Search results are capped by a configurable limit. Earnings and news results also report totals and truncation when their limits are reached. Earnings history requires a symbol; company news requires one as well. Market news ignores the symbol field. Quote status fields such as session, holiday, and market-open state can be unavailable.

Finnhub coverage determines how much recommendation history is available, so increasing the request limit cannot create older data. The server preserves absent fundamentals as null rather than treating missing values as zero.

_Full upstream README: https://allmcps.com/mcp/finnhub-mcp-server/readme_

