Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Sgdata MCP

by sypherinversion 0.5.2i★ 0iRuns on your computer
Registry nameio.github.sypherin/sgdata-mcp

How to install

What it does

Singapore government data for AI agents: ACRA, HDB, COE, URA, SingStat, MAS, IRAS. 87 tools.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Law & government data

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Sgdata MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "sgdata": { "command": "npx", "args": [ "-y", "@altronis/sgdata-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Sgdata MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "sgdata": {
          "command": "npx",
          "args": [
            "-y",
            "@altronis/sgdata-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Sgdata MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Sgdata MCP or shows a Sgdata MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Sgdata MCP yet

Sgdata MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Sgdata MCP

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Law & government data that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Sgdata MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user sgdata -- npx -y @altronis/sgdata-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Sgdata MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user sgdata -- npx -y @altronis/sgdata-mcp
  4. Type /mcp in Claude Code

    You should see Sgdata MCP listed as connected

  5. Try it

    Use Sgdata MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Sgdata MCP or shows a Sgdata MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Sgdata MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "sgdata": { "command": "npx", "args": [ "-y", "@altronis/sgdata-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Sgdata MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Sgdata MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Sgdata MCP or shows a Sgdata MCP tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Sgdata MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "sgdata": { "type": "stdio", "command": "npx", "args": [ "-y", "@altronis/sgdata-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Sgdata MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Sgdata MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Sgdata MCP or shows a Sgdata MCP tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Sgdata MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user sgdata -- npx -y @altronis/sgdata-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "sgdata": {
      "command": "npx",
      "args": [
        "-y",
        "@altronis/sgdata-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "sgdata": {
      "command": "npx",
      "args": [
        "-y",
        "@altronis/sgdata-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "sgdata": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@altronis/sgdata-mcp"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
116/wk
Connection
Runs on your computer
Latest versioni
0.5.2
Published to registryi
Jul 19, 2026
Code last changedi
Nov 9, 2026
Maker
sypherin
Packages
npm: @altronis/sgdata-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 15, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account sypherin, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 6 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Law & government datai

  • More stars than 0% of the other 1862 servers in this category
  • Published to the registry more recently than 17% of the other 1862 servers in this category
  • Basic checks equal to or better than 100% of the other 1862 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Sgdata MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 6 days ago, and the latest version (0.5.2) reached the registry 4 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Global law

The law of nearly every country on earth, any date: read it, see what changed it, check citations.

by lexifinaWidely used★ 2KUpdated 5 days ago

Runs in the cloud✓ lexifina.com

Open Legal Data (Germany)

German court decisions (Rechtsprechung) and laws (Gesetze) with citation graph and citation checks.

by openlegaldataGrowing★ 161Updated 4 days ago

Runs in the cloud✓ service owner · openlegaldata.io

LibreJustice

Search French-language and European case law and French legal texts (codes, statutes, treaties).

by librejusticeEarly★ 35Updated 2 months ago

Runs in the cloud✓ service owner · librejustice.fr

InfraNode

Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.

by street1983nkEarly★ 17Updated 4 months ago

Runs in the cloud✓ service owner · infranode.dev

Fedlex Connector

Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.

by JayTheSkierEarly★ 8Updated 7 months ago

Runs in the cloud✓ service owner · fedlex-connector.ch
  • Global law — Runs in the cloud, nothing to install · No key needed
  • Open Legal Data (Germany) — Runs in the cloud, nothing to install · No key needed
  • LibreJustice — Runs in the cloud, nothing to install · No key needed
  • InfraNode — Runs in the cloud, nothing to install · No key needed
  • Fedlex Connector — Runs in the cloud, nothing to install · No key needed

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

@altronis/sgdata-mcp

A Singapore government data MCP server. 87 tools — 24 curated datasets + 7 SingStat tables + 6 live real-time feeds, CLI mode, data visualization, cross-dataset queries, natural language queries.

Covering ACRA + HDB + URA + COE + CPI + GDP + employment + IRAS + MAS FX + MOE + ECDA + tourism + retail + population + crime + health + energy + hawkers + air quality + weather + carparks + live dengue.

No API keys. Runs anywhere MCP runs. Full write-up: https://altronis.sg/blog/sgdata-mcp

@altronis/sgdata-mcp is an MCP server that lets Claude, Cursor, Continue, or any other MCP-compatible client query Singapore government open data directly from data.gov.sg — corporate registry, real estate, labour, prices, public services, capital flows, crime, health, demographics, energy, and more.

It runs as a local stdio process on your machine. No hosted backend, no API keys. Small curated datasets cache locally at ~/.sgdata-mcp/sgdata.sqlite; large datasets (ACRA, HDB resale) and real-time feeds query data.gov.sg server-side so they never download a whole dataset onto your disk.

v0.5.5: two helper tools for small-context clients. sg_tool_catalog lists the tools (filter by keyword to get their input schemas) and sg_dispatch calls any of them by name, so a client can expose just these two instead of all 87 schemas. Dispatched calls are checked against the target tool's schema, the same as a direct call.

v0.5.0: 13 new tools + a smaller footprint. Real-time feeds — sg_psi (air quality), sg_weather_forecast, sg_air_temperature, sg_rainfall, sg_carpark_availability, and sg_dengue_clusters (live NEA clusters — current dengue, vs the frozen weekly-bulletin feed). SingStat tables — sg_household_income, sg_wages, sg_deaths, sg_marriages, sg_divorces, sg_trade, sg_labour_force. `sg_search_datasets` now actually searches (data.gov.sg's q param is a no-op upstream, so it filters a cached catalog locally). ACRA + HDB-resale tools query server-side (datastore_search) instead of ingesting the full 56 MB / 23 MB datasets — no more multi-GB local cache. FX tools fixed (upstream metadata endpoint 404s; they now read live data via datastore_search).

⚠️ `sg_acra_formations_by_ssic` is a heavy tool. ACRA's SSIC+year filter

can't be pushed server-side, so it crawls 27 shards with rate-limit backoff —

expect ~1–3 minutes, and for older years the count is a lower bound

(bounded: true). For fast formation counts by SSIC use the SingStat

sg_formations_history / sg_formations_compare / sg_formations_monthly

tools instead.

v0.4.1: sg_dataset_query no longer hangs on very large datasets (size-gated server-side paging via datastore_search + a 60s ingest guard); sg_fx_rate / sg_fx_history now accept ISO currency codes (USD, GBP, JPY, EUR, …); sg_tourism_latest now emits data_freshness (its upstream stops at 2014); and the _history tools return an available label list on a no-match so callers can self-correct.

v0.4.0 highlights: data_freshness metadata block emitted on every _latest tool — last_period, last_record_date, age_days, and a categorical level of fresh / ok / stale / frozen so agents can detect when an upstream data.gov.sg feed has gone silent. Fixes silent stale-data on sg_disease_latest (MOH stopped publishing the Weekly Infectious Disease Bulletin via data.gov.sg around epi week 2022-W52).

v0.3.2: Monthly business formations + cessations + net growth tools via SingStat Table Builder. Track month-by-month company creation vs closure for any SSIC industry. 74 tools total.

v0.3.1: Annual formation counts by industry via SingStat Table Builder.

v0.3.0: 8 new datasets, CLI mode, ASCII sparkline visualization, cross-dataset correlation queries, natural language query routing.

Data freshness

@altronis/sgdata-mcp is only as fresh as data.gov.sg. Some datasets are updated weekly (COE bidding, CPI), some monthly (unemployment, CPI sub-items), some quarterly (URA private property), and some have effectively stopped updating. Starting in v0.4.0 every _latest tool returns a data_freshness block so you can detect drift programmatically:

{

"datasetId": "d_ca168b2cb763640d72c4600a68f9909e", "epi_week": "2022-W52", "cases": [...], "data_freshness": { "last_period": "2022-W52", "last_record_date": "2023-01-01", "age_days": 1234, "level": "frozen", "warning": "Upstream dataset appears frozen — latest record is 2022-W52..." } }

Known frozen datasets (as of v0.4.1):

ToolUpstream datasetLast updateRecommended action
sg_disease_latest, sg_disease_trend, sg_disease_listMOH Weekly Infectious Disease Bulletin2022-W52Cross-check moh.gov.sg weekly bulletin PDFs. PRs welcome to swap in a live source.
sg_tourism_latest, sg_tourism_historySTB Annual Tourism Receipts2014Cross-check stb.gov.sg / SingStat for newer receipts. PRs welcome.

If you find another upstream feed has gone silent, please open an issue — we'll add it to this table and surface the warning in the tool description.


What you can ask Claude

Drop this server into Claude Desktop and you immediately unlock questions like:

  • *"Find all AI/ML companies (SSIC 62019) incorporated in Singapore in 2025."*
  • *"What's the median resale price of 4-room HDB flats in Punggol over the last 6 months?"*
  • *"What is the latest COE Category A premium, and how has it trended over 12 months?"*
  • *"How many dengue cases were reported this week?"*
  • *"What's Singapore's unemployment rate? Show me the trend."*
  • *"Compare GDP growth vs crime rates over the last 5 years."*
  • *"How many scam cases were recorded in 2024?"*
  • *"What is Singapore's population and how fast is it growing?"*
  • *"How much electricity did Singapore generate last month?"*
  • *"Are birth rates declining? Show me the last 12 months."*
  • *"What were Singapore's tourism receipts by component?"*
  • *"Find hawker centres near Tampines."*
  • *"Which CPI categories are running hottest vs headline inflation?"*
  • *"Look up DBS Bank by UEN 196800306E."*

Your model picks the right tool, fills in the filters, and returns structured rows. You never write a URL.


Quick start

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "sg-data": { "command": "npx", "args": ["-y", "@altronis/sgdata-mcp"] } } }

Restart Claude Desktop. The 74 sg_* tools appear in the MCP tools menu.

Cursor

Add to ~/.cursor/mcp.json:

{

"mcpServers": { "sg-data": { "command": "npx", "args": ["-y", "@altronis/sgdata-mcp"] } } }

Claude Code
claude mcp add sg-data -- npx -y @altronis/sgdata-mcp
CLI mode (new in v0.3.0)

Query Singapore data directly from the terminal — no MCP client needed:

# Natural language query

npx @altronis/sgdata-mcp query "What is Singapore's unemployment rate?" npx @altronis/sgdata-mcp query "How many dengue cases this week?" npx @altronis/sgdata-mcp query "Latest COE prices"

Call a specific tool

npx @altronis/sgdata-mcp tool sg_crime_compare '{"year":"2024"}' npx @altronis/sgdata-mcp tool sg_hawker_search '{"query":"bedok"}'

List available tools and datasets

npx @altronis/sgdata-mcp list npx @altronis/sgdata-mcp datasets

Standalone (kick the tyres)
# Run the MCP server directly

npx -y @altronis/sgdata-mcp

Smoke-test via stdio

printf '%s\n' \ '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"0"}}}' \ '{"jsonrpc":"2.0","method":"notifications/initialized"}' \ '{"jsonrpc":"2.0","id":2,"method":"tools/list"}' \ | npx -y @altronis/sgdata-mcp


What's in the box

Datasets (24)
#DatasetAgencyTools
1ACRA Corporate Entities (~2M+)ACRA3
2HDB Resale Flat Prices (2017+)HDB2
3COE Bidding ResultsLTA3
4MOE SchoolsMOE3
5HDB Carpark InformationHDB3
6GDP YoY Growth (quarterly)SingStat3
7Consumer Price Index (monthly)SingStat3
8MOM Median Gross Monthly IncomeMOM2
9Employment by Sector (annual)SingStat3
10URA Private Residential TransactionsURA3
11International Visitor ArrivalsSTB3
12Retail Sales Index (monthly)SingStat3
13MAS Exchange Rates (monthly avg)MAS3
14IRAS Tax Collection (annual)IRAS3
15ECDA Childcare & Kindergarten CentresECDA3
16Unemployment Rate (quarterly)MOM2
17Population Indicators (annual)SingStat2
18Infectious Disease Cases (weekly)MOH3
19Electricity Generation (monthly)EMA2
20Live-Births by Sex/Ethnicity (monthly)SingStat2
21Crime Cases Recorded (annual)SPF3
22Tourism Receipts (annual)STB2
23Government Hawker CentresNEA2
24Business Entity Formations & CessationsACRA/DOS6

Plus 3 generic fallback tools, 1 visualization tool, 2 cross-dataset tools, and 1 natural language query tool: 74 tools. The 6 real-time feeds and 7 SingStat tables from v0.5.0 bring it to 87 data tools, plus the 2 helpers from v0.5.5.


New in v0.3.0
Data visualization — sg_visualize

Generate ASCII sparkline charts and summary statistics from any time series. Returns sparklines, min/max/mean/latest, period-over-period change, and chart-ready JSON for frontend rendering.

SG Unemployment Rate (SA): ▁█████▄▄████

Latest: 2 % | Change: +0 (+0%) | Range: 1.8–2 | Mean: 1.97

Cross-dataset queries — sg_cross_dataset

Compare any two datasets side-by-side over time. Automatically aligns different time granularities (monthly, quarterly, annual):

{

"dataset_a": "cpi_monthly", "dataset_b": "retail_sales", "limit": 5 }

Returns aligned rows with both values for correlation analysis.

Natural language queries — sg_ask

Ask questions in plain English — the tool routes to the right dataset automatically:

"What is Singapore's unemployment rate?" → sg_unemployment_latest

"How many dengue cases?" → sg_disease_latest "COE prices" → sg_coe_latest "Crime statistics" → sg_crime_latest

CLI mode — no MCP client needed

Query data directly from your terminal:

sgdata-cli query "Singapore population growth"

sgdata-cli tool sg_crime_compare '{"year":"2024"}' sgdata-cli datasets


Tools (87 + 2 helpers)

The tables below list 74 of them; the 13 added in v0.5.0 are listed at the top.

Meta tools
ToolDescription
sg_tool_catalogList the tools with descriptions; filter by keyword to get their input schemas
sg_dispatchCall any tool by name with a JSON args object, checked against that tool's schema
sg_askNatural language query — ask any question about Singapore data in plain English
sg_visualizeASCII sparkline + summary stats + chart-ready JSON from any numeric series
sg_cross_datasetCompare two datasets over time with automatic period alignment

| sg_list_datasets | List all 24 curat

Only the beginning is shown; read the rest in the repo