Skip to content
MCP server
Registry

SA Municipal Finance MCP Server

South African municipal finances: Treasury health scores, audit outcomes, supplier payment risk.

SA Municipal Finance MCP scores 56 (Fair), with no SPDX license recorded and written in TypeScript. It installs as a local process. It declares 9 tools. Filed under Finance. GitHub shows 0 stars. Package registries report about 758 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by kramdayal-createNo licenseTypeScript0 stars
Trust score
56Fair
Trust score 56 of 100, Fair

Fair trust

56 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 56 comes from

22 + 20 + 0 + 0 + 4 + 10 = 56. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "kramdayal-create-sa-municipal-finance-mcp": {      "command": "npx",      "args": [        "-y",        "sa-municipal-finance-mcp@0.4.0"      ],      "env": {        "SAMUNI_LICENSE_KEY": "YOUR_SAMUNI_LICENSE_KEY"      }    }  }}

Environment variables

NameRequiredNotes
SAMUNI_LICENSE_KEYSecretOptionalPro licence key (optional)

Tools9Tool docs quality grade F

All capabilities

About

SA Municipal Finance MCP

Ask your AI assistant how any South African municipality is really doing: cash, debts, audit outcomes, and whether it pays its suppliers on time.

SA Municipal Finance MCP is a Model Context Protocol server for Claude Desktop, Cursor and other MCP clients. It reads National Treasury's Municipal Money data for all 257 municipalities and turns it into Treasury's own financial health scorecard, with audit reports and monthly creditor ageing.

Built for suppliers and contractors bidding for municipal work, consultants, lenders and investors, journalists, researchers and civic organisations.

  • Treasury's scorecard, calculated for you. Nine indicators (cash coverage, liquidity, debtor collection, wasteful expenditure, repairs and maintenance, budget spending and more), each rated against Treasury's benchmarks.
  • Will they pay me? Monthly creditor returns show how long suppliers, Eskom and water boards wait to be paid.
  • Audit outcomes with sources. Every Auditor-General opinion by year, linked to the audit report.
  • No account needed for the free tools. Data is read live from National Treasury.

Tools

ToolTierWhat it does
find_municipalityFreeFind municipalities by name, province or type and get their codes
municipality_profileFreeContact details and Auditor-General opinions by year, with report links
financial_healthFreeTreasury's nine indicators for one audited year, rated good / average / bad
infrastructure_spendingFree headline, Pro breakdownIs there money for the work? Latest capital budget and how much of the last audited budget was spent. Pro adds the split by asset type and the infrastructure grants
customer_debtFree headline, Pro breakdownDo its customers pay it? What is owed to the municipality, how old it is, and the collection rate. Pro adds who owes it and what for
health_trendProThe nine indicators over up to seven years, with improving/worsening flags
supplier_payment_riskProMoney owed to suppliers, Eskom and water boards by age, recent trend and a low/moderate/high risk band, with irregular expenditure as context and a plain list of what the check cannot see
compare_municipalitiesProRank up to 20 municipalities, or a whole province or category (e.g. all metros)
samuni_statusFreeShows your tier

Install

Requires Node.js 18.17 or newer.

Claude Desktop

Open Settings → Developer → Edit Config and add:

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

Restart Claude Desktop.

Cursor and other MCP clients

Use the same command, args and env in your client's MCP configuration (for Cursor: .cursor/mcp.json).

Example questions

  • "How healthy are Stellenbosch's finances? Use the Treasury scorecard."
  • "I've been invited to tender for Emfuleni. How long does it take to pay its suppliers?"
  • "Compare the cash coverage and collection rates of all eight metros."
  • "Show Drakenstein's audit outcomes for the last five years with links to the reports."
  • "Rank the local municipalities in the Western Cape by financial health."
  • "How much has Polokwane budgeted for water and sanitation infrastructure, and did it spend last year's budget?"
  • "Who owes Mangaung the most: households, businesses or government?"

Pro

Pro unlocks health_trend, supplier_payment_risk and compare_municipalities, and the full breakdowns in infrastructure_spending and customer_debt.

$149 a year or $15 a month (R2,499 / R249). Founding offer: code MUNIFOUNDING takes 50% off your first year, for the first 20 customers.

  1. Buy Pro at buy.polar.sh. Your licence key appears on the confirmation page and in your Polar customer portal.
  2. Paste it as the value of SAMUNI_LICENSE_KEY in your MCP client config.
  3. Restart the client and ask it to run samuni_status to confirm.

The key is checked with Polar, our payment provider, about once every six hours. Only the key is sent, never your questions.

How the indicators are calculated

Formulas, line items and rating bands follow National Treasury's Municipal Money scorecard (MFMA Circular 71), using audited figures from the mSCOA data (2019/20 onwards). Where a municipality reported no adjusted budget, the original budget is used and the output says so. Missing figures are shown as "no data", never as zero.

The supplier payment risk band is Root 7's own heuristic, not a Treasury rating. It looks at the share of trade-creditor and bulk electricity and water debt older than 30 and 90 days in the latest monthly return. The MFMA (section 65(2)(e)) requires municipalities to pay within 30 days.

Good to know

  • Data quality. Figures are as submitted by municipalities and may be incomplete or revised. Monthly creditor returns are unaudited and usually a few months behind.
  • What the payment risk check cannot see. Treasury's returns show how old a debt is, not why. They do not show disputes or arbitration, court orders, payment plans or Eskom debt relief, claims against the municipality, or unsolicited bids. The tool says so with every answer, and shows audited irregular expenditure as context without letting it change the band.
  • Not advice. Outputs are informational and are not financial, credit, legal or investment advice.
  • Source and attribution. Data: National Treasury, Municipal Money (municipaldata.treasury.gov.za), used under its terms of use. Indicator methodology: OpenUp / Code for South Africa (MIT). This product is not affiliated with or endorsed by National Treasury.
  • Privacy. The server runs on your machine and queries National Treasury directly. It does not use the personal details of municipal officials.

Support

Questions or bugs: open an issue or email hello@root7.co.za.

SA Municipal Finance MCP is built by Root 7 (Pty) Ltd, South Africa.

Frequently asked questions

What is SA Municipal Finance MCP Server?

South African municipal finances: Treasury health scores, audit outcomes, supplier payment risk.

How do I install SA Municipal Finance MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. SA Municipal Finance MCP Server runs locally from the npm package sa-municipal-finance-mcp with the command npx -y sa-municipal-finance-mcp@0.4.0.

Does SA Municipal Finance MCP Server support remote (HTTP) connections?

No remote endpoint is listed for SA Municipal Finance MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does SA Municipal Finance MCP Server provide?

SA Municipal Finance MCP Server provides 9 tools, including compare_municipalities, customer_debt, financial_health, and find_municipality. See the full tool list for descriptions and parameters.

How is SA Municipal Finance MCP Server's trust score calculated?

SA Municipal Finance MCP Server scores 56 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server