Finnhub (Unofficial)

v0.2.2
io.github.pipeworx-io/finnhub Checked 2 days ago Published 17 days ago

Unofficial Finnhub MCP — wraps Finnhub Stock API (finnhub.io)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_quote

Get a real-time stock quote including current price, change, and volume. Example: get_quote({ symbol: "AAPL" })

ParameterTypeDescription
_apiKey *stringFinnhub API key (get one free at finnhub.io)
symbol *stringStock ticker symbol, e.g. "AAPL", "MSFT", "TSLA"

get_company_news

Get recent news articles about a company within a date range. Returns headline, summary, source, and URL. Example: get_company_news({ symbol: "AAPL", from: "2024-01-01", to: "2024-01-31" })

ParameterTypeDescription
_apiKey *stringFinnhub API key
from *stringStart date in YYYY-MM-DD format, e.g. "2024-01-01"
symbol *stringStock ticker symbol, e.g. "AAPL"
to *stringEnd date in YYYY-MM-DD format, e.g. "2024-01-31"

get_earnings_calendar

Get upcoming and recent earnings reports. Pass `symbol` for one company's earnings dates, or omit it for the whole market. Optionally filter by date range. Example: get_earnings_calendar({ symbol: "CRM", from: "2026-01-01", to: "2026-06-30" })

ParameterTypeDescription
_apiKey *stringFinnhub API key
fromstringStart date in YYYY-MM-DD format (optional)
symbolstringTicker symbol, e.g. "CRM". Omit for the market-wide calendar.
tostringEnd date in YYYY-MM-DD format (optional)

get_earnings_surprises

EPS actual vs analyst (consensus) estimate, beat or miss, for a company's recent quarters — the "earnings surprise" history. Returns per quarter: fiscal period, EPS actual, EPS estimate, surprise amount and percent. Revenue is NOT included (Finnhub's earnings-surprise data is EPS-only); for revenue estimates on upcoming quarters, see get_earnings_calendar. Example: get_earnings_surprises({ symbol: "MSFT", limit: 4 })

ParameterTypeDescription
_apiKey *stringFinnhub API key (get one free at finnhub.io)
symbol *stringStock ticker symbol, e.g. "AAPL", "MSFT", "TSLA"
limitnumberNumber of most-recent quarters to return (default 4, max 20)

get_price_target

Analyst price-target consensus for a company — high, low, mean, and median 12-month price targets, and when they were last updated. Requires your own PAID Finnhub API key with price-target access, passed as _apiKey — Pipeworx's shared key is on a lower plan and cannot reach this endpoint. For free analyst buy/hold/sell trends without a key requirement beyond the shared one, use get_recommendation_trends instead. Example: get_price_target({ symbol: "AAPL", _apiKey: "your_finnhub_key" })

ParameterTypeDescription
_apiKey *stringYour own Finnhub API key on a PAID plan that includes price-target data (finnhub.io/pricing). The shared Pipeworx key is on a lower plan and cannot reach this endpoint, unlike the other tools in this…
symbol *stringStock ticker symbol, e.g. "AAPL", "MSFT", "TSLA"

finnhub_search_symbol

Search for stock ticker symbols by company name or keyword. Returns matching symbols with descriptions. Example: search_symbol({ query: "apple" })

ParameterTypeDescription
_apiKey *stringFinnhub API key
query *stringSearch query — company name or keyword, e.g. "apple", "tesla"