SA Municipal Finance MCP
MCP server giving AI assistants South African municipal finance data and Treasury health
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, macOS, Windows
- Runs
- Locally
- Version
- 0.1.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 finances in South Africa are published as large datasets that are hard to read quickly. This server lets an MCP client such as Claude Desktop or Cursor query National Treasury's Municipal Money data for all 257 municipalities and return the nine-indicator financial health scorecard, audit opinions with report links, and monthly creditor ageing.
The server runs locally via npm over stdio and queries National Treasury directly. Several tools are free and need no account; a Pro licence key unlocks trend analysis, supplier payment risk bands, and multi-municipality comparisons.
It suits suppliers and contractors judging whether a municipality pays on time, lenders and analysts reviewing municipal credit, and researchers or journalists working with public audit data.
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 share of the last audited budget spent
- customer_debt
- Money owed to the municipality, its age and the collection rate
- health_trend
- The nine indicators over up to seven years with improving or worsening flags
- supplier_payment_risk
- Money owed to suppliers, Eskom and water boards by age with a low, moderate or high risk band
- compare_municipalities
- Ranks up to 20 municipalities or a whole province or category
- samuni_statusName suggests: reads
- Shows the user's tier
What it does
- Treasury scorecard calculation
- Computes nine financial health indicators for an audited year and rates each as good, average or bad.
- Supplier payment ageing
- Shows how long debts to suppliers, Eskom and water boards have been outstanding in monthly returns.
- Audit outcome history
- Lists Auditor-General opinions by year for a municipality with links to the audit reports.
- Customer debt and collection
- Reports money owed to a municipality, its age and the collection rate.
- Municipality comparison
- Ranks up to 20 municipalities, or a whole province or category, on financial indicators.
Good for
- Checking whether a municipality is likely to pay a supplier or contractor on time before bidding
- Reviewing audit outcomes across several years for a municipality
- Comparing financial health of municipalities in a province or metro group
- Researching municipal infrastructure budgets and how much was spent
- Assessing municipal credit risk for lending or investment analysis
Pricing
Freemium, from $15 a month
Free tools; Pro from $15/mo or $149/yr
SA Municipal Finance MCP FAQ
Which data does SA Municipal Finance MCP use?
It reads National Treasury's Municipal Money data, using audited figures from the mSCOA data from 2019/20 onwards.
Do I need a licence to use SA Municipal Finance MCP?
Several tools are free and need no account. Pro unlocks health trends, supplier payment risk, comparisons and full breakdowns.
What 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 not cover?
Treasury returns show how old a debt is but not why, so disputes, court orders, payment plans and claims are not visible to the tool.
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, Cerebro 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.