Skip to content
MCP server

4D Results (Malaysia, Singapore, Cambodia)

Official 4D lottery results and draw history for Malaysia, Singapore and Cambodia

Install
Pricing
Free
Platforms
API
Runs
Remotely
Version
1.0.0
Listing updated
3 days ago

About 4D Results (Malaysia, Singapore, Cambodia)

4D Results (Malaysia, Singapore, Cambodia) is a free MCP server for analytics and data. It runs as a hosted remote server, so there is nothing to install locally.

This is a results-only data service. It publishes draw results and history and says it does not sell tickets, accept bets or offer number recommendations, hot numbers or forecasts. Both the REST API and the MCP server are keyless and free, and the data is licensed CC BY 4.0, so it can be reused commercially with attribution.

On draw nights, results are read from each operator's own official site and cross-checked against independent results sites where one exists. Older draws come from archives, with Magnum's going back to 1985. Covered operators include Magnum 4D, Da Ma Cai, Sports Toto, Sabah 88, Sandakan STC, Sarawak Cash Sweep, Singapore 4D, Grand Dragon, Perdana and 9 Lotto. Each 4D draw has 23 numbers: three prizes, ten special and ten consolation.

Other official games such as Magnum Life, Toto 5D and 6D, and Singapore Toto are also available, and responses are cached at the edge for about 60 seconds.

Install

Run in a terminal

claude mcp add --transport http 4dlivetoday https://4dlivetoday.com/mcp

Add to Settings → Connectors → Add custom connector

https://4dlivetoday.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "4dlivetoday": {
      "url": "https://4dlivetoday.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "4dlivetoday": {
      "type": "http",
      "url": "https://4dlivetoday.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "4dlivetoday": {
      "serverUrl": "https://4dlivetoday.com/mcp"
    }
  }
}

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://4dlivetoday.com/mcp

Enter a Name (for example "4D Results (Malaysia, Singapore, Cambodia)"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "4dlivetoday": {
      "type": "http",
      "url": "https://4dlivetoday.com/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (6)

Taken from the project documentation; the running server may differ.

get_latest_results
Returns the newest draw for every operator.
get_results_by_date
Returns every operator's draw on a date.
get_operator_results
Returns one operator's most recent draws.
lookup_number
Looks up draws that a given number has won.
get_other_game_results
Returns recent results of another official game.
get_draw_schedule
Lists upcoming draw dates.

What it does

Latest draws
Returns the newest draw for every operator.
Date lookup
Returns every operator's draw on a given date.
Number lookup
Finds every draw a 4-digit number has won, with prize tier.
Other games
Gives recent results for other official operator games.
Draw schedule
Lists upcoming regular and special draw dates.
Open licence
Data is CC BY 4.0 and served with source and licence fields.

Good for

  • Check last night's 4D results for an operator
  • Look up the history of a given number
  • Find the next draw date for an operator
  • Build a results page that cites an open-licensed source

Pricing

Free

Free and keyless, CC BY 4.0

Prices change. Check 4dlivetoday.com before you buy.

4D Results (Malaysia, Singapore, Cambodia) FAQ

Does it take bets?

No, the site says it publishes results and draw history only and does not sell tickets or accept bets.

Do I need an API key?

No, the API and MCP server are free and keyless.

What licence applies?

CC BY 4.0, including commercial reuse with attribution.

How far back does the history go?

Magnum's 4D archive goes back to 1985; other games cover shorter periods.

Is 4D Results (Malaysia, Singapore, Cambodia) free?

Yes. 4D Results (Malaysia, Singapore, Cambodia) is free to use.

How do I add 4D Results (Malaysia, Singapore, Cambodia) to Claude Code?

Run this command in your terminal: claude mcp add --transport http 4dlivetoday https://4dlivetoday.com/mcp

Where this comes from

  • Description: written from the project's README and the project's website.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers