Skip to main content
Glama

search_sec_companies

Find SEC-registered companies by name to retrieve CIK numbers, company names, and filing counts for accessing SEC filings.

Instructions

Search for companies registered with the SEC by name. Returns CIK numbers, company names, and filing counts. Useful for finding a company's CIK before searching their filings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchYesCompany name to search for (at least 2 characters)

Implementation Reference

  • Handler implementation and registration for "search_sec_companies" tool.
    server.registerTool(
      "search_sec_companies",
      {
        title: "Search SEC Companies",
        description:
          "Search for companies registered with the SEC by name. Returns CIK numbers, " +
          "company names, and filing counts. Useful for finding a company's CIK before " +
          "searching their filings.",
        inputSchema: {
          search: z
            .string()
            .min(2)
            .describe("Company name to search for (at least 2 characters)"),
        },
      },
      async ({ search }) => {
        const res = await apiGet<SecCompaniesResponse>("/api/v1/sec/companies", {
          search,
        });
    
        if (!res.ok) {
          return {
            content: [
              {
                type: "text" as const,
                text: `API error (${res.status}): ${JSON.stringify(res.data)}`,
              },
            ],
            isError: true,
          };
        }
    
        const { count, data } = res.data;
        const summary = `Found ${count} compan${count === 1 ? "y" : "ies"}.`;
        const json = JSON.stringify(data, null, 2);
    
        return {
          content: [{ type: "text" as const, text: `${summary}\n\n${json}` }],
        };
      },
    );

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/carrierone/verilexdata-mcp'

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