mcp-alphavantage
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-alphavantageget me the current stock price of AAPL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Alpha Vantage — Stock and Market Data
Alpha Vantage's REST API for stock prices, fundamentals, technical indicators, forex, crypto, and economic indicators. ~20+ years of historical equities data, real-time-ish quotes (15-minute delayed on free tier), and structured fundamental data parsed from SEC filings.
Part of Pipeworx — an MCP gateway connecting AI agents to 1683+ live data sources.
Why this matters for AI agents
Where SEC EDGAR gives you raw filings, Alpha Vantage gives you cleaned-up structured data ready for analysis: income statements, balance sheets, cash flow, key ratios, recent earnings, technical indicators. For real-time-ish quotes during market hours, this is the source.
Common flows:
Quote. "Where's AAPL trading?" →
av_quote({symbol: "AAPL"})→ latest price, change, volume.Income statement. "Apple's last 4 quarters of revenue/income." →
av_income_statement({symbol: "AAPL"}).Earnings. "When does NVDA report next?" →
av_earnings({symbol: "NVDA"}).Daily price history. "AAPL 1-year history." →
av_daily({symbol: "AAPL"}).
Used by the fintech_company_deep_dive compound for the quote + income statement layer alongside SEC EDGAR.
Related MCP server: Alpha Vantage MCP Server
Auth — bring your own PAID key (Pipeworx fronts none)
This pack is BYO-only as of 2026-09-02 (Bruce's ruling on fleet #1117). Pipeworx
does not supply a key: the gateway entry no longer names
PLATFORM_ALPHAVANTAGE_KEY, so _apiKey is whatever you pass and nothing else.
Call it with no key and you get a refusal that says the pack requires an API key
and names two working substitutes — no upstream call is spent producing it.
A FREE Alpha Vantage key will not work here, whoever it belongs to. Alpha
Vantage meters its free tier by SOURCE IP and never validates the key at all —
measured 2026-09-02 on three real keys plus the invented string
ZZZZINVALIDKEY99, which drew the same "25 requests per day" refusal from our
gateway that a real key did, and returned real IBM data from a laptop in the same
minute (fleet #1070; the full measurement is in the header of src/index.ts).
Because the address the call leaves from is what is spent, your free key is
refused through the gateway for exactly the reason ours was. That also means a
laptop test proves nothing about this pack: any string "works" from an IP with
budget left.
What does work: a PAID key. Premium ($50–250/mo) is the one thing Alpha
Vantage actually authenticates — its premium endpoints refuse a free key by name.
Untested from here, since we do not hold one, so treat it as an inference rather
than a measurement. Pass it via _apiKey.
If you have no paid key, use the substitutes the refusal names, both of which answer these questions today:
get_company_financials(sec-xbrl pack) — US income statements, balance sheets and cash flow, keyless, no daily cap. Covers everythingav_overview/av_income_statement/av_balance_sheet/av_earningsdo for US filers.finnhub — real-time quotes, free key, 60 calls/min and no daily cap. Covers
av_quote, and non-US symbols.
The "demo" key: Alpha Vantage advertises demo as a no-signup key, but it
returns errors for most calls, and through the gateway it hits the same IP meter
as any other free key. The pack refuses it explicitly.
Update cadence
Quotes: real-time on paid tiers, 15-minute delayed on free, market hours only
Daily / weekly / monthly history: end-of-day, refreshes after market close
Fundamentals: refreshes within ~24h of new SEC filings
Earnings: refreshes after each company reports
Pipeworx caches with TTLs aligned to these.
Common pitfalls
Free-tier 5/min limit. Bursting fails. Pace agent calls or upgrade. Moot from Pipeworx, where a free key never gets as far as the per-minute limit.
A spent daily allowance is an error, not an empty answer. Once the 25-a-day cap on YOUR key is gone, every tool in this pack fails with
auth_requiredand the words "the daily request allowance behind this key is spent" — deliberately, so the gateway can attach acredentialblock saying whose key ran out. It used to answer{found:false, reason:"quota_exceeded"}, which reads as a successful call to every consumer that does not parse prose, and a spent key was reported healthy for weeks (fleet #1091). A SHORT throttle — a notice naming only a per-minute frequency — is still a soft{found:false, reason:"rate_limit"}, because that one really does clear on its own. Since #1117 that block can only ever saycaller: the pack left the platform-key probe rotation along with the platform key, so there is no Pipeworx allowance left to spend.Symbol vs ticker. Mostly the same on Alpha Vantage, but a few non-US tickers need a suffix (e.g.,
BARC.LON). Default endpoints assume US-listed."Real-time" definition. Free tier is 15-min delayed end-of-day-style snapshots. For algo trading, you want a paid tier. For agent research, free is fine.
Earnings calendar isn't always accurate. Companies move report dates; Alpha Vantage updates eventually but sometimes lags by a day or two.
Adjusted vs unadjusted prices. Daily-adjusted returns split- and dividend-adjusted closes; daily returns raw closes. For long-horizon analysis you almost always want adjusted.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"alphavantage": {
"url": "https://gateway.pipeworx.io/alphavantage/mcp"
}
}
}What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/alphavantage/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 1683+ 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 alphavantage key is reserved for paid accounts, so an anonymous call to POST https://gateway.pipeworx.io/v1/tools/av_quote needs your own key passed as _apiKey alongside the arguments. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/av_quote. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Standalone (no gateway account)
This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:
{
"mcpServers": {
"alphavantage": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-alphavantage"]
}
}
}Or run it directly to confirm it starts:
npx -y @pipeworx/mcp-alphavantageIt speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call
for only this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.
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 Alphavantage data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Scrape stock quotes, historical prices, and financial statements from Yahoo Finance.
Stock market data for AI agents: real-time quotes, financials, options, SEC filings and news.
Daily end-of-day OHLCV stock data for U.S.-listed symbols, 15 years of history. Free API key.
Finnhub MCP — wraps Finnhub Stock API (finnhub.io)
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides real-time access to financial market data including stock quotes, company information, cryptocurrency exchange rates, historical options chains, and time series data through the Alpha Vantage API.-
- AlicenseCqualityDmaintenanceProvides access to real-time and historical stock market data through the Alpha Vantage API, enabling financial analysis and market data queries through natural language.10075Apache 2.0
- AlicenseAqualityDmaintenanceProvides comprehensive market data, fundamental analysis, and technical indicators through the AlphaVantage API. It enables users to fetch financial statements, stock prices, and market news with sentiment analysis for detailed financial research.91MIT
- AlicenseNot gradedqualityCmaintenanceEnables access to stock and financial data from Alpha Vantage, including stocks, forex, cryptocurrencies, commodities, and technical indicators, through natural language queries.1MIT