# 4D Results (Malaysia, Singapore, Cambodia)

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

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API
- **Website:** https://4dlivetoday.com/en/developers
- **Repository:** https://github.com/oddsflowai-team/4dlivetoday-mcp
- **MCP Registry name:** io.github.oddsflowai-team/4dlivetoday
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-16

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://4dlivetoday.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "4dlivetoday": {
      "url": "https://4dlivetoday.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
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.

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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.

---
Source: https://ai-powered.com/mcp/4d-results-malaysia-singapore-cambodia
