mcpField
R
ResultsZA

ResultsZA

本地服务
resultsza.co.za其他1今天更新

关于 ResultsZA

ResultsZA 是供 AI 助手查询彩票结果、号码统计和南非赛马信息的 MCP 服务。其只读工具使用调用方自己的 ResultsZA API 密钥。

主要功能

  1. 01查询所列国家的彩票结果
  2. 02批量核对最多 500 组号码
  3. 03查看彩票号码统计
  4. 04查询南非赛马日程与赛卡
  5. 05生成随机号码或文本号码
  6. 06查看 API 计划用量

适用场景

  1. 01查询近期彩票开奖
  2. 02核对号码是否中奖
  3. 03查看冷热号码统计
  4. 04查找赛马日程和赛事详情

MCP 相关

该服务向 MCP 客户端提供只读 ResultsZA 工具,包括彩票查询、号码核对、统计和赛马数据。使用时需要 ResultsZA API 密钥。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

mcp.json · 通用配置
{
"mcpServers": {
"za-co-resultsza": {
"command": "npx",
"args": [
"-y",
"resultsza-mcp"
],
"env": {
"RESULTSZA_API_KEY": "<RESULTSZA_API_KEY>"
}
}
}
}
启动命令npx -y resultsza-mcp
需要配置的环境变量
RESULTSZA_API_KEY密钥Your ResultsZA API key (create an account at https://resultsza.co.za/signup)

本地服务需要在你的电脑上安装运行环境(如 Node.js 18+)。各客户端的配置文件位置不同,请参考客户端文档。

安装包
npmresultsza-mcp0.1.1

工具

还没有获取到工具列表

本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。

README 原文English

来自项目 README

README 暂无中文译文,以下为英文原文;中文介绍见上方。

ResultsZA MCP server

The official ResultsZA MCP server. It lets AI assistants such as Claude Desktop, Cursor and VS Code look up South African lottery results, check numbers, read number statistics and get South African horse racing results, using your own ResultsZA API key.

Ask your assistant things like:

  • "What were last night's Powerball numbers?"
  • "Did 5 20 21 36 1 13 win anything in Lotto on Saturday?"
  • "Show me the hot and cold numbers for Daily Lotto."
  • "Which race meetings were on at Greyville this week?"

More details: resultsza.co.za/mcp

What you need

Set it up

Claude Desktop

Add this to claude_desktop_config.json (Settings, Developer, Edit Config), then restart Claude Desktop:

{
  "mcpServers": {
    "resultsza": {
      "command": "npx",
      "args": ["-y", "resultsza-mcp"],
      "env": { "RESULTSZA_API_KEY": "YOUR_API_KEY" }
    }
  }
}
Cursor

Add the same block to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):

{
  "mcpServers": {
    "resultsza": {
      "command": "npx",
      "args": ["-y", "resultsza-mcp"],
      "env": { "RESULTSZA_API_KEY": "YOUR_API_KEY" }
    }
  }
}
VS Code

Add this to .vscode/mcp.json. VS Code asks for the key on first start and stores it securely:

{
  "inputs": [
    {
      "type": "promptString",
      "id": "resultsza-api-key",
      "description": "ResultsZA API key",
      "password": true
    }
  ],
  "servers": {
    "resultsza": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "resultsza-mcp"],
      "env": { "RESULTSZA_API_KEY": "${input:resultsza-api-key}" }
    }
  }
}

Tools

All tools are read-only.

ToolWhat it doesCost
get_lottery_resultsResults for South African games (with prize divisions and jackpot), UK 49's, EuroMillions, Irish Lotto, US Powerball, Mega Millions, Kenya, Nigeria, Ghana and Gosloto1 call
check_lottery_numbersCheck up to 10 lines against a South African draw1 call
bulk_check_lottery_numbersCheck up to 500 lines1 call per line
get_horse_racing_meetingsSouth African race meetings in a date range (up to 7 days)1 call
get_horse_racing_cardAll races at a meeting with the top three and tote dividends1 call
get_horse_raceThe full runner table for one race1 call
generate_lottery_numbersRandom lines for a game1 call
lucky_numbers_from_textNumbers from a name or phrase1 call
get_number_statisticsHot and cold numbers, frequencies or common pairs1 call
check_balanceYour plan, calls used and calls leftFree

Calls come from your ResultsZA plan, exactly as if you called the API yourself. Badly formed requests (for example a date that is not YYYY-MM-DD, or an unknown game) are rejected before they use a call. A valid request that finds nothing, such as an unknown racecourse, still uses one.

Privacy and security

  • Your API key stays on your machine. It is only ever sent to https://resultsza.co.za; the address cannot be changed and redirects are refused.
  • The MCP server never writes your key to its logs or returns it in any tool result.
  • ResultsZA never sees your conversations with your assistant.
  • The server cannot run commands or read or write files on your computer.

Links

ResultsZA is an independent service and is not affiliated with the South African National Lottery or any lottery or racing operator.

License

MIT

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。