Skip to main content
Glama
robobobby
by robobobby

dk_cvr_lookup

Look up Danish companies by CVR number to retrieve full business details including registration information and company data.

Instructions

Look up a specific Danish company by its 8-digit CVR number. Returns full company details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cvr_numberYes8-digit CVR number
countryNo'dk' (default) or 'no'

Implementation Reference

  • The implementation of the `dk_cvr_lookup` tool, which takes a CVR number and country code to fetch company data.
    server.tool(
      "dk_cvr_lookup",
      "Look up a specific Danish company by its 8-digit CVR number. Returns full company details.",
      {
        cvr_number: z.string().regex(/^\d{8}$/).describe("8-digit CVR number"),
        country: z.enum(["dk", "no"]).optional().describe("'dk' (default) or 'no'"),
      },
      async ({ cvr_number, country }) => {
        try {
          const data = await fetchCVR({ vat: cvr_number, country: country || "dk" });
          return { content: [{ type: "text", text: formatCompany(data) }] };
        } catch (err) {
          return { content: [{ type: "text", text: `Error: ${err.message}` }], isError: true };
        }
      }
    );

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/robobobby/mcp-nordic'

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