Alpha vantage MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Alpha Vantage MCP or direct API to fetch live stock quotes, analyze technical indicators, retrieve historical price data, and monitor market trends through natural language.

Alpha vantage logoAlpha vantage
Api Key

Alpha Vantage is a financial data platform offering real-time and historical stock market APIs. Get instant, reliable access to equities, forex, and technical analysis data for smarter trading decisions.

56 Tools

Try Alpha vantage now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Alpha vantage
Try asking
TOOLS

Supported Tools

Every Alpha vantage action and event your agent gets out of the box. No Alpha vantage signup needed. Give your agents access to the Alpha vantage API and pay per call from your Composio balance.

Get All Commodities Price Index

Tool to retrieve the global price index of all commodities.

ALUMINUM

Tool to fetch global aluminum prices.

Balance Sheet

Tool to return annual and quarterly balance sheets for a company.

Brent Crude Oil Prices

Tool to fetch Brent crude oil prices.

Cash Flow

Tool to return annual and quarterly cash flow statements for a company.

Global Coffee Price

Tool to retrieve the global coffee price series.

Company Overview (Stocks Only)

Tool to retrieve company overview and fundamental data for individual company stocks.

COPPER

Tool to fetch global price of copper in monthly, quarterly, and annual intervals.

Corn

Tool to retrieve global price of corn in monthly, quarterly, and annual intervals.

COTTON

Tool to retrieve global cotton prices in monthly, quarterly, and annual intervals.

Consumer Price Index (CPI)

Tool to fetch monthly and semiannual Consumer Price Index (CPI) data of the United States.

Crypto Intraday Time Series

Tool to retrieve intraday time series data for cryptocurrencies with realtime updates.

Currency Exchange Rate

Retrieve the real-time exchange rate for a currency pair, including the rate, bid and ask prices and last refresh time.

Digital Currency Daily Time Series

Tool to retrieve daily historical time series for a digital currency traded on a specific market.

Digital Currency Monthly Time Series

Tool to retrieve monthly digital currency prices in a fiat currency.

Digital Currency Weekly Time Series

Tool to retrieve weekly digital currency prices in a fiat currency.

Durable Goods Orders

Tool to fetch monthly manufacturers' new orders of durable goods data for the United States.

Earnings

Retrieve annual and quarterly earnings per share history for a company symbol.

Earnings Calendar

Retrieve upcoming earnings calendar entries as CSV, optionally filtered by symbol, for a 3-, 6-, or 12-month horizon.

Earnings Call Transcript

Retrieve an earnings call transcript for a company and quarter, with speaker entries and optional sentiment signals.

Federal Funds Rate

Tool to fetch daily, weekly, and monthly federal funds rate data of the United States.

FX Daily Time Series

Tool to fetch daily time series (open, high, low, close) for a currency pair.

FX Intraday Time Series

Tool to retrieve intraday OHLC time series for a forex pair at 1-60 minute intervals (premium endpoint).

FX Monthly Time Series

Tool to get monthly time series (open, high, low, close) for a currency pair.

FX Weekly Time Series

Tool to get weekly time series (open, high, low, close) for a currency pair.

Get Dividend History

Retrieve historical dividend dates and amounts for a stock symbol.

Get Historical Options

Tool to retrieve full historical options chain for a symbol on a specific date with 15+ years of history, including Greeks and IV.

Analytics Sliding Window

Tool to retrieve advanced analytics metrics with sliding window calculations for trend analysis.

Global Quote

Retrieve the latest available price, volume, and daily trading metrics for a specified security ticker.

Income Statement

Tool to fetch annual and quarterly income statements.

Inflation

Tool to fetch annual U.S.

IPO Calendar

Tool to retrieve the IPO calendar for the next three months.

Listing Status

Tool to fetch listing status of US stocks and ETFs.

Market Status

Tool to retrieve current market status (open/closed) for global stock exchanges.

News Sentiment

Tool to fetch live and historical market news & sentiment.

Nonfarm Payroll

Tool to fetch monthly U.S.

Real GDP

Tool to fetch U.S.

Real GDP Per Capita

Fetch U.S.

Realtime Bulk Quotes

Tool to retrieve realtime quotes for US-traded symbols in bulk (up to 100 symbols per request).

Retail Sales

Tool to fetch monthly retail trade sales data of the United States.

Sector Performance

Tool to retrieve real-time and historical sector performance data.

Stock Splits

Retrieve historical stock split events for a symbol, including split dates and factors.

Global Sugar Price

Tool to retrieve the global sugar price series.

Symbol Search

Search for ticker symbols by name or keyword and return best matches with details such as region, currency, and match score.

Technical Indicator

Fetch technical indicators such as moving averages or oscillators for an equity or currency pair.

Time Series Daily

Retrieve daily open, high, low, close, and volume data for a global equity symbol.

Time Series Intraday

Retrieve intraday OHLCV data for an equity at a selected interval, with options for adjusted prices, extended hours, and historical months.

Time Series Intraday Extended

Retrieve historical intraday OHLCV data for an equity for a selected monthly slice within the trailing two years.

Time Series Monthly

Tool to retrieve monthly open, high, low, close, and volume for a global equity.

Monthly Adjusted Time Series

Tool to retrieve monthly adjusted OHLC and volume for a global equity.

Weekly Time Series

Tool to fetch weekly open, high, low, close, and volume for a global equity symbol.

Weekly Adjusted Time Series

Tool to fetch weekly adjusted time series data with split/dividend adjustments, covering 20+ years of historical data.

Top Gainers, Losers & Most Active

Tool to fetch the top 20 gainers, losers, and most actively traded US tickers.

US Treasury Yield

Tool to fetch US Treasury yield data for specified maturity and interval.

Unemployment Rate

Tool to fetch monthly unemployment rate data of the United States.

WHEAT

Tool to fetch global price of wheat.

SETUP GUIDE

Connect Alpha vantage MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["alpha_vantage"],
  mcp: true,
});
Create a session scoped to Alpha vantage and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Get the latest balance sheet for Apple Inc.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Alpha vantage request
SETUP GUIDE

Connect Alpha vantage API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["alpha_vantage"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Alpha vantage
3

Run Alpha vantage tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Get the latest balance sheet for Apple Inc." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Alpha vantage tool calls through the session, and print the final answer

Why Use Composio?

AI Native Alpha vantage Integration

  • Supports both Alpha vantage MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Alpha vantage data

Managed Auth

  • Built-in API key handling with secure storage
  • Central place to manage, scope, and revoke Alpha vantage access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Alpha vantage
  • Scoped, least privilege access to Alpha vantage resources
  • Full audit trail of agent actions to support review and compliance

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Alpha vantage.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Alpha vantage tool your agent needs.Free to start.

Start building