Skip to main content
Glama
jackdark425

Financial Modeling Prep (FMP) MCP Server

by jackdark425

search_symbol

Find stock symbols using company names or tickers to identify securities for financial analysis and market tracking.

Instructions

Search for stock symbols by company name or ticker

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query (company name or ticker)

Implementation Reference

  • The handler implementation and registration for 'search_symbol' tool.
    // Search Symbol
    server.registerTool(
      'search_symbol',
      {
        description: 'Search for stock symbols by company name or ticker',
        inputSchema: SearchSchema,
      },
      async (args: z.infer<typeof SearchSchema>) => {
        try {
          const data = await fetchFMP(`/search-symbol?query=${encodeURIComponent(args.query)}&limit=10`);
          return jsonResponse(data);
        } catch (error) {
          return errorResponse(error);
        }
      }
    );
  • Input schema definition for the 'search_symbol' tool.
    const SearchSchema = z.object({
      query: z.string().describe('Search query (company name or ticker)'),
    });

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