Skip to main content
Glama

Yahoo Finance MCP Server

get_top_companies

Retrieve the top companies in a specified sector by providing the sector and desired number of companies. Utilize data from Yahoo Finance to analyze and identify leading industry players.

Instructions

Retrieve the top companies in a specific sector.

Input Schema

NameRequiredDescriptionDefault
sectorYesThe sector to get
top_nYesNumber of top companies to retrieve

Input Schema (JSON Schema)

{ "properties": { "sector": { "description": "The sector to get", "enum": [ "basic-materials", "communication-services", "consumer-cyclical", "consumer-defensive", "energy", "financial-services", "healthcare", "industrials", "real-estate", "technology", "utilities" ], "title": "Sector", "type": "string" }, "top_n": { "description": "Number of top companies to retrieve", "title": "Top N", "type": "integer" } }, "required": [ "sector", "top_n" ], "title": "get_top_companiesArguments", "type": "object" }

You must be authenticated.

Other Tools from Yahoo Finance MCP Server

Related Tools

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/narumiruna/yfinance-mcp'

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