Skip to main content
Glama
reidar80

Norwegian Business Registry MCP Server

by reidar80

get_icnpo_categories

Retrieve ICNPO classification categories for non-profit organizations from the Norwegian Business Registry. Use this tool to access standardized international classifications for organizational categorization.

Instructions

Get ICNPO (International Classification of Non-Profit Organisation) categories

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spraakNoLanguage for descriptions (e.g., 'NOB')

Implementation Reference

  • The core handler function implementing the logic for the 'get_icnpo_categories' tool by making an API request to the Brreg voluntary organizations registry endpoint.
    async getIcnpoCategories(params: { spraak?: string } = {}) { return this.makeRequest('/frivillighetsregisteret/api/icnpo-kategorier', params); }
  • Tool registration in the ListTools handler, defining the tool's name, description, and input schema.
    { name: "get_icnpo_categories", description: "Get ICNPO (International Classification of Non-Profit Organisation) categories", inputSchema: { type: "object", properties: { spraak: { type: "string", description: "Language for descriptions (e.g., 'NOB')" } } } }
  • JSON schema defining the input parameters for the tool (optional 'spraak' language parameter).
    inputSchema: { type: "object", properties: { spraak: { type: "string", description: "Language for descriptions (e.g., 'NOB')" } } }
  • Dispatch handler in the CallToolRequestSchema that invokes the tool's handler and formats the response as text content.
    case "get_icnpo_categories": const icnpoCategories = await apiClient.getIcnpoCategories(request.params.arguments as any); return { content: [ { type: "text", text: JSON.stringify(icnpoCategories, null, 2), }, ], };

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/reidar80/BRREG-MCP'

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