Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Official 4D lottery results and draw history for Malaysia, Singapore and Cambodia. Results only.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://4dlivetoday.com/mcp在终端中运行这条命令
claude mcp add --transport http 4dlivetoday https://4dlivetoday.com/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"4dlivetoday": {
"url": "https://4dlivetoday.com/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"4dlivetoday": {
"type": "http",
"url": "https://4dlivetoday.com/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://4dlivetoday.com/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 oddsflowai-team 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.0.0)于38天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, LexPact UK Contracts
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Official 4D lottery results for Malaysia, Singapore and Cambodia, as a free JSON API and a remote MCP server that AI assistants (Claude, ChatGPT, Cursor and others) can query directly.
https://4dlivetoday.com/mcp (Streamable HTTP, no sign-in)https://4dlivetoday.com/api/v1/ (JSON, no key)On draw nights, results are read from each operator's own official website and cross-checked against independent results sites where one exists. Older draws come from results archives (Magnum's official archive back to 1985, the others mainly the check4d.org archive); see data sources for each operator's coverage. This service publishes results and draw history only. It does not sell tickets or accept bets, and it offers no number recommendations, "hot" numbers or forecasts.
| Operator id | Name | Region |
|---|---|---|
magnum | Magnum 4D | Malaysia |
damacai | Da Ma Cai 1+3D | Malaysia |
toto | Sports Toto 4D | Malaysia |
sabah88 | Sabah 88 4D | East Malaysia |
stc | Sandakan STC 4D | East Malaysia |
cashsweep | Sarawak Cash Sweep | East Malaysia |
sg | Singapore 4D (Singapore Pools) | Singapore |
gd | Grand Dragon 4D (GD Lotto) | Cambodia |
perdana | Perdana 4D (evening; the afternoon draw appears as perdana3pm) | Cambodia |
9lotto | 9 Lotto 4D | Cambodia |
Every 4D draw has 23 numbers: 1st, 2nd and 3rd prize, 10 special (starter) and 10 consolation.
Other official games (game ids):
| Game id | Name |
|---|---|
magnum_life | Magnum Life (8 numbers + 2 bonus) |
magnum_jackpot, magnum_gold | Magnum 4D Jackpot / Jackpot Gold amounts |
damacai_3p3d | Da Ma Cai 3+3D (6-digit 1st–3rd, starter, consolation) |
damacai_jackpot | Da Ma Cai 1+3D Jackpot and 3D Jackpot amounts |
toto_5d, toto_6d | Toto 5D, Toto 6D |
toto_star, toto_power, toto_supreme | Star Toto 6/50, Power Toto 6/55, Supreme Toto 6/58 |
toto_jackpot | Sports Toto 4D Jackpot amounts |
sg_toto | Singapore Toto (6 numbers + additional number, Group 1 prize) |
History: 4D results go back decades (Magnum from 1985). Magnum and Da Ma Cai other games cover the last 12 months and grow daily; Sports Toto games and Singapore Toto are kept from late September 2026 onward.
Draw days and times: see https://4dlivetoday.com/en/schedule (or the get_draw_schedule tool).
The server speaks Streamable HTTP at:
https://4dlivetoday.com/mcp
No API key and no OAuth.
Settings → Connectors → Add custom connector → paste https://4dlivetoday.com/mcp.
claude_desktop_config.json:
{
"mcpServers": { "4dlivetoday": { "command": "npx", "args": ["-y", "mcp-remote", "https://4dlivetoday.com/mcp"] } } }
claude mcp add --transport http 4dlivetoday https://4dlivetoday.com/mcp
~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": { "4dlivetoday": { "url": "https://4dlivetoday.com/mcp" } } }
.vscode/mcp.json:
{
"servers": { "4dlivetoday": { "type": "http", "url": "https://4dlivetoday.com/mcp" } } }
Ask your assistant things like:
Ready-made config files are in examples/mcp.
| Tool | Input | What it returns |
|---|---|---|
get_latest_results | — | The newest draw for every operator |
get_results_by_date | date (YYYY-MM-DD, Malaysia time) | Every operator's draw on that date |
get_operator_results | operator, limit (1–30, default 10) | That operator's most recent draws |
lookup_number | number (4 digits, e.g. "0650") | Every draw in which the number won, with prize tier, newest first, plus a total count |
get_other_game_results | game, limit (1–30, default 10) | Recent results of one of the other games listed above |
get_draw_schedule | — | Upcoming draw dates (regular and special) and which operators draw |
Every tool result includes a short text summary plus the full structured data, and each result carries a url to the matching page on 4dlivetoday.com so the assistant can link to it.
Base URL: https://4dlivetoday.com/api/v1
| Method & path | Description |
|---|---|
GET /api/v1 | Index: endpoints and envelope fields |
GET /api/v1/latest | Newest draw for every operator |
GET /api/v1/results/{date} | All operators on a date (YYYY-MM-DD, Malaysia time) |
GET /api/v1/operators/{operator}?limit=10 | Recent draws of one operator (limit 1–30) |
GET /api/v1/numbers/{number} | Every winning appearance of a 4-digit number |
GET /api/v1/games/{game}?limit=10 | Recent results of another official game |
GET /api/v1/schedule | Upcoming draw dates |
GET /api/v1/openapi.json | OpenAPI 3.1 description |
curl https://4dlivetoday.com/api/v1/latest
curl https://4dlivetoday.com/api/v1/results/2026-09-27 curl "https://4dlivetoday.com/api/v1/operators/magnum?limit=5" curl https://4dlivetoday.com/api/v1/numbers/1063 curl "https://4dlivetoday.com/api/v1/games/sg_toto?limit=3" curl https://4dlivetoday.com/api/v1/schedule
More in examples/: curl, Python, Node.js.
CORS is open (Access-Control-Allow-Origin: *), so you can call it from a browser.
Every successful response has the same envelope (url is the matching human-readable page on 4dlivetoday.com):
{
"data": { "results": [ ] }, "source": "4dlivetoday.com", "license": "CC BY 4.0", "license_url": "https://creativecommons.org/licenses/by/4.0/", "attribution": "Results from 4dlivetoday.com (https://4dlivetoday.com), compiled from each operator's official site.", "url": "https://4dlivetoday.com/en/results/2026-09-27", "generated_at": "2026-09-30T12:00:00.000Z" }
What data holds per endpoint:
| Endpoint | data |
|---|---|
/latest | { results: [draw, …] } — newest draw of each operator |
/results/{date} | { date, results: [draw, …] } (empty results plus a note on a day with no draws) |
/operators/{operator} | { operator, operator_name, results: [draw, …] } |
/numbers/{number} | { number, count, results: [{ operator, operator_name, date, draw_no, tier, url }, …] } — tier is 1st, 2nd, 3rd, special or consolation |
/games/{game} | { game, game_name, operator, results: [game result, …] } |
/schedule | { schedule: [{ date, kind, operators: [{ id, name }, …] }, …] } — kind is regular or special |
A 4D draw (real, trimmed):
{
"operator": "magnum", "operator_name": "Magnum 4D", "date": "2026-09-27", "draw_no": "428/26", "first": "1063", "second": "2421", "third": "5815", "special": ["6814", "7902", "… 10 numbers"], "consolation": ["1091", "8204", "… 10 numbers"], "status": "checked", "url": "https://4dlivetoday.com/en/results/2026-09-27" }
Numbers are always strings, so leading zeros are kept ("0650", never 650).
status tells you how far a result has been verified:
| status | Meaning |
|---|---|
checked | Official result confirmed by an independent second source |
verifying | Published, second-source check still running (usually minutes after the draw) |
single_source | Only one official source exists for this operator |
history | Imported from the archive |
A game result (real, trimmed):
{
"game": "sg_toto", "game_name": "Singapore Toto", "operator": "sg", "date": "2026-09-28", "draw_no": "4221", "numbers": ["14", "22", "25", "27", "34", "37"], "bonus": ["18"], "jackpots": { "Group 1 prize": "S$ 1,298,326" }, "url": "https://4dlivetoday.com/en/sg-toto" }
Money amounts are strings exactly as the operator published them, with currency ("RM 12,749,753.62", "S$ 1,298,326"). draw_no can be empty for operators that don't publish a readable draw number.
{ "error": { "code": "invalid_date", "message": "date must be a real calendar date in YYYY-MM-DD format" } }
| HTTP | code | When |
|---|---|---|
| 400 | invalid_date, invalid_operator, invalid_number, invalid_game, invalid_limit | Bad input |
| 429 | — | Too many MCP requests from one address; wait for Retry-After |
| 503 | upstream_unavailable | Results store temporarily unreachable; retry shortly |
A date with no draws (for example a regular Monday for the weekly operators) is not an error: it returns 200 with an empty list.
In MCP, the same problems come back as a tool result with isError: true and the same message.
The data is licensed CC BY 4.0. If you show or republish it, credit:
Results from 4dlivetoday.com, compiled from each operator's official site.
A link back is appreciated and is how this stays free.
status becomes checked.status: history, or checked where a second source confirmed the same numbers (for example every Magnum draw back to 1985). How far each operator goes back, and how many older draws a second source has confirmed, is listed on the data sources page.4dlivetoday is an independent results site. It is not affiliated with any operator named above; operator names are used only to identify their results. For readers aged 21 and over, where the law allows.