ai-caipiao-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
AI 彩票数据分析与工具(500.dog 开源数据集 · MCP · Agent Skill)
只做历史开奖数据的描述性统计与组合数学计算,不做号码推荐,不售彩票。
🌐 在线门户落地页(含小程序码) · 🚀 完整版工具站(500.dog) · 🤖 AI 智能助手 · 📊 直接下载 CSV 数据集 · 🔌 接入 MCP Server
为什么值得 Star 本项目?
拿来即用的干净数据集(每日自动同步):提供双色球、大乐透、福彩 3D、排列三、排列五、快乐 8 最近 150 期最新期优先的
CSV与JSON文件,适合 Python / Pandas 数据分析、图表练习或概率研究。原生零依赖 MCP Server:不需要
pip install任何依赖包,1 条命令接入 Cursor、Claude Desktop、Cherry Studio、Antigravity、OpenClaw,让大模型直接查询最新开奖、计算复式/追加注数、生成旋转矩阵。硬核组合数学 CLI 工具:开源贪心集合覆盖旋转矩阵(中6保5 / 中6保4 / 中5保4)与多条件缩水过滤,与
www.500.dog在线可视化版本同源。标准 Agent Skill:
skills/lottery-analysis/SKILL.md遵循 Agent Skills 开放标准,支持一阶马尔可夫状态转移、三态比例偏离度、冷热遗漏与摆动动量。
Related MCP server: 3dcaipiao-mcp
📊 每日更新开奖数据集(CSV / JSON)
GitHub Actions 每天北京时间 22:35 自动抓取官方历史开奖公告,校验并同步更新最近 150 期数据(含已计算好的和值 sum、跨度 span、奇数个数 odd_count):
彩种 | CSV 直链(推荐 Pandas 读取) | 最新字段 | 主站交互走势与百期工具 |
双色球 ( |
| ||
超级大乐透 ( |
| ||
福彩 3D ( |
| ||
体彩排列三 ( |
| ||
体彩排列五 ( |
| ||
福彩快乐 8 ( |
|
汇总 JSON:data/draws.json · Pandas 一行读取示例:
import pandas as pd
df = pd.read_csv("https://raw.githubusercontent.com/ai-caipiao/ai-caipiao/main/data/ssq.csv")
print(df.head())🔌 一分钟接入 MCP Server
scripts/mcp_server.py 基于 Python 3.8+ 标准库实现完整 stdio JSON-RPC 2.0 协议,零第三方依赖。在 Cursor / Claude Desktop / Cherry Studio / Antigravity 的 MCP 配置中加入:
{
"mcpServers": {
"ai-caipiao": {
"command": "python3",
"args": ["/你的路径/ai-caipiao/scripts/mcp_server.py"]
}
}
}内置 4 个 MCP 工具:
get_latest_draws:查询六大彩种最新期号、号码、和值、跨度、奇偶analyze_lottery_history:计算近 30/100 期三态比例偏离、冷热遗漏榜、一阶马尔可夫转移概率、摆动动量calculate_bet_count:计算双色球、大乐透(支持 3 元/注追加)、3D/排列三和值包号注数与金额generate_rotation_matrix:数学集合覆盖生成中6保5 / 中6保4 / 中5保4 缩水矩阵并统计节省注数比例
🧮 组合数学开源命令行(旋转矩阵 · 缩水 · 统计)
git clone https://github.com/ai-caipiao/ai-caipiao.git
cd ai-caipiao
# 1. 生成双色球 10 码“中6保4”旋转矩阵(自动计算比全复式节省的注数)
python3 scripts/matrix_shrink_demo.py matrix --model ssq_6_4 --balls 2 5 9 14 18 21 24 27 30 33
# 2. 按和值范围 + 奇偶 + 连号 + 杀号执行条件缩水过滤
python3 scripts/matrix_shrink_demo.py shrink --lottery ssq --balls 1 4 7 11 15 19 22 26 29 --sum-min 80 --sum-max 115 --odd 3
# 3. 计算超级大乐透 7+3 复式并启用 3 元追加投注
python3 scripts/matrix_shrink_demo.py count --lottery dlt --main 7 --extra 3 --additional
# 4. 生成单彩种完整统计报告(和值、三态偏离、冷热遗漏、马尔可夫转移、摆动动量)
python3 skills/lottery-analysis/scripts/analyze.py --lottery ssq --fetch --out report.json
# 5. 一键从缓存或官方数据源重建中国红静态门户页面与 CSV
python3 scripts/build_landing.py --input data/draws.json需要可视化点球选号、近 100 期真实开奖命中回测、竞彩过关奖金计算或 AI 一句话配条件,请使用在线完整版:https://www.500.dog/
落地页与完整版主站能力对照
模块 | GitHub 开源仓库 & Pages 落地页 | 500.dog 完整版主站 |
数据与统计 | 每日同步 150 期 CSV/JSON + 4 大数学模型脚本 | 实时数据库 + 交互式 30/100 期连线走势 & 遗漏图表 |
AI 能力 | 标准 MCP Server + Agent Skill | 多模型 AI 助手(一句话配缩水、简报、方案体检) |
缩水与矩阵 | CLI 贪心集合覆盖与基础条件过滤 | |
福彩 / 体彩 / 竞技彩 | 复式注数计算 CLI | 双色球/大乐透追加/3D/排列三五/竞彩过关/足彩14场任九/杀号复盘 |
移动端入口 | 落地页内置「AI 走势预测」微信小程序码 | 移动端自适应门户与底部快捷栏 |
把 Agent Skill 装进你的智能体
Hermes:
hermes skills install https://raw.githubusercontent.com/ai-caipiao/ai-caipiao/main/skills/lottery-analysis/SKILL.mdOpenClaw(大龙虾):把
https://github.com/ai-caipiao/ai-caipiao/tree/main/skills/lottery-analysis发给大龙虾自动安装。WorkBuddy / Claude Code / Codex:
cp -r skills/lottery-analysis ~/.codebuddy/skills/(详细说明见 skills/README.md)。
项目结构
.
├── index.html # 中国红 + 鎏金白卡门户落地页(内联 CSS 与 SVG 图表)
├── assets/
│ ├── mp-qrcode.png # 「AI 走势预测」微信小程序二维码
│ └── preview-banner.svg # README 架构概览横幅
├── data/
│ ├── draws.json # 六大彩种最近 150 期 JSON 缓存
│ └── {ssq,dlt,fc3d,pl3,pl5,kl8}.csv # 每日同步的干净 CSV 数据集(最新期在前)
├── scripts/
│ ├── build_landing.py # 门户 HTML + CSV 自动构建脚本(Python 标准库)
│ ├── mcp_server.py # 零依赖 stdio MCP Server
│ └── matrix_shrink_demo.py # 旋转矩阵 / 缩水过滤 / 注数计算 CLI 引擎
├── .github/workflows/
│ └── update-draws.yml # GitHub Actions 每日自动同步开奖与重建
├── skills/lottery-analysis/ # Agent Skill(SKILL.md / 算法参考 / 取数与分析脚本)
└── llms.txt / llms-full.txt # AI 搜索引擎(GEO)全量索引许可与免责声明
开源协议:MIT,见 LICENSE。欢迎提 Issue、PR,若对你有帮助欢迎点一颗 ⭐ Star!
免责声明:走势图和统计结果反映历史数据,仅供参考,不能预测未来开奖结果;本站只做数据分析与数学计算工具,不做号码推荐,不售彩票。数据整理自官方开奖公告,仅供数据分析与概率统计学习交流,不构成投注建议;彩票每期开奖均为独立随机事件,请理性购彩。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only MCP server for verified slot RTP, SHA-256 receipts, EV math, and 27 casino audits.
Zero-auth Streamable HTTP MCP server for cited Web3, token risk, and on-chain deep research.
Read-only developer, date, finance, and text utilities. Authless remote MCP server by Clean.tools.
Deterministic Chinese BaZi (Four Pillars) astrology MCP server with true solar time correction.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceCloudflare Worker REST API + local MCP server for China Sports Lottery football odds, providing live odds, derived probabilities, Kelly value, and parlay calculation.26MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for analyzing China's 福彩3D lottery data with deterministic math engines, forward-testing, and safety checks. Enables data import, statistical testing, coverage optimization, risk control, and optional LLM interpretation.MIT
- AlicenseBqualityFmaintenanceWindows-local stdio MCP server for Chinese calendar and Four Pillars (BaZi) calculations, providing deterministic tools for day pillars, four pillars, calendar context, and natural calendar context.4MIT
- AlicenseAqualityBmaintenanceA local stdio server that gives MCP clients access to PrizePicks player-prop lines, goblin/demon tiers, recorded line history, a resumable change feed, graded results, hit rates, game logs and sportsbook comparisons, plus keyless demo and payout-table tools. It runs with zero dependencies on Node 18+ and adds live data tools once a prizepicksapi.com key is supplied.1589 npmMIT