About
Finnhub MCP — wraps Finnhub Stock API (finnhub.io)
Remote endpoints: streamable-http: https://gateway.pipeworx.io/finnhub/mcp
Security Report
Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (2102/2104 approved).
49 tools verified · Open access · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: PIPEWORX_API_KEY
How to Install & Connect
Available as Local & Remote
This plugin can run on your machine or connect to a hosted endpoint. during install.
Documentation
View on GitHubFrom the project's GitHub README.
Finnhub — Stock, Crypto, Forex Data
Finnhub's REST API. Real-time stock quotes, fundamentals, earnings, news, alternative data (insider transactions, sentiment, ETF holdings), economic data, crypto, and forex. Comprehensive market data with a strong free tier.
Part of Pipeworx — an MCP gateway connecting AI agents to 1864+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Why this matters for AI agents
Where Alpha Vantage is solid for fundamentals + technical, Finnhub is stronger for real-time quotes (1-minute resolution on free), insider transactions, news/sentiment, and international markets. For finance agents that need price data alongside news flow and insider activity, Finnhub is fit-for-purpose.
Common flows:
- Quote. Real-time (or 15-min delayed on free tier) stock quote.
- Company news. Recent news for a ticker with sentiment scoring.
- Insider transactions. Form 4 filings with timing and dollar amounts (also see insider-trading pack which is SEC-EDGAR-direct).
- Earnings. Upcoming earnings calendar, surprise history, EPS estimates.
- International symbols. European, Asian, emerging-market tickers (where Alpha Vantage gets thinner).
Auth
Free key from https://finnhub.io/dashboard. Free tier: 60 API calls/minute. Pass via _apiKey.
Higher tiers ($50-200/mo) unlock real-time data, longer historical, and rate limits suitable for production. The free tier is sufficient for most agent research.
When to use Finnhub vs. Alpha Vantage
| Need | Better source |
|---|---|
| Quotes | Either; Finnhub real-time-er on free tier |
| Income statement / balance sheet | Alpha Vantage (cleaner schema) |
| Insider transactions | Finnhub or insider-trading pack |
| Company news with sentiment | Finnhub |
| Earnings calendar | Finnhub |
| International coverage | Finnhub |
| Technical indicators | Alpha Vantage |
| ETF holdings | Finnhub |
For richest coverage, Pipeworx agents often mount both.
Earnings surprises vs. the earnings calendar
Two different tools answer two different earnings questions, and picking the wrong one silently misses data:
- "What were last quarter's actual results vs. what analysts expected?"
→
get_earnings_surprises({ symbol }). Keyed by symbol, not by a date window, so it reaches back through the company's reporting history regardless of how long ago the quarter was. Returns EPS actual, EPS estimate, surprise amount and surprise percent per quarter (most recent first). EPS only — Finnhub's earnings-surprise history does not carry revenue, and the tool says so explicitly rather than returning a silentnull. - "What's scheduled to report, or what happened in the last few weeks?"
→
get_earnings_calendar({ symbol, from, to }). Takes a date window and includes revenue estimate/actual alongside EPS — but measured live (2026-10-21), the calendar's historical reach on this plan is short: roughly the last several weeks from today, not the company's full reporting history. A quarter older than that returnsfound: falseeven though the company genuinely reported — that reads as "no earnings" if you don't know the window is truncated. Useget_earnings_surprisesinstead for anything older than a few weeks.
Common pitfalls
- Symbol conventions. US tickers are simple (AAPL); international markets need exchange suffixes (NESN.SW for Nestlé on Swiss exchange). Finnhub has a symbol search.
- Free tier real-time delay. "Real-time" on free is essentially current; on paid it's actually live. For agent research, free is fine. For trading, paid.
- News sentiment is heuristic. Finnhub computes sentiment with NLP — it's directionally useful but noisy. Don't treat as ground truth; useful as a signal.
- Insider transaction lag. SEC requires Form 4 filing within 2 business days of the transaction. Finnhub picks them up shortly after. Real-time alerting requires either polling or a separate real-time SEC feed.
- Estimates vs. actuals. Finnhub provides analyst consensus estimates; mixing them with actuals in plots requires labeling carefully.
- Free-tier coverage holes. Some smaller caps and OTC stocks have limited Finnhub coverage on free. Verify the data exists for your target tickers before designing flows around it.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"finnhub": {
"url": "https://gateway.pipeworx.io/finnhub/mcp"
}
}
}
What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/finnhub/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Both URLs reach the same gateway and the same 1864+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
Our finnhub key is reserved for paid accounts, so an anonymous call to POST https://gateway.pipeworx.io/v1/tools/get_quote needs your own key passed as _apiKey alongside the arguments. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/get_quote. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Run it from npm
@pipeworx/mcp-finnhub is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with npx, and it forwards every call to the same
https://gateway.pipeworx.io/finnhub/mcp endpoint shown above. It needs network access;
there is no offline mode.
{
"mcpServers": {
"finnhub": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-finnhub"]
}
}
}
Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
"env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to
also list ask_pipeworx and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by
default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check
your Node version's documentation.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Finnhub data" })
The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Lharries · Communication
Read, search, and send WhatsApp messages through your AI assistant
