MLB Predictor — Today + Next 2 Days
Simple Massey-style team ratings from recent results (last ~45 days), a configurable home-field bump, and projections converted to runs around a team-informed expected total. Purely for fun—no injuries/rosters/news.
Matchup | First pitch (your local time) | Projected runs | Home win % |
---|---|---|---|
Loading… |
Data source, CORS & debug
Primary data: MLB Stats API (schedule, status, and scores). If your browser blocks cross-origin requests, set
USE_PROXY=true
below and point PROXY
at a tiny Cloudflare Worker that simply fetches and returns JSON.
// Cloudflare Worker
export default { async fetch(req){const u=new URL(req.url);
const target=u.searchParams.get("u"); const r=await fetch(target,{headers:{'user-agent':'Mozilla/5.0'}});
return new Response(await r.text(),{headers:{'content-type':'application/json','access-control-allow-origin':'*'}});
}};