Skip to main content
Glama
jackdark425

Financial Modeling Prep (FMP) MCP Server

by jackdark425

get_company_profile

Retrieve detailed company profiles including description, industry, sector, CEO, and key business information using stock ticker symbols for financial analysis and research.

Instructions

Get detailed company profile information including description, industry, sector, CEO, and more

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesStock ticker symbol

Implementation Reference

  • The handler function for get_company_profile which fetches data from the FMP API.
    async (args: z.infer<typeof CompanyProfileSchema>) => {
      try {
        const data = await fetchFMP<CompanyProfile[]>(`/profile?symbol=${args.symbol.toUpperCase()}`);
        return jsonResponse(data);
      } catch (error) {
        return errorResponse(error);
      }
    }
  • The registration of the get_company_profile tool.
    // Company Profile
    server.registerTool(
      'get_company_profile',
      {
        description: 'Get detailed company profile information including description, industry, sector, CEO, and more',
        inputSchema: CompanyProfileSchema,
      },
      async (args: z.infer<typeof CompanyProfileSchema>) => {
        try {
          const data = await fetchFMP<CompanyProfile[]>(`/profile?symbol=${args.symbol.toUpperCase()}`);
          return jsonResponse(data);
        } catch (error) {
          return errorResponse(error);
        }
      }
    );
  • The Zod schema definition for the get_company_profile tool input.
    const CompanyProfileSchema = z.object({
      symbol: SymbolSchema.describe('Stock ticker symbol'),
    });

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