Sports Rules MCP
An MCP server that provides access to the Sports Rules engine, allowing agents to determine offside calls in soccer (IFAB Law 11) and hockey (NHL Rule 83) based on player positions and involvement. It exposes a pure function via Streamable HTTP without authentication, supporting both JSON API and MCP protocols for rule verification.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://sports-rules.gumballtools.com/api/mcpWhat its tools do
2 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (2)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to gumballtools.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
About Sports Rules MCP
The Sports Rules MCP server connects to the Sports Rules engine to evaluate offside positions in soccer and hockey. It exposes two tools, `offside` and `offside_rule_contrast`, which allow agents to determine offside status based on player positions and involvement. The server supports both JSON API and MCP protocols for rule verification.
This server is suitable for tasks requiring machine-readable verdicts on offside calls. Agents can use it to check offside positions in hockey under NHL Rule 83 or determine offside status in soccer using IFAB Law 11. It also helps verify whether a specific offside position constitutes an offence.
Connection to the server requires no sign-in. However, individual tools may still need a vendor account, credentials, or permissions. Users must check the documented prerequisites for each specific tool before execution.
What you can do with it
- Determine offside status in soccer using IFAB Law 11
- Check offside position in hockey using NHL Rule 83
- Verify if an offside position constitutes an offence
- Get machine-readable rule verdicts via JSON API
Source and maintenance
- Repository status
- Unavailable (HTTP 404)
- Maintenance checked
Protocol and capabilities
- Server
- sports-rules 0.1.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 2 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Tools
2 advertised
offside — Work an offside call through IFAB Law 11 or NHL Rule 83
Work an offside call through the published decision procedure — association football under IFAB Law 11, or ice hockey under NHL Rule 83 — and return every step, not just the verdict. Use this for any "was that offside" question in either sport. The two rules are structurally OPPOSITE and are routinely conflated, and there are four specific things that get answered wrong: SOCCER: 1. HANDS AND ARMS DO NOT COUNT, for anyone including goalkeepers. Only parts that could legally score are measured, and the boundary is the bottom of the armpit. This tool REFUSES to compute from an arm position rather than guessing where the shoulder was. 2. AN OFFSIDE POSITION IS NOT AN OFFENCE. It becomes one only with involvement in active play. Do not report "he was offside" when the answer is that he was in an offside position and uninvolved. `involvement` is REQUIRED once the geometry makes it decisive — the tool errors rather than assuming, so ask the user what the player actually did, and pass "none" if the answer is nothing. 3. No offside offence direct from a throw-in, goal kick, or corner. Absolute. 4. A DELIBERATE play by an opponent resets it; a deflection or a save does NOT. This is the distinction most arguments turn on. HOCKEY: 5. SKATES decide it. Not the stick, not the body. 6. Since 2021 a skate in the AIR above the blue line is still onside — the line is a plane, and ice contact is irrelevant. BUT this does not apply to tagging up on a delayed offside, where the skate must contact the line. Do not generalise the 2021 change to tag-ups. Input for soccer: positions along the attacking axis in metres, larger being nearer the opponents’ goal line — `attacker`, `ball`, `secondLastDefender`. Any consistent scale works; only the order matters. Optionally `restart`, `foremostPart`, `inOwnHalf`, `involvement`, `lastTouch`. Input for hockey: `rearSkate` in centimetres relative to the LEADING EDGE of the blue line, negative being the neutral-zone side. Optionally `skateOnIce`, `situation` (zone-entry or tag-up), and `stick`. Returns: a verdict of offside, onside, or no-offside-offence — three outcomes, not two, because "in an offside position but no offence" is a real and common answer — plus every step with the decisive one flagged, warnings, and a disclaimer. THIS IS NOT AN OFFICIAL RULING. Relay the steps, not just the verdict: in a real call the procedure is the easy half and the inputs are the argument. Do not quote IFAB or NHL rule text; it is copyrighted and this tool does not reproduce it.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"sport"
],
"properties": {
"ball": {
"type": "number",
"description": "SOCCER. Position of the ball, same scale."
},
"sport": {
"enum": [
"soccer",
"hockey"
],
"type": "string",
"description": "Which rule book. The two are structurally opposite — do not mix them up."
},
"stick": {
"type": "number",
"description": "HOCKEY. Ignored, and reported as ignored. Skates decide it."
},
"restart": {
"enum": [
"open-play",
"throw-in",
"goal-kick",
"corner-kick",
"free-kick",
"kick-off",
"drop-ball"
],
"type": "string",
"description": "SOCCER. There is NO offside offence direct from a throw-in, goal kick, or corner. Always ask which restart it was before answering."
},
"attacker": {
"type": "number",
"description": "SOCCER. Position of the attacker along the attacking axis, larger being nearer the opponents’ goal line. Any consistent scale; only the order matters."
},
"inOwnHalf": {
"type": "boolean",
"description": "SOCCER. A player in their own half cannot be in an offside position."
},
"lastTouch": {
"enum": [
"team-mate",
"opponent-deliberate-play",
"opponent-deflection",
"opponent-save",
"rebound-off-post-or-crossbar"
],
"type": "string",
"description": "SOCCER. A DELIBERATE play by an opponent resets offside. A deflection, a save, or a rebound off the frame does NOT."
},
"rearSkate": {
"type": "number",
"description": "HOCKEY. The trailing skate in centimetres relative to the LEADING EDGE of the blue line — the edge nearer the attacking zone. Negative is the neutral-zone side; positive means it has broken the plane."
},
"situation": {
"enum": [
"zone-entry",
"tag-up"
],
"type": "string",
"description": "HOCKEY. zone-entry (default), or tag-up for clearing a delayed offside. The same skate position can give opposite answers."
},
"skateOnIce": {
"type": "boolean",
"description": "HOCKEY. Since 2021 this does NOT affect a zone entry — a skate above the plane is onside. It is decisive when tagging up, where the skate must contact the line."
},
"involvement": {
"enum": [
"none",
"interfering-with-play",
"interfering-with-opponent",
"gaining-advantage"
],
"type": "string",
"description": "SOCCER. REQUIRED once the player is in an offside position — the call errors without it rather than assuming. An offside POSITION is not an offence; this is what turns it into one, and \"none\" is a common and correct answer meaning play continues."
},
"foremostPart": {
"enum": [
"head",
"shoulder",
"torso",
"hip",
"thigh",
"knee",
"shin",
"foot",
"arm",
"upper-arm",
"forearm",
"elbow",
"hand",
"fingertip"
],
"type": "string",
"description": "SOCCER. Which part the attacker position describes. Passing an arm or hand is REFUSED with an explanation: only parts that could legally score count, and the boundary is the bottom of the armpit."
},
"secondLastDefender": {
"type": "number",
"description": "SOCCER. Position of the SECOND-last opponent, same scale. Usually the last outfield defender, since the goalkeeper is normally the last."
},
"deliberatePlayCriteriaMet": {
"type": "array",
"items": {
"enum": [
"clear-view",
"not-quick",
"expected-direction",
"coordinated",
"on-the-ground"
],
"type": "string"
},
"description": "SOCCER. Which of IFAB’s five deliberate-play criteria are met. Reported, not scored — there is no pass mark."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}offside_rule_contrast — How soccer offside and hockey offside differ
Return the structural differences between soccer offside and hockey offside, dimension by dimension. Use this when someone asks how the two compare, or when you are about to reason about one sport using an intuition from the other — which is the commonest way to get either wrong. They differ on what part of the player is measured, when the picture freezes, whether position alone is an offence, what happens at exactly level, what resets the situation, and which restarts are exempt. Takes no arguments. Returns the comparison table.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}{
"readOnlyHint": true,
"openWorldHint": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1269 ms
- 95th percentile latency
- 1531 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1560 ms · 2 tool(s)
- · probe · passed · 978 ms · metadata changed · 2 tool(s)
- · repository · passed · unavailable
- · repository · passed · metadata changed · unavailable
- · repository · failed · Repository maintenance failed
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http sports-rules-mcp https://sports-rules.gumballtools.com/api/mcpCodex
codex mcp add sports-rules-mcp --url https://sports-rules.gumballtools.com/api/mcpCursor
{
"mcpServers": {
"sports-rules-mcp": {
"url": "https://sports-rules.gumballtools.com/api/mcp"
}
}
}Cline
{
"mcpServers": {
"sports-rules-mcp": {
"type": "streamableHttp",
"url": "https://sports-rules.gumballtools.com/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"sports-rules-mcp": {
"type": "http",
"url": "https://sports-rules.gumballtools.com/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http sports-rules-mcp https://sports-rules.gumballtools.com/api/mcpClaude Desktop
https://sports-rules.gumballtools.com/api/mcpWindsurf
{
"mcpServers": {
"sports-rules-mcp": {
"serverUrl": "https://sports-rules.gumballtools.com/api/mcp"
}
}
}Let your agent find its tools
Find servers like Sports Rules MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Frequently asked questions
- Can this server determine offside calls in soccer?
- Yes. The `offside` tool allows agents to determine offside status in soccer based on IFAB Law 11, considering player positions and involvement.
- Does connecting require an account?
- No sign-in is required to connect and list tools. However, individual tools may still need a vendor account, credentials, or permissions. Check the documented prerequisites for each tool.
- What hockey rule does this server support?
- The server supports NHL Rule 83. Agents can use the `offside` tool to check offside positions in hockey based on player positions and involvement.
- Can I get machine-readable rule verdicts?
- Yes. The server exposes a pure function via Streamable HTTP, supporting both JSON API and MCP protocols for rule verification and machine-readable outputs.
Do you run Sports Rules MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.