# SA Municipal Finance MCP

> SA Municipal Finance MCP is a freemium MCP server for finance and payments. MCP server giving AI assistants South African municipal financial health, audits. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $15 a month
- **Platforms:** CLI, API, Self-hosted
- **Repository:** https://github.com/root7-labs/sa-municipal-finance-mcp
- **MCP Registry name:** io.github.root7-labs/sa-municipal-finance-mcp
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [uk public data](https://ai-powered.com/categories/uk-public-data), [public data](https://ai-powered.com/categories/public-data)
- **Listing updated:** 2026-11-27

## About

Municipal finance data for South Africa is spread across Treasury returns, audit reports and monthly creditor filings. This server lets an AI assistant pull those into one place, covering all 257 municipalities. It reads National Treasury's Municipal Money data live and calculates the nine-indicator financial health scorecard, so a question about cash coverage or collection rates gets a rated answer rather than raw figures.

It runs locally as an npm package over stdio and plugs into MCP clients such as Claude Desktop and Cursor. Core lookups like finding a municipality, its audit opinions by year and a single-year health scorecard are free. Trend analysis, supplier payment risk and municipality ranking sit behind a paid Pro licence key.

Suppliers and contractors checking whether a municipality pays on time, consultants, lenders, journalists and researchers are the intended users. Outputs are informational and are not financial, credit, legal or investment advice.

## Features

- **Treasury health scorecard:** Calculates nine Treasury indicators for an audited year and rates each as good, average or bad.
- **Audit outcome history:** Lists Auditor-General opinions by year with links to the underlying audit reports.
- **Supplier payment risk:** Shows money owed to suppliers, Eskom and water boards by age, with a low, moderate or high risk band.
- **Municipality comparison:** Ranks up to 20 municipalities, or a whole province or category such as metros.
- **Infrastructure and debt views:** Reports capital budget, spending against budget and how much customers owe and pay.
- **Local runtime:** Runs on the user's machine and queries National Treasury directly, with only the licence key sent externally.

## Good for

- Checking whether a municipality pays its suppliers on time before bidding for work
- Comparing financial health across municipalities in a province or category
- Reviewing a municipality's audit outcomes over several years with report links
- Researching municipal cash coverage and debtor collection for lending or investment analysis
- Tracking whether a municipality's finances are improving or worsening over time

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add sa-municipal-finance-mcp --env SAMUNI_LICENSE_KEY='<SAMUNI_LICENSE_KEY>' -- npx -y sa-municipal-finance-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add sa-municipal-finance-mcp --env SAMUNI_LICENSE_KEY='<SAMUNI_LICENSE_KEY>' -- npx -y sa-municipal-finance-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.sa-municipal-finance-mcp]
command = "npx"
args = ["-y", "sa-municipal-finance-mcp"]
env = { SAMUNI_LICENSE_KEY = "<SAMUNI_LICENSE_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e SAMUNI_LICENSE_KEY='<SAMUNI_LICENSE_KEY>' sa-municipal-finance-mcp npx -- -y sa-municipal-finance-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "sa-municipal-finance-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sa-municipal-finance-mcp"
      ],
      "env": {
        "SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 9 tools read data; 7 names don't say. From the server's own tool labels and tool names; not verified by us.

- `find_municipality` (name suggests: reads): Find municipalities by name, province or type and get their codes
- `municipality_profile`: Contact details and Auditor-General opinions by year, with report links
- `financial_health`: Treasury's nine indicators for one audited year, rated good / average / bad
- `infrastructure_spending`: Latest capital budget and how much of the last audited budget was spent
- `customer_debt`: What is owed to the municipality, how old it is, and the collection rate
- `health_trend`: The nine indicators over up to seven years, with improving/worsening flags
- `supplier_payment_risk`: Money owed to suppliers, Eskom and water boards by age with a low/moderate/high risk band
- `compare_municipalities`: Rank up to 20 municipalities, or a whole province or category
- `samuni_status` (name suggests: reads): Shows your tier

## FAQ

### Which data does the server use?

It reads National Treasury's Municipal Money data for all 257 municipalities, using audited figures from the mSCOA data from 2019/20 onwards.

### Which tools are free?

Finding municipalities, municipality profiles, the single-year financial health scorecard, the headline views of infrastructure spending and customer debt, and samuni_status are free.

### How much does Pro cost?

Pro is $149 a year or $15 a month, with a founding offer of 50% off the first year for the first 20 customers.

### What does the payment risk band mean?

It is Root 7's own heuristic, not a Treasury rating, based on the share of trade creditor and bulk electricity and water debt older than 30 and 90 days in the latest monthly return.

### What does the Node.js requirement look like?

It requires Node.js 18.17 or newer and is installed with npx in the MCP client configuration.

### How do I add SA Municipal Finance MCP to Claude Code?

Run this command in your terminal: claude mcp add sa-municipal-finance-mcp --env SAMUNI_LICENSE_KEY='<SAMUNI_LICENSE_KEY>' -- npx -y sa-municipal-finance-mcp

### What are the best alternatives to SA Municipal Finance MCP?

The closest alternatives to SA Municipal Finance MCP are MuniSpot Municipal Data, Sgdata MCP, Finance Intelligence MCP, Meta Data MCP and Mkopo MCP.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [MuniSpot Municipal Data](https://ai-powered.com/mcp/munispot-municipal-data): MuniSpot Municipal Data is a freemium MCP server for finance and payments.
- [Sgdata MCP](https://ai-powered.com/mcp/sgdata-mcp): Sgdata MCP is an open-source MCP server for public data.
- [Finance Intelligence MCP](https://ai-powered.com/mcp/finance-intelligence-mcp): Finance Intelligence MCP is an open-source MCP server for finance and payments.
- [Meta Data MCP](https://ai-powered.com/mcp/meta-data-mcp): Meta Data MCP is an open-source MCP server for public data.
- [Mkopo MCP](https://ai-powered.com/mcp/mkopo-mcp): Mkopo MCP is an open-source MCP server for finance and payments.
- [ungovr.org](https://ai-powered.com/mcp/ungovr-org): ungovr.org is a freemium MCP server for public data.
- [Olvik Labs B2B & Financial Intelligence MCP](https://ai-powered.com/mcp/olvik-labs-b2b-and-financial-intelligence-mcp): Olvik Labs B2B & Financial Intelligence MCP is an open-source MCP server for finance and payments.
- [Korean Public Data](https://ai-powered.com/mcp/korean-public-data): Korean Public Data is an open-source MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/sa-municipal-finance-mcp-2
