Skip to main content
Glama
sverze

Stock Market MCP Server

by sverze

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FINNHUB_API_KEYYesYour Finnhub API key. Get one for free at finnhub.io

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_stock_symbol_lookupA
Stock Symbol Lookup - searches for best-matching symbols based on your query.

Args:
    query: You can input anything from symbol, security's name to ISIN and CUSIP e.g. apple

Returns:
    str: A list of matching symbols with formatted information
get_stock_priceA
Get the latest stock price and related information for a given symbol.

Args:
    symbol: The stock symbol to look up (e.g., AAPL for Apple Inc.)

Returns:
    str: Current price information in JSON format
get_basic_financialsA
Get basic financial information for a company.

Args:
    symbol: The stock symbol to look up (e.g., AAPL for Apple Inc.)

Returns:
    str: Basic financial metrics in JSON format including P/E ratio, market cap, etc.
get_market_newsA
Get the latest market news.

Args:
    category: News category. Available values: general, forex, crypto, merger.
    min_id: Use this to get only news after this ID.

Returns:
    str: Latest market news in JSON format with headlines, summaries, and URLs.
get_company_newsA
Get news for a specific company over a date range.

Args:
    symbol: The stock symbol (e.g., AAPL for Apple Inc.)
    from_date: Start date in YYYY-MM-DD format
    to_date: End date in YYYY-MM-DD format

Returns:
    str: Company-specific news in JSON format with headlines, summaries, and URLs.
get_stock_candlesA
Get historical price data (candles) for a stock.
Note: This is a premium feature, your API key may not have access to this feature.

Args:
    symbol: The stock symbol (e.g., AAPL for Apple Inc.)
    resolution: Time interval between data points. Supported values: 1, 5, 15, 30, 60, D, W, M (minutes, day, week, month)
    from_time: Start time in YYYY-MM-DD format or Unix timestamp
    to_time: End time in YYYY-MM-DD format or Unix timestamp

Returns:
    str: Historical price data in JSON format with open, high, low, close values.

Prompts

Interactive templates invoked by user choice

NameDescription
stock_analysis Analyze a stock by looking up its basic information, current price, and financial metrics. Example usage: I want to analyze Apple stock. First, look up the symbol for Apple. Then get the current price and basic financial information. Finally, summarize whether this looks like a good investment based on P/E ratio, dividend yield, and recent price movements.
market_overview Get a comprehensive market overview including general market news and data for major indices. Example usage: Give me a market overview with the latest general news and current prices for major indices like AAPL, MSFT, GOOGL, AMZN, and SPY.
stock_price_history Analyze the historical price movement of a stock over a specific time period. Example usage: Show me the price history for TSLA over the past month with daily candles. Identify key support and resistance levels.
company_news_analysis Analyze recent news for a specific company and its potential impact on stock price. Example usage: Analyze recent news for NVDA from 2023-01-01 to 2023-01-31 and tell me how it might affect the stock price.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sverze/stock-market-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server