Mirai Insights Data

Documentation

Last updated 1 December 2026

Mirai Insights Data gives AI assistants and developers clean, cited South African public-sector data: municipal finances and audit outcomes from National Treasury's Municipal Money, government tenders and contract awards from eTenders, and interest and exchange rates from the South African Reserve Bank. Every result carries an attribution block with the source, a link and the retrieval date.

Connection details

WhatValue
MCP server (Streamable HTTP)https://mcp.mirai-insights.com/mcp
AuthenticationNone for the open tier. API access: header X-API-Key: <key> or Authorization: Bearer <key>
REST basehttps://mcp.mirai-insights.com/v1
Get a keySelf-serve sign-up: key issued instantly with R50 starter credit, or POST /v1/signup
Statusmcp.mirai-insights.com/health

To add it to Claude, ChatGPT, Cursor or VS Code, follow the steps on Get started or see Support.

Open-tier tools (no sign-in)

ToolWhat it does
muni_findFind a municipality by name or demarcation code (e.g. "Cape Town", "CPT", "WC023").
muni_audit_outcomesAuditor-General audit opinions for a municipality, newest first, with report links.
muni_uifw_expenditureUnauthorised, irregular, fruitless and wasteful expenditure for the latest financial year.
muni_financial_positionBalance sheet headline (cash, assets, liabilities, net assets) and current ratio.
muni_data_coverageWhich financial years and months National Treasury has published so far.
tenders_searchSearch eTenders by keyword, buyer and release date over windows of up to 7 days.
tenders_closing_soonOpen tenders closing in the next N days, soonest first.
tenders_get_releaseOne tender or contracting process by its OCDS id, contact details removed.
sarb_key_ratesRepo, prime, JIBAR, ZARONIA, T-bill, R2030 yield, CPI and USD/ZAR with as-of dates.
sarb_market_ratesAll current SARB market rates, optionally by section.
sarb_exchange_ratesLatest SARB daily rand exchange rates.
briefs_listMirai's published data release briefs, newest first.
brief_getThe full text of one release brief.

API-access tools (API key and prepaid ZAR wallet)

These are available over REST and over MCP with an API key. They aren't part of the ChatGPT and Claude directory listings.

ToolWhat it doesPer call
awards_searchContract awards by buyer, supplier and value across recent processes.R2.00
sarb_series_historyHistory of a SARB series (repo, prime, JIBAR, CPI, USD/ZAR or a SARB code).R1.00
sarb_rate_changesEvery change in a rate since a date, with basis-point moves.R1.00
joined_municipality_profileOne-call municipal profile across audit, expenditure, balance sheet, tenders and prime.R5.00
snapshot_historyStored versions of a source dataset, including values the publisher has since overwritten.R1.00

Wider queries on open-tier tools (a tender window over 7 days, or more than one year of municipal expenditure) are charged at R1.00. Failed upstream calls are refunded automatically. Deeds and property data is available to verified businesses only, by arrangement. Get an API key instantly on the Get started page.

Self-serve API (no human approval)

CallWhat it does
POST /v1/signupJSON {"email", "purpose", "accept_terms": true, "promo_code"?}. Returns the API key once, with R50 starter credit. One key per email address; sign-ups per network are rate-limited; disposable email domains are refused.
GET /v1/billing/balanceWallet balance in rand (header X-API-Key).
GET /v1/billing/statementLedger of credits, charges and refunds.
POST /v1/billing/topupJSON {"amount_zar": 100} (R50 to R20,000). Returns signed PayFast checkout fields; post them to the returned action URL.
GET /v1/billing/topup/{ref}Status of one top-up and the balance after it.
POST /v1/billing/redeemJSON {"code": "..."}: adds a promo code's credit to your wallet.
curl -X POST https://mcp.mirai-insights.com/v1/signup -H "Content-Type: application/json" \
  -d '{"email":"you@company.co.za","purpose":"tender alerts","accept_terms":true}'

Usage licence: results may be used to answer questions, including by AI agents, but not to train, fine-tune or evaluate AI models or to build training datasets. Text and data mining rights are reserved (EU DSM Art. 4(3)); every response carries TDM-Reservation: 1 and a meta.usage_licence notice. See the terms.

An invalid or revoked key never blocks open-tier tools: those calls are served anonymously. Priced tools need a valid key with credit.

Example prompts

REST examples

curl https://api.mirai-insights.com/v1/tools
curl "https://api.mirai-insights.com/v1/tools/muni_audit_outcomes?municipality=Cape%20Town"
curl -X POST https://api.mirai-insights.com/v1/tools/tenders_closing_soon \
     -H "content-type: application/json" -d '{"days": 5, "query": "solar"}'
curl -X POST https://api.mirai-insights.com/v1/tools/sarb_rate_changes \
     -H "X-API-Key: $MIRAI_KEY" -H "content-type: application/json" -d '{"series": "repo", "since": "2024-01-01"}'

Every response has the shape {"tool", "data", "meta", "attribution", "billing"}. Errors return a JSON {"error": "..."} with an HTTP status: 400 bad input, 401 key needed, 402 insufficient credit, 429 limit reached, 502 source unavailable.

Sources and licences

Not endorsed by the publishers. Not financial advice. See the terms of use and privacy policy.