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
| Name | Required | Description | Default |
|---|---|---|---|
| searchAfter | No | Search after this organization number for pagination | |
| size | No | Maximum number of organizations (default 100) | |
| spraak | No | Language for code descriptions (e.g., 'NOB') |
Implementation Reference
- src/brreg-mcp-server.ts:146-152 (handler)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); }
- src/brreg-mcp-server.ts:364-371 (schema)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')" } } }
- src/brreg-mcp-server.ts:362-372 (registration)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')" } } } },
- src/brreg-mcp-server.ts:539-548 (handler)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), }, ], };