Skip to main content
Glama
jackdark425

Financial Modeling Prep (FMP) MCP Server

by jackdark425

get_market_gainers

Identify stocks with the largest price increases to analyze market momentum and discover top-performing securities for investment research.

Instructions

Get stocks with the largest price increases (top gainers)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The get_market_gainers tool is registered and implemented within the registerMarketTools function in src/tools/market.ts. It fetches data from the '/biggest-gainers' endpoint via the fetchFMP utility.
    server.registerTool(
      'get_market_gainers',
      {
        description: 'Get stocks with the largest price increases (top gainers)',
        inputSchema: z.object({}),
      },
      async () => {
        try {
          const data = await fetchFMP<MarketMover[]>('/biggest-gainers');
          return jsonResponse(data);
        } catch (error) {
          return errorResponse(error);
        }
      }
    );

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/jackdark425/aigroup-fmp-mcp'

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