What 4D Results (Malaysia, Singapore, Cambodia) MCP server does
4D Results (Malaysia, Singapore, Cambodia) MCP server exposes official lottery results and draw history for operators in Malaysia, Singapore, and Cambodia. Covered operators include Magnum, Da Ma Cai, Sports Toto, Sabah 88, Sandakan STC, Sarawak Cash Sweep, Singapore Pools, Grand Dragon, Perdana, and 9 Lotto.
Each standard 4D draw contains first, second, and third prizes plus special and consolation numbers. The service also covers listed games such as Magnum Life, Magnum Jackpot, Da Ma Cai 3+3D, Toto 5D, Toto 6D, several Toto jackpot and number games, and Singapore Toto.
Results are published as structured data with operator, date, draw number, prize values, verification status, and a link to the corresponding page. Four-digit values remain strings, preserving leading zeroes.
How it works
The remote MCP endpoint is available at https://4dlivetoday.com/mcp over Streamable HTTP. Requests do not require OAuth, an API key, or an account. On draw nights, data is read from operators’ official websites and cross-checked against independent sources where available. Older records come from archival sources, including Magnum’s official archive and other listed archives.
The 4D Results (Malaysia, Singapore, Cambodia) MCP server returns both a short text explanation and structured data for each tool call. Responses include a source, CC BY 4.0 licensing information, attribution, generation time, and a human-readable result URL.
Setup and configuration
Add the endpoint as a remote MCP server in a compatible client. Claude Desktop can connect through mcp-remote, while Claude Code, Cursor, and VS Code have documented HTTP configurations. Claude’s custom connector can use the same URL directly. Ready-made configuration files are available in the project’s examples directory.
No environment variables are required. Developers who do not need MCP can call the companion REST API at https://4dlivetoday.com/api/v1/; its endpoints provide the same broad data categories as the MCP tools. The API uses JSON, has open CORS, and does not require a key.
Tools and capabilities
get_latest_results: returns the newest draw for every operator.
get_results_by_date: retrieves all operator draws for a date in YYYY-MM-DD format, using Malaysia time.
get_operator_results: returns an operator’s recent draws, with a limit from 1 to 30.
lookup_number: finds every draw where a four-digit number won, including prize tier, newest first, and a total count.
get_other_game_results: retrieves recent results for one supported non-standard 4D game, with a limit from 1 to 30.
get_draw_schedule: lists upcoming regular and special draw dates and participating operators.
Limitations and notes
The 4D Results (Malaysia, Singapore, Cambodia) MCP server publishes results and history only. It does not sell tickets, accept bets, generate forecasts, recommend numbers, or provide “hot” number analysis. Newly published results may have a verifying status while a second-source check is pending; other statuses identify checked, single-source, or archived history records.
Coverage and history depth vary by operator and game. Magnum 4D history extends back to 1985, while some other games begin only from later periods. Draw schedules and result availability should be interpreted using the service’s published Malaysia-time dates. Users must provide attribution under CC BY 4.0 when reusing the data.