Skip to main content
Glama
jackdark425

Financial Modeling Prep (FMP) MCP Server

by jackdark425

get_market_losers

Identify stocks experiencing significant price declines to analyze market trends and potential investment opportunities.

Instructions

Get stocks with the largest price drops (top losers)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The 'get_market_losers' tool is registered within registerMarketTools, and its handler function performs an asynchronous fetch to the '/biggest-losers' FMP endpoint, returning a JSON-formatted response of top market losers.
    server.registerTool(
      'get_market_losers',
      {
        description: 'Get stocks with the largest price drops (top losers)',
        inputSchema: z.object({}),
      },
      async () => {
        try {
          const data = await fetchFMP<MarketMover[]>('/biggest-losers');
          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