samuni.reference.municipalities
List all South African municipalities registered with the National Treasury. Returns up to 300 municipalities with demarcation code, name, province, category, phone number, and website URL. Filter by province code (EC, GP, KZN, WC, etc.) or category (A=Metro, B=Local, C=District). South Africa ha...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/samuni.reference.municipalities.md
What samuni.reference.municipalities does on Apibase
AI agents call samuni.reference.municipalities to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | — | Maximum number of municipalities to return (1-300, default 50). Use 300 for full list. |
category | string | — | Municipality category: A=Metropolitan, B=Local (most), C=District. SA has 8 metros (A), ~205 local (B), and 44 district (C) municipalities. |
province_code | string | — | Filter by province code: EC=Eastern Cape, FS=Free State, GP=Gauteng, KZN=KwaZulu-Natal, LP=Limpopo, MP=Mpumalanga, NC=Northern Cape, NW=North West, WC=Western C |
Parameters from the server's own tool schema.
Why samuni.reference.municipalities is rated Low
Tool retrieves and queries public municipal registry data with no side effects or modifications.
From the tool's definition List all South African municipalities with demarcation code, name, province, category, phone, website URL. Filter by province code or category.
Attacks that exploit this kind of access
The rule that runs samuni.reference.municipalities safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For samuni.reference.municipalities, this is the rule to start with:
samuni.reference.municipalities is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every samuni.reference.municipalities call is checked against it from then on.
Questions about samuni.reference.municipalities
List all South African municipalities registered with the National Treasury. Returns up to 300 municipalities with demarcation code, name, province, category, phone number, and website URL. Filter by province code (EC, GP, KZN, WC, etc.) or category (A=Metro, B=Local, C=District). South Africa has 8 metropolitan (A), ~205 local (B), and 44 district (C) municipalities. Demarcation codes are needed for other samuni tools (e.g. CPT=Cape Town, JHB=Johannesburg, ETH=eThekwini/Durban, TSH=Tshwane, EKU=Ekurhuleni). No auth required. Source: SA National Treasury Municipal Finance Management Act (MFMA) data portal. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
samuni.reference.municipalities accepts 3 parameters: limit, category, province_code. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for samuni.reference.municipalities: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
samuni.reference.municipalities is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the samuni.reference.municipalities rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for samuni.reference.municipalities. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
samuni.reference.municipalities is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue