Skip to main content
Glama
reidar80

Norwegian Business Registry MCP Server

by reidar80

search_voluntary_organizations

Search Norway's voluntary organization registry to find registered entities, access organizational details, and retrieve governance data for non-profit research and verification.

Instructions

Search voluntary organizations in the voluntary organization registry

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchAfterNoSearch after this organization number for pagination
sizeNoMaximum number of organizations (default 100)
spraakNoLanguage for code descriptions (e.g., 'NOB')

Implementation Reference

  • The core handler function that executes the tool logic: makes an HTTP request to the Frivillighetsregisteret API endpoint for searching voluntary organizations using the provided parameters.
    async searchVoluntaryOrganizations(params: { searchAfter?: string; size?: number; spraak?: string; } = {}) { return this.makeRequest('/frivillighetsregisteret/api/frivillige-organisasjoner', params); }
  • Input schema definition for the search_voluntary_organizations tool, specifying optional parameters: searchAfter, size, and spraak.
    inputSchema: { type: "object", properties: { searchAfter: { type: "string", description: "Search after this organization number for pagination" }, size: { type: "number", description: "Maximum number of organizations (default 100)" }, spraak: { type: "string", description: "Language for code descriptions (e.g., 'NOB')" } } }
  • Registration of the tool in the ListToolsRequestHandler response array, defining name, description, and input schema.
    name: "search_voluntary_organizations", description: "Search voluntary organizations in the voluntary organization registry", inputSchema: { type: "object", properties: { searchAfter: { type: "string", description: "Search after this organization number for pagination" }, size: { type: "number", description: "Maximum number of organizations (default 100)" }, spraak: { type: "string", description: "Language for code descriptions (e.g., 'NOB')" } } } },
  • MCP server dispatch handler case that invokes the BrregApiClient.searchVoluntaryOrganizations method and formats the response as MCP content.
    case "search_voluntary_organizations": const voluntaryOrgs = await apiClient.searchVoluntaryOrganizations(request.params.arguments as any); return { content: [ { type: "text", text: JSON.stringify(voluntaryOrgs, 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