SA Municipal Finance MCP
MCP server giving AI assistants South African municipal financial health, audits
SA Municipal Finance MCP is a freemium MCP server for finance and payments. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- Version
- 0.4.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add sa-municipal-finance-mcp --env SAMUNI_LICENSE_KEY='<SAMUNI_LICENSE_KEY>' -- npx -y sa-municipal-finance-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"sa-municipal-finance-mcp": {
"command": "npx",
"args": [
"-y",
"sa-municipal-finance-mcp"
],
"env": {
"SAMUNI_LICENSE_KEY": "<SAMUNI_LICENSE_KEY>"
}
}
}
}Add to claude_desktop_config.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.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add sa-municipal-finance-mcp --env SAMUNI_LICENSE_KEY='<SAMUNI_LICENSE_KEY>' -- npx -y sa-municipal-finance-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.sa-municipal-finance-mcp]
command = "npx"
args = ["-y", "sa-municipal-finance-mcp"]
env = { SAMUNI_LICENSE_KEY = "<SAMUNI_LICENSE_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"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
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "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.
Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
Configuration
SAMUNI_LICENSE_KEYPro licence key (optional)
About SA Municipal Finance MCP
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.
Tools this server provides (9)
Taken from the project documentation; the running server may differ.
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_municipalityName 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_statusName suggests: reads
- Shows your tier
What it does
- 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
Pricing
Freemium, from $15 a month
Free core tools; Pro $15/mo or $149/yr
SA Municipal Finance MCP 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.