Finnhub MCP Server

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

Local serverstdio

What is the Finnhub MCP Server?

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

What the server does

  • Declarative tool and resource definitions — single file per primitive, framework handles registration and validation
  • Unified error handling — handlers throw, framework catches, classifies, and formats
  • Pluggable auth: none, jwt, oauth
  • Swappable storage backends: in-memory, filesystem, Supabase, Cloudflare KV/R2/D1
  • Structured logging with optional OpenTelemetry tracing
  • STDIO and Streamable HTTP transports

Credentials and setup notes

  • Bun v1.3.0 or higher (or Node.js v24+). - A free Finnhub API key. The free tier is US equities only, real-time, 60 req/min — international symbols (any exchange-suffixed ticker like .TO or .DE) and candle/forex endpoints are paid-tier and return a clear error.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
finnhub_search_symbolsResolve a company name or partial ticker to US stock symbols, best US match first. The entry point for every other tool.
finnhub_get_quoteReal-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.
finnhub_get_companyFull company context in one call — profile, headline fundamentals (P/E, EPS, margins, growth), and sector peers.
finnhub_get_earningsEarnings in two modes: a symbol's past quarters with actual-vs-estimate surprises (history), or market-wide upcoming releases in a date window (calendar).
finnhub_get_newsFinancial news in two modes: recent articles for one symbol over a date range (company), or broad market headlines by category (market).
finnhub_get_recommendationsAnalyst recommendation trends for one US symbol — strong-buy / buy / hold / sell / strong-sell counts per month, newest first.

How to install the Finnhub MCP Server

{
  "mcpServers": {
    "finnhub-mcp-server": {
      "type": "stdio",
      "command": "bunx",
      "args": ["@cyanheads/finnhub-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info",
        "FINNHUB_API_KEY": "your-api-key"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Bun v1.3.0 or higher (or Node.js v24+). - A free Finnhub API key. The free tier is US equities only, real-time, 60 req/min — international symbols (any exchange-suffixed ticker like .TO or .DE) and candle/forex endpoints are paid-tier and return a clear error.
VariableDescriptionRequired
MCP_TRANSPORT_TYPEConfiguration value read at startup.Optional
MCP_LOG_LEVELConfiguration value read at startup.Optional
FINNHUB_API_KEYCredential the server authenticates with.Yes
FINNHUB_BASE_URLEndpoint or connection string the server talks to.Yes
MCP_HTTP_ENDPOINT_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use Finnhub to finnhub search symbols.”
  • “Use Finnhub to finnhub get quote.”
  • “Use Finnhub to finnhub get company.”

Frequently asked questions

Real-time US-equity quotes, company fundamentals, earnings, analyst trends, and news via Finnhub. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.