Skip to main content
Glama
deepsuthar496

Alpha Vantage MCP Server

get_company_overview

Retrieve company information and key financial metrics for any stock symbol to analyze business fundamentals and performance data.

Instructions

Get company information and key metrics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesThe stock symbol (e.g., AAPL)

Implementation Reference

  • The core handler function for the 'get_company_overview' tool. It makes an API request to Alpha Vantage's OVERVIEW function using the provided stock symbol and returns the response data as formatted JSON text.
    private async getCompanyOverview(args: any) { const response = await this.axiosInstance.get('', { params: { function: 'OVERVIEW', symbol: args.symbol, }, }); return { content: [ { type: 'text', text: JSON.stringify(response.data, null, 2), }, ], }; }
  • src/index.ts:107-120 (registration)
    Registers the 'get_company_overview' tool in the MCP server's list of tools, providing its name, description, and input schema.
    { name: 'get_company_overview', description: 'Get company information and key metrics', inputSchema: { type: 'object', properties: { symbol: { type: 'string', description: 'The stock symbol (e.g., AAPL)', }, }, required: ['symbol'], }, },
  • Defines the input schema for the 'get_company_overview' tool, requiring a 'symbol' string parameter.
    inputSchema: { type: 'object', properties: { symbol: { type: 'string', description: 'The stock symbol (e.g., AAPL)', }, }, required: ['symbol'], },
  • Dispatches the tool call to the specific getCompanyOverview handler method within the main CallToolRequestSchema handler.
    case 'get_company_overview': return await this.getCompanyOverview(request.params.arguments);

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/deepsuthar496/alpha-ventage-mcp'

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