Koskamo

4D Results MCP MCP server

An official MCP server providing free, keyless access to 4D lottery results and draw history for operators in Malaysia, Singapore, and Cambodia. It allows AI assistants to retrieve the latest draws, search by date or number, and view upcoming schedules without requiring user authentication.

Endpoint and access

No sign-in: your client connects and lists tools immediately, with no account or key.

No sign-inEndpoint checked 2026-10-05Operated by 4DLIVETODAY
MCP endpoint (Streamable HTTP)
https://4dlivetoday.com/mcp
Vendor documentation

What you can do with it

  • Retrieve the newest draw results for all operators
  • Look up draw history for a specific date
  • Find all past wins for a specific 4-digit number
  • Check upcoming draw schedules and times
Tools advertised by the last live check:
  • get_latest_results
  • get_results_by_date
  • get_operator_results
  • lookup_number
  • get_other_game_results
  • get_draw_schedule

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers a Streamable HTTP server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http 4d-results-mcp https://4dlivetoday.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add 4d-results-mcp --url https://4dlivetoday.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable 4d-results-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "4d-results-mcp": {
      "url": "https://4dlivetoday.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure). The type must be streamableHttp for a remote HTTP server.
Cline configuration
{
  "mcpServers": {
    "4d-results-mcp": {
      "type": "streamableHttp",
      "url": "https://4dlivetoday.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start 4d-results-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "4d-results-mcp": {
      "type": "http",
      "url": "https://4dlivetoday.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http 4d-results-mcp https://4dlivetoday.com/mcp

Claude Desktop

Merge this into claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop.
Claude Desktop configuration
{
  "mcpServers": {
    "4d-results-mcp": {
      "url": "https://4dlivetoday.com/mcp"
    }
  }
}

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "4d-results-mcp": {
      "serverUrl": "https://4dlivetoday.com/mcp"
    }
  }
}

Do you run 4D Results MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing